Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001111/0.001111, 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.001313/0.001313, allocations: 226.3 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.021/1.021, allocations: 230.6 MB / 256 MB, free: 9.605 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.05504/0.05504, allocations: 16.95 MB / 329.4 MB, free: 1.102 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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.001448/0.001448, allocations: 71.88 kB / 460.5 MB, free: 26.86 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08128, allocations: 57.64 MB / 0.506 GB, free: 1.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002355/0.08364, allocations: 1.718 MB / 0.5076 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.08649, allocations: 1.893 MB / 0.5095 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.08674, allocations: 11.94 kB / 0.5095 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.08708, allocations: 115.1 kB / 0.5096 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.08742, allocations: 139 kB / 0.5097 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.08894, allocations: 0.9553 MB / 0.5107 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.09017, allocations: 1.346 MB / 0.512 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.09034, allocations: 61.2 kB / 0.5121 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.09087, allocations: 0.5494 MB / 0.5126 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005245/0.09139, allocations: 362.2 kB / 0.5129 GB, free: 10 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.0915, allocations: 88 kB / 0.513 GB, free: 9.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.0922, allocations: 0.6084 MB / 0.5136 GB, free: 9.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.09235, allocations: 143.3 kB / 0.5138 GB, free: 9.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.09261, allocations: 338.7 kB / 0.5141 GB, free: 8.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.0937, allocations: 1.199 MB / 0.5152 GB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.0937, allocations: 0 / 0.5152 GB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.0937, allocations: 0 / 0.5152 GB, free: 7.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.09372, allocations: 0 / 0.5152 GB, free: 7.633 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001716/0.09543, allocations: 1.206 MB / 0.5164 GB, free: 6.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.09547, allocations: 11.97 kB / 0.5164 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.09558, allocations: 122.7 kB / 0.5166 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.09579, allocations: 92.52 kB / 0.5166 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.09623, allocations: 393.7 kB / 0.517 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.056e-05/0.09632, allocations: 104.7 kB / 0.5171 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.09639, allocations: 79.98 kB / 0.5172 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.09793, allocations: 1.789 MB / 0.5189 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.09794, allocations: 0 / 0.5189 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.098, allocations: 35.98 kB / 0.519 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.09807, allocations: 60.89 kB / 0.519 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.09923, allocations: 1.231 MB / 0.5202 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.1019, allocations: 3.001 MB / 0.5232 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.1028, allocations: 0.9994 MB / 0.5241 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/0.1035, allocations: 0.8984 MB / 0.525 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.1036, allocations: 12.22 kB / 0.525 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.1046, allocations: 1.255 MB / 0.5263 GB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 1.874e-06/0.1046, allocations: 0 / 0.5263 GB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002806/0.1074, allocations: 3.341 MB / 0.5295 GB, free: 8.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004372/0.1078, allocations: 0.5598 MB / 0.5301 GB, free: 7.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1081, allocations: 429.2 kB / 0.5305 GB, free: 7.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.1082, allocations: 65.69 kB / 0.5305 GB, free: 7.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1083, allocations: 269 kB / 0.5308 GB, free: 6.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1084, allocations: 194.7 kB / 0.531 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.1086, allocations: 226.5 kB / 0.5312 GB, free: 6.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1087, allocations: 378.7 kB / 0.5316 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.1093, allocations: 0.7412 MB / 0.5323 GB, free: 5.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.11, allocations: 1.213 MB / 0.5335 GB, free: 3.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.1118, allocations: 2.522 MB / 0.5359 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.1119, allocations: 4 kB / 0.5359 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001994/0.1139, allocations: 2.151 MB / 0.538 GB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.114, allocations: 331 kB / 0.5383 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.114, allocations: 16 kB / 0.5384 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.114, allocations: 19.98 kB / 0.5384 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1142, allocations: 115.7 kB / 0.5385 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1142, allocations: 23.92 kB / 0.5385 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1145, allocations: 139.1 kB / 0.5386 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.1146, allocations: 59.98 kB / 0.5387 GB, free: 13.81 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.firingTime,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 (130): * Single equations (assignments): 119 * 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.0005855/0.1152, allocations: 0.7377 MB / 0.5394 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.1153, allocations: 79.67 kB / 0.5395 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.1173, allocations: 2.324 MB / 0.5418 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1173, allocations: 8 kB / 0.5418 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1173, allocations: 4 kB / 0.5418 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1173, allocations: 7.922 kB / 0.5418 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.1201, allocations: 2.942 MB / 0.5447 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1201, allocations: 0 / 0.5447 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1202, allocations: 23.92 kB / 0.5447 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1202, allocations: 4 kB / 0.5447 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.1203, allocations: 39.97 kB / 0.5447 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1203, allocations: 3.938 kB / 0.5447 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1203, allocations: 8 kB / 0.5447 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.1226, allocations: 2.776 MB / 0.5474 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1227, allocations: 59.53 kB / 0.5475 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.1228, allocations: 67.98 kB / 0.5476 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1231, allocations: 79.86 kB / 0.5476 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.1235, allocations: 327.7 kB / 0.548 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.1235, allocations: 47.98 kB / 0.548 GB, free: 3.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.1237, allocations: 255.1 kB / 0.5482 GB, free: 3.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1237, allocations: 0 / 0.5482 GB, free: 3.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007786/0.1245, allocations: 335.6 kB / 0.5486 GB, free: 3.324 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.1742/0.2987, allocations: 3.58 MB / 0.5521 GB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.3009, allocations: 2.606 MB / 0.5546 GB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3009, allocations: 1.375 kB / 0.5546 GB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.302, allocations: 1.572 MB / 0.5561 GB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3024, allocations: 119.1 kB / 0.5563 GB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/0.3101, allocations: 9.49 MB / 0.5655 GB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3103, allocations: 322.4 kB / 0.5658 GB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.3106, allocations: 144.5 kB / 0.566 GB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3108, allocations: 188 kB / 0.5662 GB, free: 39.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3108, allocations: 0.875 kB / 0.5662 GB, free: 39.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08586/0.3967, allocations: 19.44 MB / 0.5851 GB, free: 26.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.993, allocations: 13.75 kB / 0.5851 GB, free: 26.79 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTT_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_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.06295998301357]