Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007037/0.007036, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001596/0.001596, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2004/0.2004, allocations: 16.77 MB / 307.3 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.88 kB / 425.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1112, allocations: 53.48 MB / 479.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002891/0.1142, allocations: 1.855 MB / 481.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1178, allocations: 1.959 MB / 483.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.1184, allocations: 9.781 kB / 483.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.1191, allocations: 121.1 kB / 483.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.1196, allocations: 115.7 kB / 483.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1217, allocations: 0.9151 MB / 484.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.1235, allocations: 1.431 MB / 485.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.1238, allocations: 135.4 kB / 485.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.1246, allocations: 0.5321 MB / 486.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.1252, allocations: 314.3 kB / 486.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.1254, allocations: 76.06 kB / 486.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1264, allocations: 0.5188 MB / 487.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1266, allocations: 137.9 kB / 487.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.127, allocations: 346.4 kB / 487.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1283, allocations: 1.075 MB / 488.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1284, allocations: 0 / 488.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1284, allocations: 0 / 488.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.1284, allocations: 0 / 488.9 MB, free: 3.715 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001815/0.1302, allocations: 1.241 MB / 490.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1303, allocations: 15.89 kB / 490.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.1304, allocations: 118.6 kB / 490.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.1308, allocations: 92.17 kB / 490.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.1313, allocations: 414.6 kB / 490.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.1314, allocations: 78.67 kB / 490.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.1315, allocations: 67.98 kB / 490.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1329, allocations: 1.148 MB / 492 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1329, allocations: 0 / 492 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.133, allocations: 31.98 kB / 492.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.157e-05/0.1331, allocations: 56.95 kB / 492.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.1343, allocations: 0.7572 MB / 492.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.1386, allocations: 3.029 MB / 495.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.1403, allocations: 1.294 MB / 497.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.1417, allocations: 1.194 MB / 498.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.1418, allocations: 81.11 kB / 498.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.1431, allocations: 0.8326 MB / 499.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.166e-06/0.1431, allocations: 0 / 499.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.003663/0.1468, allocations: 2.261 MB / 0.4898 GB, free: 6.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004642/0.1473, allocations: 0.6156 MB / 0.4904 GB, free: 5.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.1478, allocations: 387.9 kB / 0.4908 GB, free: 5.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.1479, allocations: 69.69 kB / 0.4908 GB, free: 5.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1482, allocations: 244.6 kB / 0.4911 GB, free: 5.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1484, allocations: 197.6 kB / 0.4913 GB, free: 4.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.1487, allocations: 214.5 kB / 0.4915 GB, free: 4.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1489, allocations: 370.8 kB / 0.4918 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.1495, allocations: 318.1 kB / 0.4921 GB, free: 3.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.1503, allocations: 0.6903 MB / 0.4928 GB, free: 3.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.153, allocations: 2.131 MB / 0.4949 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.1531, allocations: 4 kB / 0.4949 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002471/0.1556, allocations: 1.554 MB / 0.4964 GB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002433/0.1558, allocations: 339.7 kB / 0.4967 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.1559, allocations: 12 kB / 0.4967 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.469e-05/0.1559, allocations: 27.92 kB / 0.4968 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.1563, allocations: 111.7 kB / 0.4969 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.873e-05/0.1564, allocations: 23.92 kB / 0.4969 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.157, allocations: 107.3 kB / 0.497 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.1571, allocations: 56 kB / 0.4971 GB, free: 14.28 MB / 382.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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.001174/0.1583, allocations: 0.7415 MB / 0.4978 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.1585, allocations: 75.38 kB / 0.4979 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.1615, allocations: 1.714 MB / 0.4995 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.1615, allocations: 11.98 kB / 0.4995 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1615, allocations: 4 kB / 0.4995 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1615, allocations: 0 / 0.4995 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.1659, allocations: 2.664 MB / 0.5021 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1659, allocations: 0 / 0.5021 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1661, allocations: 23.92 kB / 0.5022 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1661, allocations: 4 kB / 0.5022 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/0.1662, allocations: 43.97 kB / 0.5022 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1662, allocations: 0 / 0.5022 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1662, allocations: 0 / 0.5022 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.1692, allocations: 2.149 MB / 0.5043 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1693, allocations: 128.4 kB / 0.5044 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.1695, allocations: 71.97 kB / 0.5045 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.1699, allocations: 55.97 kB / 0.5046 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.1701, allocations: 87.84 kB / 0.5046 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.1702, allocations: 39.98 kB / 0.5047 GB, free: 6.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1704, allocations: 231 kB / 0.5049 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1704, allocations: 0 / 0.5049 GB, free: 5.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.1715, allocations: 323.7 kB / 0.5052 GB, free: 5.629 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: 68 ($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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.003826/0.1753, allocations: 2.943 MB / 0.5081 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.1776, allocations: 1.835 MB / 0.5099 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1776, allocations: 0 / 0.5099 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.18, allocations: 2.816 MB / 0.5126 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.1806, allocations: 101.8 kB / 0.5127 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.1907, allocations: 7.183 MB / 0.5197 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.1913, allocations: 0.9036 MB / 0.5206 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.1917, allocations: 136.7 kB / 0.5207 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.192, allocations: 179.4 kB / 0.5209 GB, free: 4.746 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.192, allocations: 0 / 0.5209 GB, free: 4.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.2371, allocations: 16.35 MB / 0.5369 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/8.797, allocations: 14.48 kB / 0.5369 GB, free: 4.398 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingPrioIn[1],P1.enablingProbIn[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T2.active,T2.arcWeightOut[1],T2.event[1],T2.event[2],T2.event[3],T2.fire,T2.firingCon,T2.nIn,T2.nOut,T2.outPlaces[1].active,T2.outPlaces[1].arcWeight,T2.outPlaces[1].arcWeightint,T2.outPlaces[1].decreasingFactor,T2.outPlaces[1].disPlace,T2.outPlaces[1].disTransition,T2.outPlaces[1].emptied,T2.outPlaces[1].enable,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].fire,T2.outPlaces[1].instSpeed,T2.outPlaces[1].maxSpeed,T2.outPlaces[1].maxTokens,T2.outPlaces[1].maxTokensint,T2.outPlaces[1].prelimSpeed,T2.outPlaces[1].speedSum,T2.outPlaces[1].t,T2.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time