Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001269/0.001269, 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.001485/0.001485, allocations: 214.5 kB / 22.25 MB, free: 3.574 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.929/0.929, allocations: 230.6 MB / 256 MB, free: 9.625 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.05469/0.05469, allocations: 16.96 MB / 329.4 MB, free: 1.105 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.001379/0.001379, allocations: 67.91 kB / 460.5 MB, free: 26.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.07716, allocations: 57.63 MB / 0.506 GB, free: 1.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00212/0.07928, allocations: 1.727 MB / 0.5077 GB, free: 15.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.0814, allocations: 1.89 MB / 0.5095 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.08154, allocations: 11.94 kB / 0.5095 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.0818, allocations: 111.1 kB / 0.5096 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.08206, allocations: 135.1 kB / 0.5097 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.08309, allocations: 0.9475 MB / 0.5107 GB, free: 12.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.08413, allocations: 1.33 MB / 0.512 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.08426, allocations: 64.33 kB / 0.512 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.0846, allocations: 0.5377 MB / 0.5126 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.08491, allocations: 322.4 kB / 0.5129 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.08498, allocations: 72 kB / 0.5129 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.08547, allocations: 0.5889 MB / 0.5135 GB, free: 9.551 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.0856, allocations: 143.3 kB / 0.5136 GB, free: 9.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.08578, allocations: 278.8 kB / 0.5139 GB, free: 9.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.08649, allocations: 1.063 MB / 0.5149 GB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.08649, allocations: 3.938 kB / 0.515 GB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.08649, allocations: 4 kB / 0.515 GB, free: 8.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.0865, allocations: 0 / 0.515 GB, free: 8.062 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001047/0.08755, allocations: 1.139 MB / 0.5161 GB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.08759, allocations: 8.031 kB / 0.5161 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.33e-05/0.08768, allocations: 114.7 kB / 0.5162 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.08786, allocations: 88.52 kB / 0.5163 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.08823, allocations: 346.1 kB / 0.5166 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.0883, allocations: 100.4 kB / 0.5167 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.08836, allocations: 64 kB / 0.5168 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.0896, allocations: 1.556 MB / 0.5183 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.08962, allocations: 3.938 kB / 0.5183 GB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.08966, allocations: 32 kB / 0.5183 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.08971, allocations: 40.97 kB / 0.5183 GB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.09084, allocations: 1.036 MB / 0.5194 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.09282, allocations: 2.704 MB / 0.522 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.09358, allocations: 0.8545 MB / 0.5228 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.09417, allocations: 0.7651 MB / 0.5236 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.09421, allocations: 11.94 kB / 0.5236 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008688/0.09507, allocations: 1.115 MB / 0.5247 GB, free: 13.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.673e-06/0.09508, allocations: 0 / 0.5247 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002598/0.09767, allocations: 2.855 MB / 0.5275 GB, free: 10.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.09786, allocations: 0.5364 MB / 0.528 GB, free: 9.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.09812, allocations: 392.1 kB / 0.5284 GB, free: 9.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.09816, allocations: 65.69 kB / 0.5284 GB, free: 9.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.09827, allocations: 237.3 kB / 0.5287 GB, free: 9.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.09837, allocations: 186.6 kB / 0.5288 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.09854, allocations: 202.6 kB / 0.529 GB, free: 8.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.09863, allocations: 370.8 kB / 0.5294 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.09903, allocations: 0.5851 MB / 0.53 GB, free: 7.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.09959, allocations: 1.026 MB / 0.531 GB, free: 6.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.1012, allocations: 2.021 MB / 0.5329 GB, free: 4.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1012, allocations: 0 / 0.5329 GB, free: 4.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001299/0.1025, allocations: 1.748 MB / 0.5346 GB, free: 2.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1027, allocations: 313 kB / 0.5349 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1027, allocations: 8.875 kB / 0.5349 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1027, allocations: 19.94 kB / 0.535 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1029, allocations: 115.7 kB / 0.5351 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1029, allocations: 19.94 kB / 0.5351 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1031, allocations: 107.3 kB / 0.5352 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.1031, allocations: 51.98 kB / 0.5352 GB, free: 1.543 MB / 394.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 108 * Array equations: 0 * 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.0004835/0.1036, allocations: 0.7068 MB / 0.5359 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.1037, allocations: 71.67 kB / 0.536 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1053, allocations: 1.905 MB / 0.5379 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1054, allocations: 7.938 kB / 0.5379 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1054, allocations: 0 / 0.5379 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1054, allocations: 3.984 kB / 0.5379 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.1076, allocations: 2.467 MB / 0.5403 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1076, allocations: 4 kB / 0.5403 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.1076, allocations: 23.92 kB / 0.5403 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1076, allocations: 0 / 0.5403 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.1077, allocations: 43.97 kB / 0.5404 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1077, allocations: 4 kB / 0.5404 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1077, allocations: 0 / 0.5404 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.1096, allocations: 2.437 MB / 0.5427 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.1096, allocations: 47.53 kB / 0.5428 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1097, allocations: 71.97 kB / 0.5429 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1099, allocations: 51.97 kB / 0.5429 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.11, allocations: 83.91 kB / 0.543 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.1101, allocations: 39.97 kB / 0.543 GB, free: 9.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1102, allocations: 231 kB / 0.5432 GB, free: 8.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1102, allocations: 0 / 0.5432 GB, free: 8.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.1108, allocations: 303.6 kB / 0.5435 GB, free: 8.691 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: 64 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * 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.002746/0.1135, allocations: 3.241 MB / 0.5467 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.115, allocations: 2.263 MB / 0.5489 GB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.115, allocations: 4 kB / 0.5489 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.1159, allocations: 1.4 MB / 0.5503 GB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1162, allocations: 99.69 kB / 0.5504 GB, free: 1.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/0.2743, allocations: 8.291 MB / 0.5585 GB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.2745, allocations: 300.7 kB / 0.5588 GB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.2747, allocations: 125.4 kB / 0.5589 GB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2749, allocations: 169.3 kB / 0.559 GB, free: 44.31 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2749, allocations: 1.125 kB / 0.559 GB, free: 44.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/0.3545, allocations: 16.66 MB / 0.5753 GB, free: 37.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.042, allocations: 14.75 kB / 0.5753 GB, free: 37.41 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TTtoPD_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.TTtoPD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TTtoPD_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.TTtoPD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_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.TTtoPD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.914980395697057]