Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.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.0009475/0.0009475, allocations: 105.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.001146/0.001146, allocations: 214.6 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 1.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.613 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.05601/0.05601, allocations: 16.95 MB / 329.4 MB, free: 1.098 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.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",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.001539/0.001539, allocations: 75.89 kB / 460.5 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09394, allocations: 57.63 MB / 0.506 GB, free: 1.164 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.002456/0.0964, allocations: 2.039 MB / 0.508 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.09936, allocations: 2.039 MB / 0.5099 GB, free: 13.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.0996, allocations: 11.94 kB / 0.51 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.09997, allocations: 158.8 kB / 0.5101 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1003, allocations: 166.8 kB / 0.5103 GB, free: 12.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1017, allocations: 1.028 MB / 0.5113 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1028, allocations: 1.615 MB / 0.5129 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.103, allocations: 103.5 kB / 0.5129 GB, free: 9.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.1035, allocations: 0.6895 MB / 0.5136 GB, free: 9.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.1039, allocations: 425.7 kB / 0.514 GB, free: 8.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.104, allocations: 96 kB / 0.5141 GB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.1047, allocations: 0.6084 MB / 0.5147 GB, free: 8.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1049, allocations: 215 kB / 0.5149 GB, free: 7.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.1051, allocations: 366.2 kB / 0.5153 GB, free: 7.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1063, allocations: 1.347 MB / 0.5166 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1063, allocations: 0 / 0.5166 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1063, allocations: 0 / 0.5166 GB, free: 6.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.1064, allocations: 0 / 0.5166 GB, free: 6.242 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002132/0.1085, allocations: 1.422 MB / 0.518 GB, free: 4.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1085, allocations: 8.031 kB / 0.518 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.1087, allocations: 160.1 kB / 0.5181 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.109, allocations: 128.3 kB / 0.5183 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.1095, allocations: 427 kB / 0.5187 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1096, allocations: 180.8 kB / 0.5188 GB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.1097, allocations: 104 kB / 0.5189 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.1116, allocations: 2.248 MB / 0.5211 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1116, allocations: 7.938 kB / 0.5211 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.1117, allocations: 47.98 kB / 0.5212 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.498e-05/0.1117, allocations: 89.25 kB / 0.5213 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1132, allocations: 1.535 MB / 0.5228 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.1166, allocations: 4.079 MB / 0.5267 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.1178, allocations: 1.209 MB / 0.5279 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/0.1186, allocations: 1.079 MB / 0.529 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.1187, allocations: 12.31 kB / 0.529 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.1202, allocations: 1.457 MB / 0.5304 GB, free: 7.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/0.1202, allocations: 0 / 0.5304 GB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.002903/0.1231, allocations: 3.367 MB / 0.5337 GB, free: 3.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/0.1233, allocations: 0.6024 MB / 0.5343 GB, free: 3.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.1238, allocations: 0.5363 MB / 0.5348 GB, free: 2.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.1239, allocations: 73.69 kB / 0.5349 GB, free: 2.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1241, allocations: 353 kB / 0.5352 GB, free: 2.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1242, allocations: 262.2 kB / 0.5355 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.1245, allocations: 286.8 kB / 0.5357 GB, free: 1.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.1246, allocations: 334 kB / 0.5361 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.1252, allocations: 0.7595 MB / 0.5368 GB, free: 340 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.1263, allocations: 1.357 MB / 0.5381 GB, free: 14.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.1285, allocations: 2.732 MB / 0.5408 GB, free: 11.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.1285, allocations: 4 kB / 0.5408 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001965/0.1305, allocations: 2.278 MB / 0.543 GB, free: 9.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.1306, allocations: 346.7 kB / 0.5434 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.1306, allocations: 16 kB / 0.5434 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.1306, allocations: 20 kB / 0.5434 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.1312, allocations: 163.6 kB / 0.5436 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.1312, allocations: 35.86 kB / 0.5436 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1316, allocations: 151.3 kB / 0.5437 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.1317, allocations: 71.98 kB / 0.5438 GB, free: 8.266 MB / 410.7 MB Warning: Assuming fixed start value for the following 28 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 P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real 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: 65 * Number of states: 0 () * Number of discrete variables: 153 ($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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,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,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008121/0.1325, allocations: 0.8645 MB / 0.5446 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.1326, allocations: 91.52 kB / 0.5447 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.1345, allocations: 2.141 MB / 0.5468 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1345, allocations: 8 kB / 0.5468 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1345, allocations: 0 / 0.5468 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1345, allocations: 3.984 kB / 0.5468 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.1373, allocations: 3.13 MB / 0.5499 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1373, allocations: 0 / 0.5499 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1374, allocations: 35.92 kB / 0.5499 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1374, allocations: 4 kB / 0.5499 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.1375, allocations: 47.97 kB / 0.55 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.1375, allocations: 4 kB / 0.55 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1375, allocations: 0 / 0.55 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2071/0.3446, allocations: 2.685 MB / 0.5526 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3447, allocations: 68.92 kB / 0.5527 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.3449, allocations: 82.73 kB / 0.5527 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.3452, allocations: 64.98 kB / 0.5528 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.3455, allocations: 134.2 kB / 0.5529 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.3455, allocations: 52.89 kB / 0.553 GB, free: 47.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.3458, allocations: 306.3 kB / 0.5533 GB, free: 47.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3458, allocations: 7.25 kB / 0.5533 GB, free: 47.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001/0.3468, allocations: 379 kB / 0.5536 GB, free: 47.69 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: 86 ($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,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],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 (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 7 * 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.003122/0.3499, allocations: 3.517 MB / 0.5571 GB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.3523, allocations: 2.877 MB / 0.5599 GB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3523, allocations: 1.188 kB / 0.5599 GB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3536, allocations: 1.785 MB / 0.5616 GB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3541, allocations: 131.7 kB / 0.5618 GB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3646, allocations: 11.31 MB / 0.5728 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3649, allocations: 426 kB / 0.5732 GB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.3654, allocations: 211.1 kB / 0.5734 GB, free: 35.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.3656, allocations: 266 kB / 0.5737 GB, free: 35.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3656, allocations: 0 / 0.5737 GB, free: 35.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09022/0.4558, allocations: 20.85 MB / 0.594 GB, free: 17.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.114, allocations: 7.188 kB / 0.594 GB, free: 17.16 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv --output-variables P1.t T1.active T1.fire T2.active T2.fire --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.NoInputConflict_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.NoInputConflict_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_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.NoInputConflict.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.216817936860025]