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.001601/0.001601, 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.001267/0.001267, allocations: 225.2 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 1.052/1.052, allocations: 230.6 MB / 256 MB, free: 9.648 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.05396/0.05396, allocations: 16.95 MB / 329.4 MB, free: 1.109 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.PCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTC",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.PCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTC",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.001472/0.001472, allocations: 79.88 kB / 460.5 MB, free: 27.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08793, allocations: 57.64 MB / 0.5059 GB, free: 1.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.002763/0.09069, allocations: 1.836 MB / 0.5077 GB, free: 15.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.09348, allocations: 1.618 MB / 0.5093 GB, free: 13.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.09371, allocations: 11.88 kB / 0.5093 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.09403, allocations: 135 kB / 0.5095 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.09447, allocations: 158.9 kB / 0.5096 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.09569, allocations: 0.7438 MB / 0.5103 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.09692, allocations: 1.358 MB / 0.5117 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.09711, allocations: 93.19 kB / 0.5118 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.09761, allocations: 0.5493 MB / 0.5123 GB, free: 10.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.09812, allocations: 390 kB / 0.5127 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.09825, allocations: 88 kB / 0.5127 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.09901, allocations: 0.5928 MB / 0.5133 GB, free: 9.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.09918, allocations: 179.2 kB / 0.5135 GB, free: 9.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.09947, allocations: 334.5 kB / 0.5138 GB, free: 9.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1006, allocations: 1.203 MB / 0.515 GB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1006, allocations: 0 / 0.515 GB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1006, allocations: 4 kB / 0.515 GB, free: 8.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.1007, allocations: 0 / 0.515 GB, free: 8.016 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001778/0.1024, allocations: 1.335 MB / 0.5163 GB, free: 6.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1025, allocations: 11.97 kB / 0.5163 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.1026, allocations: 126.7 kB / 0.5164 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.1031, allocations: 152.4 kB / 0.5166 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1037, allocations: 373.4 kB / 0.5169 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.1038, allocations: 231.4 kB / 0.5172 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1039, allocations: 79.98 kB / 0.5172 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1058, allocations: 1.826 MB / 0.519 GB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1058, allocations: 0 / 0.519 GB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.1059, allocations: 39.98 kB / 0.5191 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-05/0.1059, allocations: 65.25 kB / 0.5191 GB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1071, allocations: 1.304 MB / 0.5204 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1096, allocations: 2.687 MB / 0.523 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.1105, allocations: 1.013 MB / 0.524 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.1112, allocations: 0.8962 MB / 0.5249 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/0.1118, allocations: 347.9 kB / 0.5252 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008894/0.1127, allocations: 1.152 MB / 0.5263 GB, free: 11.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 1.543e-06/0.1127, allocations: 0 / 0.5263 GB, free: 11.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003003/0.1157, allocations: 3.118 MB / 0.5294 GB, free: 8.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/0.1159, allocations: 0.5442 MB / 0.5299 GB, free: 7.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1163, allocations: 425.2 kB / 0.5303 GB, free: 7.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.1163, allocations: 65.72 kB / 0.5304 GB, free: 7.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1165, allocations: 284.8 kB / 0.5306 GB, free: 6.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1166, allocations: 194.6 kB / 0.5308 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.1168, allocations: 226.6 kB / 0.531 GB, free: 6.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1169, allocations: 374.7 kB / 0.5314 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.1175, allocations: 0.8132 MB / 0.5322 GB, free: 5.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.1182, allocations: 1.251 MB / 0.5334 GB, free: 3.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.1197, allocations: 1.802 MB / 0.5352 GB, free: 1.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.1197, allocations: 0 / 0.5352 GB, free: 1.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001824/0.1215, allocations: 2.303 MB / 0.5374 GB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.1217, allocations: 374.6 kB / 0.5378 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001067/0.1228, allocations: 1.24 MB / 0.539 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.123, allocations: 72.81 kB / 0.5391 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1232, allocations: 119.7 kB / 0.5392 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003192/0.1235, allocations: 0.615 MB / 0.5398 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1238, allocations: 135.2 kB / 0.5399 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.1239, allocations: 55.98 kB / 0.54 GB, free: 12.54 MB / 410.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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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.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,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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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,$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.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.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_,$whenCondition2) * 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.0006075/0.1245, allocations: 0.7606 MB / 0.5407 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1246, allocations: 79.67 kB / 0.5408 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.1269, allocations: 2.229 MB / 0.543 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.1269, allocations: 8 kB / 0.543 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1269, allocations: 0 / 0.543 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.127, allocations: 0 / 0.543 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1294, allocations: 2.81 MB / 0.5457 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001798/0.1312, allocations: 2.127 MB / 0.5478 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.1313, allocations: 27.92 kB / 0.5478 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.1314, allocations: 56.81 kB / 0.5479 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.1314, allocations: 35.98 kB / 0.5479 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002939/0.1317, allocations: 0.5953 MB / 0.5485 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1317, allocations: 3.938 kB / 0.5485 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1664/0.2982, allocations: 3.762 MB / 0.5522 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.2983, allocations: 57.41 kB / 0.5522 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.2985, allocations: 74.19 kB / 0.5523 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.2988, allocations: 70.95 kB / 0.5524 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.2992, allocations: 258.5 kB / 0.5526 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/0.2993, allocations: 46.31 kB / 0.5526 GB, free: 48.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.2996, allocations: 241 kB / 0.5529 GB, free: 48.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2996, allocations: 0 / 0.5529 GB, free: 48.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008314/0.3004, allocations: 336.1 kB / 0.5532 GB, free: 48.79 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: 57 ($whenCondition1,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.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],$cse2[1],$whenCondition3,$whenCondition2,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.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,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.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut) * 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.003915/0.3043, allocations: 4.573 MB / 0.5577 GB, free: 46.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.3064, allocations: 2.742 MB / 0.5603 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3064, allocations: 1.938 kB / 0.5603 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.3074, allocations: 1.669 MB / 0.562 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3078, allocations: 87.25 kB / 0.5621 GB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.3158, allocations: 9.907 MB / 0.5717 GB, free: 36.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3161, allocations: 340.9 kB / 0.5721 GB, free: 36.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.3163, allocations: 141.9 kB / 0.5722 GB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3165, allocations: 201 kB / 0.5724 GB, free: 36.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3165, allocations: 1.094 kB / 0.5724 GB, free: 36.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09941/0.4159, allocations: 19.36 MB / 0.5913 GB, free: 20.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.599, allocations: 12.05 kB / 0.5913 GB, free: 20.56 MB / 410.7 MB " [Timeout remaining time 651] (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: 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.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: 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.PCtoTC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTC_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.72301712166518]