Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009897/0.0009897, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 225.8 kB / 22.25 MB, free: 3.566 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.986/0.986, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.06618/0.06618, allocations: 16.96 MB / 329.4 MB, free: 1.164 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 83.86 kB / 460.5 MB, free: 26.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.0822, allocations: 57.63 MB / 0.506 GB, free: 1.289 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002174/0.08437, allocations: 1.722 MB / 0.5076 GB, free: 15.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.08661, allocations: 1.855 MB / 0.5095 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.08676, allocations: 11.94 kB / 0.5095 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.08707, allocations: 111.1 kB / 0.5096 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.08737, allocations: 139 kB / 0.5097 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.08867, allocations: 0.9398 MB / 0.5106 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.08953, allocations: 1.346 MB / 0.5119 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.08968, allocations: 65.17 kB / 0.512 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.09003, allocations: 0.5493 MB / 0.5125 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.09038, allocations: 354.3 kB / 0.5129 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.09046, allocations: 88 kB / 0.513 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.09103, allocations: 0.6084 MB / 0.5136 GB, free: 9.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.09116, allocations: 163.3 kB / 0.5137 GB, free: 9.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.09138, allocations: 326.7 kB / 0.514 GB, free: 9.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.09221, allocations: 1.203 MB / 0.5152 GB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.09221, allocations: 0 / 0.5152 GB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09221, allocations: 0 / 0.5152 GB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.09222, allocations: 4 kB / 0.5152 GB, free: 7.801 MB / 378.7 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.001121/0.09334, allocations: 1.21 MB / 0.5164 GB, free: 6.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.09338, allocations: 12.02 kB / 0.5164 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.09348, allocations: 114.7 kB / 0.5165 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.09369, allocations: 96.52 kB / 0.5166 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.0941, allocations: 384.8 kB / 0.517 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.749e-05/0.09419, allocations: 104.7 kB / 0.5171 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.09426, allocations: 79.98 kB / 0.5171 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.096, allocations: 1.793 MB / 0.5189 GB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.09602, allocations: 3.938 kB / 0.5189 GB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.09608, allocations: 39.98 kB / 0.5189 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.751e-05/0.09615, allocations: 56.94 kB / 0.519 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.09726, allocations: 1.251 MB / 0.5202 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.09962, allocations: 3 MB / 0.5231 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.1005, allocations: 0.9959 MB / 0.5241 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009757/0.1015, allocations: 0.9138 MB / 0.525 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.1015, allocations: 4 kB / 0.525 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.1026, allocations: 1.262 MB / 0.5262 GB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.895e-06/0.1026, allocations: 0 / 0.5262 GB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002923/0.1055, allocations: 3.352 MB / 0.5295 GB, free: 8.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.1057, allocations: 0.5559 MB / 0.5301 GB, free: 7.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1061, allocations: 433.2 kB / 0.5305 GB, free: 7.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.1061, allocations: 65.69 kB / 0.5305 GB, free: 7.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1063, allocations: 276.9 kB / 0.5308 GB, free: 6.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.1066, allocations: 190.7 kB / 0.531 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.1069, allocations: 234.5 kB / 0.5312 GB, free: 6.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.107, allocations: 374.7 kB / 0.5316 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.1075, allocations: 0.749 MB / 0.5323 GB, free: 5.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.1083, allocations: 1.231 MB / 0.5335 GB, free: 3.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.1102, allocations: 2.572 MB / 0.536 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.1102, allocations: 4 kB / 0.536 GB, free: 0.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002071/0.1123, allocations: 2.179 MB / 0.5381 GB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1124, allocations: 330.8 kB / 0.5385 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1124, allocations: 12 kB / 0.5385 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1124, allocations: 16 kB / 0.5385 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1127, allocations: 123.7 kB / 0.5386 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.1127, allocations: 27.88 kB / 0.5386 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.113, allocations: 135.2 kB / 0.5388 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.113, allocations: 56.17 kB / 0.5388 GB, free: 13.82 MB / 410.7 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: 52 * 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.arcWeight[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.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 (135): * Single equations (assignments): 124 * 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.0006128/0.1137, allocations: 0.7533 MB / 0.5395 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.1138, allocations: 79.67 kB / 0.5396 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.1158, allocations: 2.332 MB / 0.5419 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.1158, allocations: 4 kB / 0.5419 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1159, allocations: 4 kB / 0.5419 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1159, allocations: 3.938 kB / 0.5419 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.119, allocations: 3.163 MB / 0.545 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.119, allocations: 4 kB / 0.545 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.1191, allocations: 23.92 kB / 0.545 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1191, allocations: 4 kB / 0.545 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.1192, allocations: 47.91 kB / 0.5451 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1192, allocations: 0 / 0.5451 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1192, allocations: 0 / 0.5451 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.1215, allocations: 2.79 MB / 0.5478 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1216, allocations: 51.55 kB / 0.5478 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1217, allocations: 79.91 kB / 0.5479 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.122, allocations: 79.88 kB / 0.548 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.1223, allocations: 335.7 kB / 0.5483 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.1224, allocations: 47.97 kB / 0.5484 GB, free: 3.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1226, allocations: 247.2 kB / 0.5486 GB, free: 3.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1226, allocations: 4 kB / 0.5486 GB, free: 3.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007665/0.1234, allocations: 343.5 kB / 0.5489 GB, free: 3.066 MB / 410.7 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.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.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 (37): * Single equations (assignments): 24 * 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.1826/0.306, allocations: 3.592 MB / 0.5524 GB, free: 47.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3083, allocations: 2.615 MB / 0.555 GB, free: 46.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3083, allocations: 0 / 0.555 GB, free: 46.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.3093, allocations: 1.577 MB / 0.5565 GB, free: 45.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3098, allocations: 117.8 kB / 0.5566 GB, free: 45.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.3177, allocations: 9.563 MB / 0.566 GB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3179, allocations: 316.4 kB / 0.5663 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.3183, allocations: 152.5 kB / 0.5664 GB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3184, allocations: 191.3 kB / 0.5666 GB, free: 39.27 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3184, allocations: 0 / 0.5666 GB, free: 39.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08345/0.4019, allocations: 19.55 MB / 0.5857 GB, free: 26.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.847, allocations: 12 kB / 0.5857 GB, free: 26.4 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 filterSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 filterSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.877031473442912]