Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.001096/0.001096, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.00271, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.000741/0.000741, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009756/0.001717, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.9923/0.9923, allocations: 177.1 MB / 189.5 MB, free: 3.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1467/1.139, allocations: 53.66 MB / 243.2 MB, free: 2.379 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04868/0.04868, allocations: 12.67 MB / 256.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01032/0.059, allocations: 4.694 MB / 261.3 MB, free: 0.5547 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 262.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.808e-05, allocations: 2.312 kB / 262.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003093/0.003111, allocations: 1.792 MB / 264.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.00664, allocations: 1.943 MB / 266.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.006881, allocations: 7.938 kB / 266.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.007286, allocations: 127 kB / 266.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.007586, allocations: 139 kB / 266.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.009355, allocations: 0.8884 MB / 267.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.01095, allocations: 1.307 MB / 268.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.01112, allocations: 61.05 kB / 268.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009931/0.01211, allocations: 0.7923 MB / 269.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.01256, allocations: 283 kB / 269.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.01267, allocations: 72 kB / 269.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.01368, allocations: 0.6512 MB / 270.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.01383, allocations: 127.4 kB / 270.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.01407, allocations: 183.6 kB / 270.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01518, allocations: 0.8725 MB / 271.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.01519, allocations: 0 / 271.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01519, allocations: 0 / 271.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.01521, allocations: 7.922 kB / 271.7 MB, free: 6.051 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001381/0.01659, allocations: 1.157 MB / 272.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.01663, allocations: 8.031 kB / 272.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000366/0.01699, allocations: 122.6 kB / 273 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.01733, allocations: 205.9 kB / 273.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.01773, allocations: 256.9 kB / 273.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.01783, allocations: 108.6 kB / 273.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.01794, allocations: 75.97 kB / 273.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.01921, allocations: 1.27 MB / 274.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01922, allocations: 0 / 274.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.01929, allocations: 36 kB / 275 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-05/0.01938, allocations: 52.95 kB / 275 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.02017, allocations: 0.7143 MB / 275.7 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.02266, allocations: 2.392 MB / 278.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.02338, allocations: 0.7338 MB / 278.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.02395, allocations: 0.5983 MB / 279.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.02399, allocations: 11.98 kB / 279.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.02516, allocations: 1.002 MB / 280.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.02516, allocations: 0 / 280.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=79): time 0.001922/0.02709, allocations: 1.91 MB / 282.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003036/0.02739, allocations: 0.6117 MB / 283 MB, free: 9.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.02769, allocations: 354.4 kB / 283.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.02776, allocations: 73.62 kB / 283.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.0279, allocations: 209.7 kB / 283.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.02807, allocations: 214.4 kB / 283.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.02831, allocations: 210.4 kB / 284 MB, free: 8.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.02844, allocations: 382.6 kB / 284.4 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.0288, allocations: 455.8 kB / 284.8 MB, free: 7.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.02942, allocations: 0.9358 MB / 285.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.03087, allocations: 1.529 MB / 287.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.03088, allocations: 4 kB / 287.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001201/0.03208, allocations: 1.272 MB / 288.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.03224, allocations: 342.6 kB / 288.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.03226, allocations: 8 kB / 288.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.03228, allocations: 20 kB / 288.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.03276, allocations: 179.7 kB / 289.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.03279, allocations: 19.94 kB / 289.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.03314, allocations: 107.8 kB / 289.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.03322, allocations: 60.17 kB / 289.3 MB, free: 2.574 MB / 282.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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T2.outPlaces[1].disTransition,T2.firingCon,$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T2.enabledByInPlaces,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000597/0.03382, allocations: 0.6619 MB / 290 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.03398, allocations: 107.9 kB / 290.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.03511, allocations: 1.069 MB / 291.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.03512, allocations: 8 kB / 291.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.03513, allocations: 0 / 291.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.03513, allocations: 0 / 291.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.03712, allocations: 1.667 MB / 292.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.03712, allocations: 0 / 292.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.03722, allocations: 27.83 kB / 292.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.03723, allocations: 4 kB / 292.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.0373, allocations: 39.98 kB / 292.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.03731, allocations: 4 kB / 292.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03731, allocations: 3.938 kB / 292.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.03903, allocations: 1.621 MB / 294.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.03909, allocations: 63.45 kB / 294.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.03925, allocations: 71.98 kB / 294.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.03953, allocations: 51.97 kB / 294.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.03972, allocations: 86.66 kB / 294.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.0398, allocations: 43.98 kB / 294.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.03991, allocations: 108.5 kB / 294.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03991, allocations: 0 / 294.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00095/0.04086, allocations: 323.6 kB / 295.2 MB, free: 12.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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 (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.002409/0.04327, allocations: 2.411 MB / 297.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.04493, allocations: 1.966 MB / 299.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.04494, allocations: 4 kB / 299.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.04622, allocations: 1.304 MB / 300.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.04666, allocations: 119.5 kB / 301 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.05172, allocations: 4.41 MB / 305.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.05185, allocations: 155.9 kB / 305.6 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.05207, allocations: 72.52 kB / 305.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007989/0.05287, allocations: 431.2 kB / 306.1 MB, free: 388 kB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.05287, allocations: 0 / 306.1 MB, free: 388 kB / 298.7 MB Notification: FMU-only work: backend 0.001634, simCode 0.002411, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/0.2007, allocations: 21.91 MB / 328 MB, free: 10.24 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.782/2.982, allocations: 27.33 kB / 328 MB, free: 10.21 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.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.TEnoInput_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.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.TEnoInput_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.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.TEnoInput_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv --output-variables P1.t T2.active T2.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_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TEnoInput_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.inTransition[1].decreasingFactor,P1.inTransition[1].maxTokens filterSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.diff.mat", vars={"T2.fire", "T2.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T2.fire", "T2.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.509847815148532]