Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008752/0.008752, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.001999/0.001999, allocations: 190.1 kB / 16.68 MB, free: 5.523 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07649/0.07649, allocations: 16.72 MB / 307.2 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 426.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 53.47 MB / 479.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002855/0.1227, allocations: 1.853 MB / 481.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1258, allocations: 1.925 MB / 483.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.126, allocations: 4 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1263, allocations: 115 kB / 483.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1267, allocations: 111.1 kB / 483.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1283, allocations: 0.8966 MB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1299, allocations: 1.424 MB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.1301, allocations: 168.5 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.1307, allocations: 0.5298 MB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.1312, allocations: 346.4 kB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1313, allocations: 95.94 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.1321, allocations: 0.5072 MB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1323, allocations: 135.5 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.1327, allocations: 402.3 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1339, allocations: 1.18 MB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1339, allocations: 0 / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1339, allocations: 3.938 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.134, allocations: 4 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001608/0.1356, allocations: 1.293 MB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1356, allocations: 11.89 kB / 490.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.1359, allocations: 96.5 kB / 490.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.1365, allocations: 434.8 kB / 491.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1366, allocations: 86.98 kB / 491.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.1367, allocations: 76 kB / 491.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.1386, allocations: 1.326 MB / 492.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1386, allocations: 7.938 kB / 492.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.1387, allocations: 35.98 kB / 492.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/0.1388, allocations: 52.95 kB / 492.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.1402, allocations: 0.9093 MB / 493.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.1442, allocations: 3.334 MB / 497.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.1461, allocations: 1.574 MB / 498.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.1475, allocations: 1.459 MB / 0.4884 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1476, allocations: 93.05 kB / 0.4885 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.1492, allocations: 0.9116 MB / 0.4894 GB, free: 15.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 3.898e-06/0.1492, allocations: 0 / 0.4894 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004243/0.1535, allocations: 2.629 MB / 0.492 GB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003152/0.1538, allocations: 0.5349 MB / 0.4925 GB, free: 11.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.1543, allocations: 409.3 kB / 0.4929 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.1544, allocations: 73.69 kB / 0.493 GB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1546, allocations: 261 kB / 0.4932 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.1548, allocations: 206.5 kB / 0.4934 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.1551, allocations: 226.6 kB / 0.4936 GB, free: 10.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1553, allocations: 378.7 kB / 0.494 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.1559, allocations: 442 kB / 0.4944 GB, free: 9.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.1569, allocations: 0.8085 MB / 0.4952 GB, free: 8.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.1599, allocations: 2.539 MB / 0.4977 GB, free: 5.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.1599, allocations: 4 kB / 0.4977 GB, free: 5.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002657/0.1626, allocations: 1.829 MB / 0.4995 GB, free: 4.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.1628, allocations: 337 kB / 0.4998 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.1629, allocations: 12 kB / 0.4998 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.1629, allocations: 16.81 kB / 0.4998 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1633, allocations: 127.7 kB / 0.4999 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.1633, allocations: 19.94 kB / 0.5 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.1639, allocations: 135.2 kB / 0.5001 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.164, allocations: 56 kB / 0.5001 GB, free: 3.332 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.001167/0.1652, allocations: 0.7597 MB / 0.5009 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1654, allocations: 75.67 kB / 0.501 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.1682, allocations: 2.022 MB / 0.5029 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.1683, allocations: 4 kB / 0.5029 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1683, allocations: 4 kB / 0.5029 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1683, allocations: 3.984 kB / 0.5029 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2598/0.4281, allocations: 3.045 MB / 0.5059 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4282, allocations: 0 / 0.5059 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.4284, allocations: 31.45 kB / 0.5059 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4284, allocations: 2.531 kB / 0.5059 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.4285, allocations: 40.12 kB / 0.506 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.4285, allocations: 10.55 kB / 0.506 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4285, allocations: 4.5 kB / 0.506 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.4329, allocations: 2.378 MB / 0.5083 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.433, allocations: 126.2 kB / 0.5084 GB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.4333, allocations: 83.02 kB / 0.5085 GB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.4338, allocations: 79.33 kB / 0.5086 GB, free: 33.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007159/0.4345, allocations: 324 kB / 0.5089 GB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.4346, allocations: 48.47 kB / 0.5089 GB, free: 33.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.435, allocations: 244.8 kB / 0.5092 GB, free: 33.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.435, allocations: 1.469 kB / 0.5092 GB, free: 33.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001386/0.4364, allocations: 345.7 kB / 0.5095 GB, free: 33.15 MB / 382.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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.0008123/0.4372, allocations: 382.1 kB / 0.5099 GB, free: 33.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.4401, allocations: 2.098 MB / 0.5119 GB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4402, allocations: 4 kB / 0.5119 GB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.4429, allocations: 3.153 MB / 0.515 GB, free: 29.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.4436, allocations: 118 kB / 0.5151 GB, free: 29.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.4468, allocations: 1.637 MB / 0.5167 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4473, allocations: 0.9221 MB / 0.5176 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.4477, allocations: 143.1 kB / 0.5178 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4479, allocations: 49.59 kB / 0.5178 GB, free: 28.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4479, allocations: 0 / 0.5178 GB, free: 28.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02163/0.4695, allocations: 13.41 MB / 0.5309 GB, free: 21.71 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches