Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.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.00104/0.00104, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002451, 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.0011/0.0011, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002428, 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 1.075/1.075, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1366/1.212, allocations: 53.65 MB / 243.2 MB, free: 2.359 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.05343/0.05343, allocations: 12.67 MB / 256.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006029/0.05946, allocations: 4.69 MB / 261.3 MB, free: 0.5312 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.ConTest.PCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTC",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.PCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTC",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 262.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.161e-06/7.554e-06, allocations: 6.312 kB / 262.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.00177/0.001778, allocations: 1.895 MB / 264.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.003851, allocations: 1.667 MB / 266 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.004002, allocations: 15.88 kB / 266.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.004208, allocations: 134.9 kB / 266.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.004486, allocations: 174.8 kB / 266.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.005387, allocations: 0.6936 MB / 267 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.006366, allocations: 1.342 MB / 268.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.006496, allocations: 81.98 kB / 268.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.007039, allocations: 0.8011 MB / 269.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.007373, allocations: 330.9 kB / 269.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.007455, allocations: 88 kB / 269.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/0.008061, allocations: 0.6304 MB / 270.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.008189, allocations: 143.4 kB / 270.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.008378, allocations: 211.6 kB / 270.7 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.00912, allocations: 0.9581 MB / 271.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.009129, allocations: 4 kB / 271.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00913, allocations: 0 / 271.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.00914, allocations: 4 kB / 271.6 MB, free: 6.117 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001278/0.01042, allocations: 1.234 MB / 272.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.01045, allocations: 8.031 kB / 272.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.85e-05/0.01055, allocations: 130.6 kB / 273 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.01096, allocations: 293.8 kB / 273.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.01125, allocations: 284.8 kB / 273.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.01135, allocations: 220 kB / 273.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.01144, allocations: 92.09 kB / 273.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.01237, allocations: 1.353 MB / 275.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01238, allocations: 3.938 kB / 275.2 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.01244, allocations: 47.91 kB / 275.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.0125, allocations: 61.27 kB / 275.3 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.01307, allocations: 0.7881 MB / 276.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.01475, allocations: 2.266 MB / 278.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.01527, allocations: 0.8071 MB / 279.2 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.01588, allocations: 0.6454 MB / 279.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.0164, allocations: 364 kB / 280.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.01697, allocations: 0.9207 MB / 281.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=70): time 1.633e-06/0.01698, allocations: 0 / 281.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=70): time 0.001424/0.0184, allocations: 2.063 MB / 283.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.01858, allocations: 0.5518 MB / 283.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01876, allocations: 370.8 kB / 284.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.01881, allocations: 61.69 kB / 284.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01891, allocations: 265.2 kB / 284.4 MB, free: 8.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.01902, allocations: 198.5 kB / 284.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.0192, allocations: 226.4 kB / 284.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.01929, allocations: 370.7 kB / 285.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.01959, allocations: 0.5505 MB / 285.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.02026, allocations: 0.9737 MB / 286.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.02101, allocations: 1.461 MB / 288.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.02101, allocations: 4 kB / 288.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009154/0.02193, allocations: 1.474 MB / 289.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.02206, allocations: 366.6 kB / 290 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000452/0.02251, allocations: 0.6773 MB / 290.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.02264, allocations: 51.66 kB / 290.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.0229, allocations: 175.7 kB / 290.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/0.02312, allocations: 0.5656 MB / 291.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.02336, allocations: 123.3 kB / 291.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.02341, allocations: 52.06 kB / 291.6 MB, free: 180 kB / 282.7 MB Warning: Assuming fixed start value for the following 18 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$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,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.arcWeightIntIn[1],P1.delayPassedOut.vec[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2,P1.reStart,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000414/0.02382, allocations: 0.661 MB / 292.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.02395, allocations: 107.9 kB / 292.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.02507, allocations: 1.301 MB / 293.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.02508, allocations: 4 kB / 293.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02509, allocations: 4 kB / 293.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02509, allocations: 7.875 kB / 293.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.02626, allocations: 1.758 MB / 295.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007404/0.027, allocations: 1.199 MB / 296.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.02708, allocations: 35.97 kB / 296.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.02717, allocations: 43.59 kB / 296.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.02722, allocations: 35.98 kB / 296.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002002/0.02742, allocations: 0.5528 MB / 297.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02742, allocations: 4 kB / 297.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.02915, allocations: 2.534 MB / 299.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.02939, allocations: 55.53 kB / 299.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.0295, allocations: 71.92 kB / 300 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.0297, allocations: 64.08 kB / 300.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.02996, allocations: 243.7 kB / 300.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.03002, allocations: 47.95 kB / 300.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.03009, allocations: 116.7 kB / 300.5 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03009, allocations: 0 / 300.5 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.03056, allocations: 331.5 kB / 300.8 MB, free: 6.395 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($whenCondition1,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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002177/0.03274, allocations: 3.325 MB / 304.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.03396, allocations: 2.188 MB / 306.3 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.03397, allocations: 4 kB / 306.3 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.03484, allocations: 1.399 MB / 307.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.03513, allocations: 108 kB / 307.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.03852, allocations: 4.753 MB / 312.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.03862, allocations: 170.7 kB / 312.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.03875, allocations: 84.78 kB / 312.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.03931, allocations: 455.2 kB / 313.3 MB, free: 8.863 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.03931, allocations: 4 kB / 313.3 MB, free: 8.859 MB / 314.7 MB Notification: FMU-only work: backend 0.001696, simCode 0.001763, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09444/0.1338, allocations: 22.38 MB / 335.6 MB, free: 2.445 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.487/2.621, allocations: 13.56 kB / 335.7 MB, free: 2.434 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.PCtoTC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.PCtoTC_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_PCtoTC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_PCtoTC.fmu) > PNlib_PNlib.Examples.ConTest.PCtoTC.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_PCtoTC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_PCtoTC_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_PCtoTC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_PCtoTC_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy_res.csv --output-variables P1.t T1.fire T1.instantaneousSpeed T1.maximumSpeed --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_ConTest_PCtoTC.fmu) > PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.fire,T1.instantaneousSpeed,T1.maximumSpeed,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.PCtoTC_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.ConTest.PCtoTC_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_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.ConTest.PCtoTC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../PNlib_PNlib_Examples_ConTest_PCtoTC_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.maximumSpeed from file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.fire,T1.instantaneousSpeed,T1.maximumSpeed,time Variables in the result:time,P1.t_ filterSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.maximumSpeed", "T1.instantaneousSpeed", "T1.fire", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.maximumSpeed", "T1.instantaneousSpeed", "T1.fire", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.544575949199498]