Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001081/0.001081, allocations: 170.2 kB / 22.46 MB, free: 2.105 MB / 18.57 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.876/0.876, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.049/0.049, allocations: 12.64 MB / 271.8 MB, free: 0.7109 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 403 MB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.735e-05, allocations: 2.281 kB / 403 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002872/0.00289, allocations: 1.745 MB / 404.8 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.006553, allocations: 1.851 MB / 406.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.006833, allocations: 7.938 kB / 406.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.007191, allocations: 115 kB / 406.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.007612, allocations: 147 kB / 406.9 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.0095, allocations: 0.9392 MB / 407.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.01088, allocations: 1.353 MB / 409.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.01108, allocations: 65.23 kB / 409.2 MB, free: 3.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.01174, allocations: 0.7643 MB / 410 MB, free: 2.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.01216, allocations: 319 kB / 410.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01227, allocations: 88 kB / 410.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.01302, allocations: 0.6122 MB / 411 MB, free: 1.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01317, allocations: 147.3 kB / 411.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.0134, allocations: 291.3 kB / 411.4 MB, free: 1.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.01443, allocations: 1.352 MB / 412.8 MB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01443, allocations: 0 / 412.8 MB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01443, allocations: 0 / 412.8 MB, free: 60 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.01444, allocations: 7.984 kB / 412.8 MB, free: 52 kB / 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.001233/0.01567, allocations: 1.195 MB / 414 MB, free: 14.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01572, allocations: 12.03 kB / 414 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.01583, allocations: 122.7 kB / 414.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.01606, allocations: 96.5 kB / 414.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.01648, allocations: 376.7 kB / 414.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.01656, allocations: 112.8 kB / 414.7 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.01664, allocations: 75.98 kB / 414.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.01811, allocations: 1.797 MB / 416.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.01812, allocations: 7.938 kB / 416.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.01818, allocations: 35.98 kB / 416.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.826e-05/0.01825, allocations: 56.95 kB / 416.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.01936, allocations: 1.243 MB / 417.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.02188, allocations: 2.997 MB / 420.9 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.02294, allocations: 0.9991 MB / 421.9 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.02375, allocations: 0.9139 MB / 422.8 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.02381, allocations: 8 kB / 422.8 MB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.02526, allocations: 1.274 MB / 424.1 MB, free: 4.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.555e-06/0.02526, allocations: 0 / 424.1 MB, free: 4.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.004198/0.02946, allocations: 3.342 MB / 427.4 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003076/0.02977, allocations: 0.556 MB / 428 MB, free: 15.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.03024, allocations: 429.2 kB / 428.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.03033, allocations: 69.69 kB / 428.5 MB, free: 15.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.03053, allocations: 265 kB / 428.7 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.03071, allocations: 202.7 kB / 428.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.03103, allocations: 234.5 kB / 429.2 MB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.03118, allocations: 378.7 kB / 429.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.03186, allocations: 0.7451 MB / 430.3 MB, free: 13.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/0.03261, allocations: 1.235 MB / 431.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.0346, allocations: 2.548 MB / 434.1 MB, free: 9.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.03461, allocations: 4 kB / 434.1 MB, free: 9.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001846/0.03645, allocations: 2.179 MB / 436.3 MB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.0366, allocations: 329 kB / 436.6 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.03661, allocations: 12.84 kB / 436.6 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.03664, allocations: 19.94 kB / 436.6 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.03687, allocations: 135.6 kB / 436.7 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.03688, allocations: 27.92 kB / 436.8 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.03721, allocations: 131.3 kB / 436.9 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.03727, allocations: 55.98 kB / 437 MB, free: 6.09 MB / 410.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006999/0.03797, allocations: 0.763 MB / 437.7 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.03807, allocations: 75.67 kB / 437.8 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.04014, allocations: 2.328 MB / 440.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.04015, allocations: 8 kB / 440.1 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.04016, allocations: 4 kB / 440.1 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.04017, allocations: 7.984 kB / 440.1 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1397/0.1798, allocations: 3.157 MB / 443.3 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.1798, allocations: 0 / 443.3 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1799, allocations: 27.58 kB / 443.3 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1799, allocations: 0 / 443.3 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.1801, allocations: 43.05 kB / 443.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1801, allocations: 3.188 kB / 443.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1801, allocations: 3.844 kB / 443.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.1823, allocations: 2.793 MB / 446.2 MB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.1824, allocations: 57.36 kB / 446.2 MB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.1825, allocations: 75.33 kB / 446.3 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1827, allocations: 72.16 kB / 446.4 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.1831, allocations: 335 kB / 446.7 MB, free: 79.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.1831, allocations: 47.22 kB / 446.7 MB, free: 79.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.1833, allocations: 247.4 kB / 447 MB, free: 79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1833, allocations: 0 / 447 MB, free: 79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007816/0.1841, allocations: 347.1 kB / 447.3 MB, free: 78.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002575/0.1867, allocations: 3.622 MB / 450.9 MB, free: 76.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1882, allocations: 2.615 MB / 453.6 MB, free: 75.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1882, allocations: 0 / 453.6 MB, free: 75.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.1891, allocations: 1.579 MB / 455.1 MB, free: 74.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1895, allocations: 117.1 kB / 455.2 MB, free: 74.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/0.1969, allocations: 9.555 MB / 464.8 MB, free: 67.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1971, allocations: 325.6 kB / 465.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.1974, allocations: 143.1 kB / 465.3 MB, free: 67.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.1976, allocations: 193.5 kB / 465.4 MB, free: 67.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1976, allocations: 6.094 kB / 465.5 MB, free: 67.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09869/0.2963, allocations: 19.59 MB / 485 MB, free: 64.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.063, allocations: 16.42 kB / 485.1 MB, free: 64.44 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.8074812842533]