Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.008617/0.008617, allocations: 100.4 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.001816/0.001816, allocations: 187.6 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1895/0.1895, allocations: 16.76 MB / 307.3 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.75 kB / 425.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, allocations: 53.48 MB / 479.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003131/0.1163, allocations: 1.854 MB / 481.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1198, allocations: 1.917 MB / 483.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007616/0.1206, allocations: 9.281 kB / 483.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.121, allocations: 101.8 kB / 483.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.1216, allocations: 123.2 kB / 483.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.1236, allocations: 0.896 MB / 484.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.1255, allocations: 1.423 MB / 485.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.1259, allocations: 143.8 kB / 485.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1269, allocations: 0.522 MB / 486.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000671/0.1276, allocations: 310.2 kB / 486.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.1279, allocations: 71.25 kB / 486.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1289, allocations: 0.4954 MB / 487.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.1292, allocations: 128.9 kB / 487.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.1298, allocations: 338.1 kB / 487.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1312, allocations: 1.044 MB / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1312, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1312, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.1312, allocations: 0 / 488.7 MB, free: 3.891 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001788/0.133, allocations: 1.209 MB / 489.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1331, allocations: 11.89 kB / 489.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.1332, allocations: 122.5 kB / 490.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.1336, allocations: 88.17 kB / 490.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.1341, allocations: 406.8 kB / 490.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.653e-05/0.1342, allocations: 70.7 kB / 490.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.1342, allocations: 71.97 kB / 490.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1356, allocations: 1.097 MB / 491.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1356, allocations: 3.938 kB / 491.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.1357, allocations: 35.97 kB / 491.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.774e-05/0.1357, allocations: 44.97 kB / 491.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1368, allocations: 0.7259 MB / 492.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.1402, allocations: 2.978 MB / 495.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1417, allocations: 1.272 MB / 496.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.1431, allocations: 1.174 MB / 498 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.1433, allocations: 81.34 kB / 498.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.1447, allocations: 0.7516 MB / 498.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.1447, allocations: 0 / 498.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003377/0.1481, allocations: 2.106 MB / 0.4892 GB, free: 7.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003291/0.1484, allocations: 0.5403 MB / 0.4897 GB, free: 6.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.1489, allocations: 380 kB / 0.4901 GB, free: 6.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/0.149, allocations: 61.69 kB / 0.4902 GB, free: 6.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1493, allocations: 244.6 kB / 0.4904 GB, free: 5.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.1495, allocations: 185.8 kB / 0.4906 GB, free: 5.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.1499, allocations: 202.5 kB / 0.4908 GB, free: 5.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.1501, allocations: 370.8 kB / 0.4911 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.1507, allocations: 298.1 kB / 0.4914 GB, free: 4.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.1515, allocations: 0.6487 MB / 0.492 GB, free: 3.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.1539, allocations: 2.028 MB / 0.494 GB, free: 1.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.1539, allocations: 8 kB / 0.494 GB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002071/0.156, allocations: 1.452 MB / 0.4954 GB, free: 104 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.1562, allocations: 317 kB / 0.4957 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1562, allocations: 12 kB / 0.4957 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.1562, allocations: 19.94 kB / 0.4958 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.1566, allocations: 111.7 kB / 0.4959 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.1566, allocations: 28.41 kB / 0.4959 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.1571, allocations: 111 kB / 0.496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.1572, allocations: 48 kB / 0.4961 GB, free: 15.41 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 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0009194/0.1581, allocations: 0.7024 MB / 0.4967 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.1582, allocations: 67.44 kB / 0.4968 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.1606, allocations: 1.601 MB / 0.4984 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1606, allocations: 7.938 kB / 0.4984 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.1606, allocations: 4 kB / 0.4984 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1606, allocations: 0 / 0.4984 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.1641, allocations: 2.526 MB / 0.5008 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.1642, allocations: 3.938 kB / 0.5008 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1643, allocations: 27.86 kB / 0.5009 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1643, allocations: 4 kB / 0.5009 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.1644, allocations: 31.98 kB / 0.5009 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1644, allocations: 4 kB / 0.5009 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1644, allocations: 0 / 0.5009 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.1672, allocations: 2.007 MB / 0.5029 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1674, allocations: 132.3 kB / 0.503 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.1675, allocations: 63.98 kB / 0.5031 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.1679, allocations: 55.95 kB / 0.5031 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.1681, allocations: 75.92 kB / 0.5032 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.1682, allocations: 43.97 kB / 0.5032 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1685, allocations: 231 kB / 0.5034 GB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 0.5034 GB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001063/0.1696, allocations: 303.7 kB / 0.5037 GB, free: 7.246 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: 66 ($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.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 (35): * Single equations (assignments): 23 * 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.00388/0.1734, allocations: 2.816 MB / 0.5065 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.1758, allocations: 1.711 MB / 0.5082 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1758, allocations: 0 / 0.5082 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.1782, allocations: 2.715 MB / 0.5108 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.1788, allocations: 103.8 kB / 0.5109 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.1877, allocations: 6.866 MB / 0.5176 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.1882, allocations: 0.8958 MB / 0.5185 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.1885, allocations: 132.9 kB / 0.5186 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.1888, allocations: 171.4 kB / 0.5188 GB, free: 7.09 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1888, allocations: 0 / 0.5188 GB, free: 7.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.2289, allocations: 15.63 MB / 0.534 GB, free: 7.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.682, allocations: 6.203 kB / 0.534 GB, free: 7.477 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T1.active,T1.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,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.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