Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.001473/0.001473, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 225.8 kB / 22.25 MB, free: 3.566 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.9772/0.9772, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.05298/0.05298, allocations: 16.94 MB / 329.4 MB, free: 1.09 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.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 460.5 MB, free: 27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07514/0.07658, allocations: 57.63 MB / 0.5059 GB, free: 1.305 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.002159/0.07874, allocations: 1.836 MB / 0.5077 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.08067, allocations: 1.629 MB / 0.5093 GB, free: 13.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.08081, allocations: 15.88 kB / 0.5093 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.08105, allocations: 135 kB / 0.5095 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.0814, allocations: 147 kB / 0.5096 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.08224, allocations: 0.74 MB / 0.5103 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008433/0.08309, allocations: 1.342 MB / 0.5116 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.08323, allocations: 76.25 kB / 0.5117 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.08362, allocations: 0.5454 MB / 0.5122 GB, free: 10.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.08396, allocations: 354.2 kB / 0.5126 GB, free: 10.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.08403, allocations: 72 kB / 0.5127 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.08457, allocations: 0.585 MB / 0.5132 GB, free: 9.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.0847, allocations: 163.3 kB / 0.5134 GB, free: 9.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.08489, allocations: 290.7 kB / 0.5137 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.08569, allocations: 1.098 MB / 0.5147 GB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.0857, allocations: 0 / 0.5147 GB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0857, allocations: 0 / 0.5147 GB, free: 8.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.08571, allocations: 0 / 0.5147 GB, free: 8.277 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001124/0.08683, allocations: 1.257 MB / 0.516 GB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.08686, allocations: 8.031 kB / 0.516 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.08696, allocations: 122.7 kB / 0.5161 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.08733, allocations: 144.4 kB / 0.5162 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.08771, allocations: 349.5 kB / 0.5166 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.08783, allocations: 219.6 kB / 0.5168 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.08791, allocations: 75.98 kB / 0.5168 GB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.08921, allocations: 1.594 MB / 0.5184 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.08922, allocations: 4 kB / 0.5184 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.08927, allocations: 35.98 kB / 0.5184 GB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.08933, allocations: 56.95 kB / 0.5185 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.09041, allocations: 1.112 MB / 0.5196 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.09253, allocations: 2.53 MB / 0.522 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.09332, allocations: 0.8992 MB / 0.5229 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.09391, allocations: 0.7906 MB / 0.5237 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.09445, allocations: 323.7 kB / 0.524 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.09524, allocations: 1.061 MB / 0.525 GB, free: 13.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 1.864e-06/0.09524, allocations: 0 / 0.525 GB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=68): time 0.002524/0.09776, allocations: 2.797 MB / 0.5278 GB, free: 10.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.09795, allocations: 0.5321 MB / 0.5283 GB, free: 9.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.0982, allocations: 372.2 kB / 0.5286 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.09825, allocations: 61.69 kB / 0.5287 GB, free: 8.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.09837, allocations: 261 kB / 0.529 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.09848, allocations: 186.6 kB / 0.5291 GB, free: 8.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.09864, allocations: 202.5 kB / 0.5293 GB, free: 8.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.09874, allocations: 370.7 kB / 0.5297 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.0992, allocations: 0.6567 MB / 0.5303 GB, free: 7.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.09981, allocations: 1.056 MB / 0.5313 GB, free: 5.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.101, allocations: 1.638 MB / 0.5329 GB, free: 4.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.101, allocations: 0 / 0.5329 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001438/0.1024, allocations: 1.913 MB / 0.5348 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1025, allocations: 346.7 kB / 0.5351 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007199/0.1032, allocations: 0.9165 MB / 0.536 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.1035, allocations: 80.92 kB / 0.5361 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1037, allocations: 107.8 kB / 0.5362 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003272/0.104, allocations: 0.6225 MB / 0.5368 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1042, allocations: 107.3 kB / 0.5369 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1043, allocations: 48 kB / 0.537 GB, free: 15.62 MB / 410.7 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$whenCondition3,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[1],$PRE.P1.fireIn[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * 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.0004818/0.1047, allocations: 0.7124 MB / 0.5377 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.1048, allocations: 63.72 kB / 0.5377 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1067, allocations: 1.995 MB / 0.5397 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1067, allocations: 4 kB / 0.5397 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1067, allocations: 4 kB / 0.5397 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1067, allocations: 3.984 kB / 0.5397 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.109, allocations: 2.694 MB / 0.5423 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001528/0.1106, allocations: 1.874 MB / 0.5442 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.1106, allocations: 31.92 kB / 0.5442 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.1108, allocations: 64.8 kB / 0.5442 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.1108, allocations: 39.98 kB / 0.5443 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002727/0.1111, allocations: 0.607 MB / 0.5449 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1111, allocations: 0 / 0.5449 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.1138, allocations: 3.369 MB / 0.5482 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1139, allocations: 55.58 kB / 0.5482 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.114, allocations: 63.98 kB / 0.5483 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1142, allocations: 60.08 kB / 0.5483 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.1143, allocations: 63.88 kB / 0.5484 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.1143, allocations: 43.97 kB / 0.5484 GB, free: 3.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1145, allocations: 219 kB / 0.5486 GB, free: 3.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1145, allocations: 0 / 0.5486 GB, free: 3.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006/0.1151, allocations: 299.5 kB / 0.5489 GB, free: 2.75 MB / 410.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: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1]) * Number of discrete states: 50 (P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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,P1.enableOut.arcWeightSum,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * 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.1598/0.2749, allocations: 4.159 MB / 0.553 GB, free: 48.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.2767, allocations: 2.434 MB / 0.5554 GB, free: 46.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2767, allocations: 1.625 kB / 0.5554 GB, free: 46.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.2776, allocations: 1.527 MB / 0.5569 GB, free: 45.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.278, allocations: 92.42 kB / 0.557 GB, free: 45.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.2847, allocations: 8.784 MB / 0.5655 GB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.285, allocations: 320.6 kB / 0.5658 GB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.2853, allocations: 130.5 kB / 0.566 GB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.2855, allocations: 180 kB / 0.5661 GB, free: 39.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2855, allocations: 0 / 0.5661 GB, free: 39.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/0.3711, allocations: 16.57 MB / 0.5823 GB, free: 29.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.788, allocations: 11.31 kB / 0.5823 GB, free: 29.81 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv --output-variables P1.t T1.fire T1.instantaneousSpeed T1.maximumSpeed --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.ConTest.TCtoPCfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.ConTest.TCtoPCfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.78311460185796]