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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.004834/0.004834, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001195/0.001195, allocations: 194 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1884/0.1884, allocations: 16.76 MB / 307.3 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.83 kB / 425.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 53.48 MB / 479.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002799/0.1077, allocations: 1.858 MB / 481.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1106, allocations: 1.92 MB / 483.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1109, allocations: 5.219 kB / 483.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1112, allocations: 114 kB / 483.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1116, allocations: 114.8 kB / 483.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1132, allocations: 0.9021 MB / 484.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1144, allocations: 1.428 MB / 485.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1146, allocations: 158.2 kB / 485.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.1151, allocations: 0.5319 MB / 486.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1155, allocations: 351.2 kB / 486.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1157, allocations: 88.78 kB / 486.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/0.1164, allocations: 0.5107 MB / 487.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1166, allocations: 146.1 kB / 487.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.117, allocations: 396.8 kB / 487.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.118, allocations: 1.169 MB / 489 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1181, allocations: 0 / 489 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1181, allocations: 0 / 489 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1181, allocations: 0 / 489 MB, free: 3.574 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001449/0.1195, allocations: 1.287 MB / 490.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1196, allocations: 15.89 kB / 490.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.1198, allocations: 118.7 kB / 490.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.1201, allocations: 92.19 kB / 490.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.1205, allocations: 434.5 kB / 490.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.1206, allocations: 86.94 kB / 491 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1208, allocations: 75.98 kB / 491.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1223, allocations: 1.326 MB / 492.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1224, allocations: 7.938 kB / 492.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.555e-05/0.1225, allocations: 43.97 kB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.1226, allocations: 52.95 kB / 492.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1242, allocations: 0.9132 MB / 493.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.1281, allocations: 3.329 MB / 496.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.1299, allocations: 1.576 MB / 498.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.1313, allocations: 1.449 MB / 499.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/0.1315, allocations: 89.11 kB / 499.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.1329, allocations: 0.9194 MB / 0.4891 GB, free: 7.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.657e-06/0.1329, allocations: 0 / 0.4891 GB, free: 7.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.00418/0.1371, allocations: 2.617 MB / 0.4916 GB, free: 4.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003296/0.1374, allocations: 0.5426 MB / 0.4922 GB, free: 4.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.1379, allocations: 409.1 kB / 0.4925 GB, free: 3.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.138, allocations: 73.69 kB / 0.4926 GB, free: 3.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1381, allocations: 244.5 kB / 0.4928 GB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.1383, allocations: 197.7 kB / 0.493 GB, free: 3.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.1386, allocations: 230.5 kB / 0.4933 GB, free: 2.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1388, allocations: 374.7 kB / 0.4936 GB, free: 2.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.1395, allocations: 442 kB / 0.494 GB, free: 2.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.1405, allocations: 0.8085 MB / 0.4948 GB, free: 1.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.1434, allocations: 2.547 MB / 0.4973 GB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.1434, allocations: 0 / 0.4973 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00254/0.146, allocations: 1.825 MB / 0.4991 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.1462, allocations: 337 kB / 0.4994 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.1462, allocations: 12 kB / 0.4994 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.1463, allocations: 20.77 kB / 0.4994 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1467, allocations: 119.7 kB / 0.4996 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.1467, allocations: 31.86 kB / 0.4996 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.1472, allocations: 126.9 kB / 0.4997 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.1473, allocations: 59.92 kB / 0.4998 GB, free: 11.55 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.0009474/0.1483, allocations: 0.7515 MB / 0.5005 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.1484, allocations: 79.34 kB / 0.5006 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.1513, allocations: 2.018 MB / 0.5025 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.1513, allocations: 4 kB / 0.5026 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.1513, allocations: 8 kB / 0.5026 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.1513, allocations: 4 kB / 0.5026 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.1555, allocations: 3.042 MB / 0.5055 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1556, allocations: 0 / 0.5055 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1557, allocations: 27.92 kB / 0.5056 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1557, allocations: 0 / 0.5056 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/0.1558, allocations: 39.98 kB / 0.5056 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1559, allocations: 3.938 kB / 0.5056 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1559, allocations: 7.984 kB / 0.5056 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.159, allocations: 2.375 MB / 0.5079 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1592, allocations: 128.4 kB / 0.5081 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.1594, allocations: 75.97 kB / 0.5081 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.1599, allocations: 87.81 kB / 0.5082 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/0.1604, allocations: 323.7 kB / 0.5085 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.1605, allocations: 51.97 kB / 0.5086 GB, free: 2.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.1607, allocations: 251.1 kB / 0.5088 GB, free: 1.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1607, allocations: 0 / 0.5088 GB, free: 1.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001074/0.1618, allocations: 335.6 kB / 0.5091 GB, free: 1.66 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.004426/0.1663, allocations: 3.209 MB / 0.5123 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.169, allocations: 2.1 MB / 0.5143 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.169, allocations: 0 / 0.5143 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.1716, allocations: 3.154 MB / 0.5174 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.1723, allocations: 115.5 kB / 0.5175 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.1831, allocations: 7.948 MB / 0.5253 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1837, allocations: 0.9153 MB / 0.5262 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.1841, allocations: 144.6 kB / 0.5263 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.1844, allocations: 199.3 kB / 0.5265 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1844, allocations: 0 / 0.5265 GB, free: 15.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.2323, allocations: 18.33 MB / 0.5444 GB, free: 12.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/8.974, allocations: 4.781 kB / 0.5444 GB, free: 12.79 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.enablingBeneOut[1],P1.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,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