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: "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.007805/0.007805, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.001666/0.001666, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2172/0.2172, allocations: 16.75 MB / 307.3 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.03 kB / 425.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 53.46 MB / 479.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002907/0.1152, allocations: 1.868 MB / 481.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1188, allocations: 1.91 MB / 483.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.1193, allocations: 8.469 kB / 483.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1198, allocations: 106 kB / 483.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1201, allocations: 123 kB / 483.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1222, allocations: 0.8988 MB / 484.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.1236, allocations: 1.419 MB / 485.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.1238, allocations: 143.6 kB / 485.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.1243, allocations: 0.5299 MB / 486.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.1247, allocations: 310.1 kB / 486.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1248, allocations: 75.5 kB / 486.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.1255, allocations: 0.4958 MB / 487.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.1257, allocations: 125.2 kB / 487.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.126, allocations: 336.8 kB / 487.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.1269, allocations: 1.043 MB / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1269, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1269, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1269, 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.001253/0.1282, allocations: 1.213 MB / 489.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1283, allocations: 15.89 kB / 489.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.1284, allocations: 114.6 kB / 490 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.1287, allocations: 84.12 kB / 490.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.1291, allocations: 406.8 kB / 490.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.1292, allocations: 74.69 kB / 490.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.1293, allocations: 67.98 kB / 490.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1307, allocations: 1.101 MB / 491.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1307, allocations: 7.938 kB / 491.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.1308, allocations: 31.98 kB / 491.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.1309, allocations: 48.94 kB / 491.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.132, allocations: 0.7415 MB / 492.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.1355, allocations: 2.99 MB / 495.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.137, allocations: 1.378 MB / 497 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.1382, allocations: 1.248 MB / 498.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.1383, allocations: 85.11 kB / 498.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.1394, allocations: 0.7824 MB / 499.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.374e-06/0.1394, allocations: 0 / 499.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003336/0.1428, allocations: 2.2 MB / 0.4895 GB, free: 6.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000309/0.1431, allocations: 0.5152 MB / 0.49 GB, free: 6.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.1435, allocations: 376 kB / 0.4904 GB, free: 5.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.1436, allocations: 61.7 kB / 0.4904 GB, free: 5.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1438, allocations: 232.7 kB / 0.4907 GB, free: 5.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.144, allocations: 193.8 kB / 0.4909 GB, free: 5.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.1442, allocations: 194.6 kB / 0.491 GB, free: 5.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1444, allocations: 370.8 kB / 0.4914 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.1449, allocations: 302.1 kB / 0.4917 GB, free: 4.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.1456, allocations: 0.6323 MB / 0.4923 GB, free: 3.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.1478, allocations: 2.043 MB / 0.4943 GB, free: 1.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.1479, allocations: 4 kB / 0.4943 GB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00193/0.1498, allocations: 1.459 MB / 0.4957 GB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.15, allocations: 313 kB / 0.496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.15, allocations: 12 kB / 0.496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.1501, allocations: 15.98 kB / 0.496 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.1504, allocations: 123.6 kB / 0.4962 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.1505, allocations: 15.94 kB / 0.4962 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.1509, allocations: 107 kB / 0.4963 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.1509, allocations: 48 kB / 0.4963 GB, free: 15.13 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: 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.0008871/0.1518, allocations: 0.7075 MB / 0.497 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.152, allocations: 67.44 kB / 0.4971 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.1544, allocations: 1.661 MB / 0.4987 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.1544, allocations: 7.938 kB / 0.4987 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1544, allocations: 0 / 0.4987 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1545, allocations: 3.984 kB / 0.4987 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.158, allocations: 2.597 MB / 0.5013 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1581, allocations: 0 / 0.5013 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1582, allocations: 31.75 kB / 0.5013 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.1582, allocations: 8 kB / 0.5013 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.1583, allocations: 39.98 kB / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1583, allocations: 0 / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1583, allocations: 0 / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.1609, allocations: 2.063 MB / 0.5033 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.161, allocations: 128.4 kB / 0.5035 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.1612, allocations: 79.91 kB / 0.5035 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.1616, allocations: 51.97 kB / 0.5036 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.1618, allocations: 83.84 kB / 0.5037 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.1619, allocations: 43.97 kB / 0.5037 GB, free: 7.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1621, allocations: 223 kB / 0.5039 GB, free: 7.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1621, allocations: 0 / 0.5039 GB, free: 7.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008957/0.163, allocations: 307.7 kB / 0.5042 GB, free: 6.77 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: 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.003493/0.1665, allocations: 2.873 MB / 0.507 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.1686, allocations: 1.734 MB / 0.5087 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1686, allocations: 3.938 kB / 0.5087 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.1708, allocations: 2.801 MB / 0.5115 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.1715, allocations: 99.56 kB / 0.5115 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/0.1806, allocations: 6.952 MB / 0.5183 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.1812, allocations: 0.8996 MB / 0.5192 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.1815, allocations: 129.1 kB / 0.5193 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.1818, allocations: 179.4 kB / 0.5195 GB, free: 6.359 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1818, allocations: 0 / 0.5195 GB, free: 6.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.218, allocations: 15.66 MB / 0.5348 GB, free: 6.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.611, allocations: 15.95 kB / 0.5348 GB, free: 6.691 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > 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) "" 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