Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 107 kB / 16.37 MB, free: 6.477 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.001597/0.001597, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07856/0.07856, allocations: 16.73 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 61.58 kB / 373 MB, free: 48.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 53.48 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.00337/0.1115, allocations: 1.85 MB / 428.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.1147, allocations: 1.917 MB / 430.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.1151, allocations: 11.94 kB / 430.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1155, allocations: 103.1 kB / 430.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.116, allocations: 107.1 kB / 430.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1177, allocations: 0.9044 MB / 431.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1191, allocations: 1.42 MB / 432.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1193, allocations: 143.7 kB / 433 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.1199, allocations: 0.5298 MB / 433.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.1204, allocations: 310.4 kB / 433.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1205, allocations: 72 kB / 433.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.1212, allocations: 0.4916 MB / 434.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.1213, allocations: 131.5 kB / 434.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1216, allocations: 334.4 kB / 434.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1227, allocations: 1.029 MB / 435.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1227, allocations: 0 / 435.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1227, allocations: 3.938 kB / 435.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.1227, allocations: 8 kB / 435.9 MB, free: 2.379 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001475/0.1242, allocations: 1.205 MB / 437.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1243, allocations: 15.89 kB / 437.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.1246, allocations: 92.16 kB / 437.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.1251, allocations: 395.1 kB / 437.6 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.1252, allocations: 82.62 kB / 437.6 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.1253, allocations: 67.98 kB / 437.7 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.1269, allocations: 1.101 MB / 438.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1269, allocations: 7.938 kB / 438.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.127, allocations: 31.98 kB / 438.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.647e-05/0.1271, allocations: 40.97 kB / 438.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1283, allocations: 0.7415 MB / 439.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.1318, allocations: 2.998 MB / 442.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.1332, allocations: 1.38 MB / 444 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.1345, allocations: 1.244 MB / 445.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.2e-05/0.1346, allocations: 85.09 kB / 445.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.1357, allocations: 0.7902 MB / 446.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 2.504e-06/0.1357, allocations: 0 / 446.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.003184/0.1389, allocations: 2.201 MB / 448.3 MB, free: 5.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002956/0.1392, allocations: 0.5152 MB / 448.8 MB, free: 4.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.1396, allocations: 372 kB / 449.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.1397, allocations: 65.69 kB / 449.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1398, allocations: 232.8 kB / 449.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.1401, allocations: 193.7 kB / 449.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.1403, allocations: 194.6 kB / 449.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1405, allocations: 370.8 kB / 450.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.141, allocations: 306.1 kB / 450.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.1417, allocations: 0.64 MB / 451.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.144, allocations: 2.035 MB / 453.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.1441, allocations: 7.984 kB / 453.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002057/0.1461, allocations: 1.456 MB / 454.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1464, allocations: 317 kB / 455 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.1464, allocations: 12 kB / 455 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.1464, allocations: 12 kB / 455 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1468, allocations: 111.7 kB / 455.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.1468, allocations: 23.86 kB / 455.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.1472, allocations: 103.5 kB / 455.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.1473, allocations: 52 kB / 455.3 MB, free: 13.73 MB / 334.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" 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 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: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * 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.000913/0.1483, allocations: 0.7054 MB / 456 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1484, allocations: 67.44 kB / 456.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.1512, allocations: 1.665 MB / 457.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1512, allocations: 4 kB / 457.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1512, allocations: 7.875 kB / 457.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1512, allocations: 0 / 457.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.1549, allocations: 2.592 MB / 460.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1549, allocations: 7.984 kB / 460.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.1551, allocations: 23.98 kB / 460.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.1551, allocations: 7.938 kB / 460.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.1552, allocations: 35.98 kB / 460.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1552, allocations: 0 / 460.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1552, allocations: 3.938 kB / 460.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.1581, allocations: 2.071 MB / 462.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1583, allocations: 128.4 kB / 462.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.1585, allocations: 67.98 kB / 462.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.1588, allocations: 55.95 kB / 462.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.1591, allocations: 83.84 kB / 462.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.834e-05/0.1592, allocations: 43.97 kB / 462.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1595, allocations: 223 kB / 463.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1595, allocations: 4 kB / 463.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001105/0.1606, allocations: 303.7 kB / 463.4 MB, free: 5.367 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.0007432/0.1613, allocations: 380.8 kB / 463.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.1635, allocations: 1.735 MB / 465.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1635, allocations: 0 / 465.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.1658, allocations: 2.797 MB / 468.3 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1664, allocations: 103.1 kB / 468.4 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.169, allocations: 1.507 MB / 469.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.1696, allocations: 0.9002 MB / 470.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.1699, allocations: 133.1 kB / 470.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.17, allocations: 43.44 kB / 470.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1701, allocations: 7.875 kB / 471 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Templates: time 0.02/0.1901, allocations: 11.03 MB / 482 MB, free: 2.43 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches