Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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.0009445/0.0009445, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001017/0.001017, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.9706/0.9706, allocations: 230.6 MB / 256 MB, free: 9.617 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.05315/0.05315, allocations: 16.95 MB / 329.4 MB, free: 1.188 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001501/0.001501, allocations: 75.88 kB / 460.5 MB, free: 26.87 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07852, allocations: 57.64 MB / 0.506 GB, free: 1.176 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002252/0.08077, allocations: 1.719 MB / 0.5077 GB, free: 15.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.08309, allocations: 1.851 MB / 0.5095 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.08327, allocations: 7.938 kB / 0.5095 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.08358, allocations: 115.1 kB / 0.5096 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.08389, allocations: 135 kB / 0.5097 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.08515, allocations: 0.9476 MB / 0.5106 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009774/0.08613, allocations: 1.342 MB / 0.5119 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.08628, allocations: 69.17 kB / 0.512 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.08663, allocations: 0.5416 MB / 0.5125 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.08699, allocations: 362.2 kB / 0.5129 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.08707, allocations: 88 kB / 0.513 GB, free: 9.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.0877, allocations: 0.6162 MB / 0.5136 GB, free: 9.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.08783, allocations: 155.3 kB / 0.5137 GB, free: 9.219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.08806, allocations: 322.7 kB / 0.514 GB, free: 8.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.08892, allocations: 1.203 MB / 0.5152 GB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.08892, allocations: 0 / 0.5152 GB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08892, allocations: 3.938 kB / 0.5152 GB, free: 7.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.08893, allocations: 0 / 0.5152 GB, free: 7.691 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.001136/0.09007, allocations: 1.218 MB / 0.5164 GB, free: 6.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.0901, allocations: 8.031 kB / 0.5164 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.09021, allocations: 122.7 kB / 0.5165 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.09042, allocations: 96.5 kB / 0.5166 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.09084, allocations: 376.8 kB / 0.517 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.09093, allocations: 104.7 kB / 0.5171 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.091, allocations: 83.97 kB / 0.5171 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.0925, allocations: 1.789 MB / 0.5189 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.09251, allocations: 4 kB / 0.5189 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.09257, allocations: 39.92 kB / 0.5189 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/0.09263, allocations: 52.95 kB / 0.519 GB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.09375, allocations: 1.258 MB / 0.5202 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.09612, allocations: 3.016 MB / 0.5232 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.09706, allocations: 1.069 MB / 0.5242 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.09781, allocations: 0.9333 MB / 0.5251 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.09785, allocations: 7.984 kB / 0.5251 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.09891, allocations: 1.316 MB / 0.5264 GB, free: 11.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 1.643e-06/0.09891, allocations: 4 kB / 0.5264 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.002963/0.1019, allocations: 3.431 MB / 0.5298 GB, free: 7.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.1021, allocations: 0.5309 MB / 0.5303 GB, free: 7.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.1024, allocations: 425.2 kB / 0.5307 GB, free: 6.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.1024, allocations: 65.69 kB / 0.5307 GB, free: 6.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1026, allocations: 269 kB / 0.531 GB, free: 6.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1027, allocations: 198.6 kB / 0.5312 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1029, allocations: 230.5 kB / 0.5314 GB, free: 6.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.103, allocations: 374.7 kB / 0.5318 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.1036, allocations: 0.753 MB / 0.5325 GB, free: 4.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.1043, allocations: 1.193 MB / 0.5337 GB, free: 3.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.1062, allocations: 2.574 MB / 0.5362 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.1062, allocations: 0 / 0.5362 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00177/0.108, allocations: 2.17 MB / 0.5383 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1081, allocations: 334.8 kB / 0.5386 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1082, allocations: 12 kB / 0.5386 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1082, allocations: 20 kB / 0.5387 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1084, allocations: 119.7 kB / 0.5388 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.1084, allocations: 27.92 kB / 0.5388 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1087, allocations: 123.6 kB / 0.5389 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.1088, allocations: 67.92 kB / 0.539 GB, free: 13.55 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005879/0.1093, allocations: 0.753 MB / 0.5397 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.1094, allocations: 79.66 kB / 0.5398 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.1115, allocations: 2.39 MB / 0.5421 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.1116, allocations: 8 kB / 0.5421 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1116, allocations: 0 / 0.5421 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1116, allocations: 3.984 kB / 0.5421 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.1145, allocations: 3.238 MB / 0.5453 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1145, allocations: 0 / 0.5453 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.1146, allocations: 35.92 kB / 0.5453 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1146, allocations: 4 kB / 0.5453 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.1146, allocations: 39.97 kB / 0.5454 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1146, allocations: 7.938 kB / 0.5454 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1146, allocations: 0 / 0.5454 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.117, allocations: 2.853 MB / 0.5482 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.117, allocations: 55.53 kB / 0.5482 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.1172, allocations: 75.98 kB / 0.5483 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1174, allocations: 79.86 kB / 0.5484 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/0.1178, allocations: 335.6 kB / 0.5487 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.1178, allocations: 43.97 kB / 0.5487 GB, free: 3.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.118, allocations: 247.2 kB / 0.549 GB, free: 2.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.118, allocations: 0 / 0.549 GB, free: 2.941 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006835/0.1187, allocations: 347.5 kB / 0.5493 GB, free: 2.602 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1773/0.296, allocations: 3.664 MB / 0.5529 GB, free: 47.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.298, allocations: 2.637 MB / 0.5555 GB, free: 46.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2981, allocations: 1.625 kB / 0.5555 GB, free: 46.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.2991, allocations: 1.614 MB / 0.557 GB, free: 45.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.2996, allocations: 103.2 kB / 0.5571 GB, free: 45.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008675/0.3082, allocations: 9.643 MB / 0.5665 GB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3086, allocations: 322.3 kB / 0.5669 GB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.309, allocations: 154.9 kB / 0.567 GB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.3092, allocations: 189.7 kB / 0.5672 GB, free: 38.99 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3092, allocations: 0 / 0.5672 GB, free: 38.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/0.4326, allocations: 19.6 MB / 0.5863 GB, free: 25.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.059, allocations: 14.03 kB / 0.5863 GB, free: 25.72 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.996270285919309]