Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004938/0.004938, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1639/0.1639, allocations: 16.73 MB / 308.2 MB, free: 15.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002624, allocations: 8 kB / 373.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2146, allocations: 54.48 MB / 427.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.001387/0.216, allocations: 1.708 MB / 429.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2181, allocations: 1.764 MB / 431.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2183, allocations: 10.81 kB / 431.4 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2185, allocations: 100.3 kB / 431.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.2187, allocations: 86.11 kB / 431.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.2195, allocations: 0.5633 MB / 432.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.2201, allocations: 1.063 MB / 433.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2203, allocations: 139.3 kB / 433.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.2205, allocations: 391.3 kB / 433.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2208, allocations: 294.6 kB / 434 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.2208, allocations: 27.19 kB / 434 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.2212, allocations: 361.1 kB / 434.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2213, allocations: 136.2 kB / 434.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.2215, allocations: 320.5 kB / 434.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.2221, allocations: 0.9256 MB / 435.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2221, allocations: 0 / 435.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2221, allocations: 0 / 435.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2221, allocations: 0 / 435.7 MB, free: 36.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.000922/0.223, allocations: 1.127 MB / 436.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.2231, allocations: 9.75 kB / 436.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.2236, allocations: 132.5 kB / 437 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2239, allocations: 412.6 kB / 437.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.224, allocations: 137.4 kB / 437.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.2241, allocations: 78.86 kB / 437.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.2254, allocations: 1.118 MB / 438.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2254, allocations: 0 / 438.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.2255, allocations: 35.08 kB / 438.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/0.2255, allocations: 59.11 kB / 438.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2266, allocations: 0.7726 MB / 439.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.2289, allocations: 2.777 MB / 442.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.2299, allocations: 1.133 MB / 443.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.2306, allocations: 0.9809 MB / 444.5 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.2307, allocations: 96.62 kB / 444.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.2314, allocations: 0.7109 MB / 445.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.623e-06/0.2314, allocations: 0 / 445.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002233/0.2337, allocations: 2.034 MB / 447.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.2338, allocations: 0.5751 MB / 447.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.234, allocations: 373.8 kB / 448.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.2341, allocations: 61.33 kB / 448.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.2342, allocations: 256.5 kB / 448.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2343, allocations: 188.2 kB / 448.8 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.2344, allocations: 124.3 kB / 448.9 MB, free: 28.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.2345, allocations: 375.7 kB / 449.2 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.2349, allocations: 326.1 kB / 449.6 MB, free: 28.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.2354, allocations: 0.6642 MB / 450.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.2371, allocations: 2.123 MB / 452.4 MB, free: 25.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2371, allocations: 6.688 kB / 452.4 MB, free: 25.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00149/0.2386, allocations: 1.536 MB / 453.9 MB, free: 25.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.2387, allocations: 350.3 kB / 454.2 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2388, allocations: 16.69 kB / 454.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2388, allocations: 16.06 kB / 454.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.2391, allocations: 113.2 kB / 454.4 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.2391, allocations: 22.41 kB / 454.4 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.2394, allocations: 116.8 kB / 454.5 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.2395, allocations: 49.66 kB / 454.6 MB, free: 24.71 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.24, allocations: 0.7121 MB / 455.3 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2401, allocations: 64.53 kB / 455.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.2418, allocations: 1.507 MB / 456.8 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2418, allocations: 3.062 kB / 456.9 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2418, allocations: 0 / 456.9 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2418, allocations: 7.031 kB / 456.9 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.2443, allocations: 2.405 MB / 459.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.2443, allocations: 3.234 kB / 459.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.2444, allocations: 39.56 kB / 459.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2444, allocations: 3.531 kB / 459.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.2445, allocations: 36.56 kB / 459.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2445, allocations: 9.641 kB / 459.4 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2445, allocations: 7.922 kB / 459.4 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.2475, allocations: 2.547 MB / 461.9 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.2476, allocations: 125.6 kB / 462 MB, free: 20.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.2477, allocations: 74.58 kB / 462.1 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.2481, allocations: 56.34 kB / 462.2 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.2483, allocations: 95.23 kB / 462.3 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.2483, allocations: 42.17 kB / 462.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.2485, allocations: 219.7 kB / 462.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2485, allocations: 0 / 462.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008187/0.2494, allocations: 285 kB / 462.8 MB, free: 20.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005411/0.2499, allocations: 352.9 kB / 463.1 MB, free: 20.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.2516, allocations: 1.778 MB / 464.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2516, allocations: 1.062 kB / 464.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.253, allocations: 2.296 MB / 467.2 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.2535, allocations: 88.16 kB / 467.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.2556, allocations: 1.65 MB / 468.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2559, allocations: 0.9141 MB / 469.9 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.2561, allocations: 111.2 kB / 470 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.2562, allocations: 37.41 kB / 470 MB, free: 16.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2562, allocations: 1.438 kB / 470 MB, free: 16.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01362/0.2699, allocations: 9.875 MB / 479.9 MB, free: 13.61 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & ./PNlib_PNlib.Examples.HybTest.TDtoPCfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches