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.0009613/0.0009613, 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.001064/0.001064, allocations: 218.5 kB / 22.25 MB, free: 3.711 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.9899/0.9899, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05333/0.05333, allocations: 16.96 MB / 329.4 MB, free: 1.137 MB / 250.7 MB " [Timeout remaining time 180] 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.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.001912/0.001912, allocations: 75.89 kB / 461.3 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08513, allocations: 57.65 MB / 0.5068 GB, free: 1.148 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002475/0.0876, allocations: 1.704 MB / 0.5084 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.08994, allocations: 1.859 MB / 0.5102 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.09012, allocations: 11.94 kB / 0.5102 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.09043, allocations: 111.1 kB / 0.5104 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.09074, allocations: 139 kB / 0.5105 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.09209, allocations: 0.942 MB / 0.5114 GB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.0931, allocations: 1.349 MB / 0.5127 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.09326, allocations: 57.19 kB / 0.5128 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.09368, allocations: 0.5493 MB / 0.5133 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.09408, allocations: 358.3 kB / 0.5137 GB, free: 10.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.09417, allocations: 88 kB / 0.5137 GB, free: 9.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000709/0.09488, allocations: 0.6161 MB / 0.5143 GB, free: 9.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.09502, allocations: 155.3 kB / 0.5145 GB, free: 9.203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000507/0.09553, allocations: 330.7 kB / 0.5148 GB, free: 8.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.09655, allocations: 1.191 MB / 0.516 GB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09655, allocations: 0 / 0.516 GB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.09655, allocations: 0 / 0.516 GB, free: 7.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.09656, allocations: 4 kB / 0.516 GB, free: 7.68 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.001375/0.09794, allocations: 1.218 MB / 0.5172 GB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.09799, allocations: 8.031 kB / 0.5172 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.0981, allocations: 118.7 kB / 0.5173 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.09834, allocations: 104.4 kB / 0.5174 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.09881, allocations: 372.9 kB / 0.5177 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.09892, allocations: 112.7 kB / 0.5178 GB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.099, allocations: 75.98 kB / 0.5179 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1006, allocations: 1.8 MB / 0.5197 GB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1006, allocations: 3.938 kB / 0.5197 GB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.1007, allocations: 35.98 kB / 0.5197 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.833e-05/0.1008, allocations: 56.95 kB / 0.5198 GB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.102, allocations: 1.247 MB / 0.521 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.105, allocations: 3.004 MB / 0.5239 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.1059, allocations: 0.9959 MB / 0.5249 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.1067, allocations: 0.9138 MB / 0.5258 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.1067, allocations: 4 kB / 0.5258 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.1078, allocations: 1.266 MB / 0.527 GB, free: 11.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.715e-06/0.1078, allocations: 0 / 0.527 GB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.003275/0.1111, allocations: 3.352 MB / 0.5303 GB, free: 8.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.1113, allocations: 0.5559 MB / 0.5308 GB, free: 7.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.1117, allocations: 433.2 kB / 0.5313 GB, free: 7.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.1118, allocations: 69.69 kB / 0.5313 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1119, allocations: 268.9 kB / 0.5316 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1121, allocations: 194.7 kB / 0.5318 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.1123, allocations: 230.5 kB / 0.532 GB, free: 6.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1124, allocations: 378.7 kB / 0.5323 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.113, allocations: 0.749 MB / 0.5331 GB, free: 5.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.1138, allocations: 1.239 MB / 0.5343 GB, free: 3.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.1161, allocations: 2.556 MB / 0.5368 GB, free: 0.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.1162, allocations: 4 kB / 0.5368 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001942/0.1181, allocations: 2.179 MB / 0.5389 GB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.1183, allocations: 331 kB / 0.5392 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.1183, allocations: 15.94 kB / 0.5392 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.1183, allocations: 16 kB / 0.5393 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1185, allocations: 123.7 kB / 0.5394 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.1185, allocations: 31.86 kB / 0.5394 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.1189, allocations: 131.5 kB / 0.5395 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.119, allocations: 60 kB / 0.5396 GB, free: 13.68 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.0007229/0.1197, allocations: 0.7489 MB / 0.5403 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1198, allocations: 75.67 kB / 0.5404 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.1221, allocations: 2.332 MB / 0.5427 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.1221, allocations: 4 kB / 0.5427 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1221, allocations: 4 kB / 0.5427 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1222, allocations: 7.922 kB / 0.5427 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.1252, allocations: 3.155 MB / 0.5458 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1252, allocations: 4 kB / 0.5458 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.1252, allocations: 31.92 kB / 0.5458 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1252, allocations: 0 / 0.5458 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.1253, allocations: 51.89 kB / 0.5459 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1253, allocations: 0 / 0.5459 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1253, allocations: 0 / 0.5459 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.1277, allocations: 2.786 MB / 0.5486 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1277, allocations: 59.53 kB / 0.5486 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.1281, allocations: 75.92 kB / 0.5487 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1284, allocations: 75.92 kB / 0.5488 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/0.1288, allocations: 331.6 kB / 0.5491 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.1289, allocations: 47.97 kB / 0.5491 GB, free: 3.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1291, allocations: 251.2 kB / 0.5494 GB, free: 3.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1291, allocations: 4 kB / 0.5494 GB, free: 3.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008736/0.1299, allocations: 347.4 kB / 0.5497 GB, free: 2.934 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.1817/0.3117, allocations: 3.598 MB / 0.5532 GB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.314, allocations: 2.608 MB / 0.5558 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.314, allocations: 1.375 kB / 0.5558 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.3151, allocations: 1.58 MB / 0.5573 GB, free: 45.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3155, allocations: 110.2 kB / 0.5574 GB, free: 45.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.3244, allocations: 9.567 MB / 0.5668 GB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3247, allocations: 320.6 kB / 0.5671 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.325, allocations: 144.7 kB / 0.5672 GB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3252, allocations: 190.1 kB / 0.5674 GB, free: 39.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3252, allocations: 0 / 0.5674 GB, free: 39.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/0.4106, allocations: 19.56 MB / 0.5865 GB, free: 26.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.197, allocations: 8.047 kB / 0.5865 GB, free: 26.25 MB / 410.7 MB " [Timeout remaining time 653] (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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.00165200047195]