Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.001081/0.001081, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002319, 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.001095/0.001095, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002328, 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.015/1.015, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1552/1.17, allocations: 53.66 MB / 243.2 MB, free: 2.402 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.08336/0.08336, allocations: 12.66 MB / 256.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02049/0.1039, allocations: 4.694 MB / 261.3 MB, free: 0.5781 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.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",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.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.857e-05, allocations: 6.312 kB / 262.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002729/0.002748, allocations: 1.879 MB / 264.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008768/0.01152, allocations: 1.551 MB / 265.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.01184, allocations: 7.938 kB / 265.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.0121, allocations: 131 kB / 266 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.01246, allocations: 150.9 kB / 266.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.01438, allocations: 0.6507 MB / 266.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.0158, allocations: 1.244 MB / 268.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.01598, allocations: 77.02 kB / 268.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.01683, allocations: 0.7387 MB / 268.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.01731, allocations: 291.1 kB / 269.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.01742, allocations: 75.94 kB / 269.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.01826, allocations: 0.5537 MB / 269.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.01842, allocations: 131.5 kB / 269.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.01866, allocations: 187.6 kB / 270.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009958/0.01965, allocations: 0.8101 MB / 270.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.01966, allocations: 4 kB / 270.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01966, allocations: 0 / 270.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.01968, allocations: 0 / 270.9 MB, free: 6.859 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001363/0.02104, allocations: 1.168 MB / 272.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.02108, allocations: 8.031 kB / 272.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.0212, allocations: 122.6 kB / 272.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00057/0.02177, allocations: 273.9 kB / 272.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.02216, allocations: 272.8 kB / 272.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.02231, allocations: 215.8 kB / 273 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.02242, allocations: 75.92 kB / 273.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.02365, allocations: 1.206 MB / 274.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.02367, allocations: 0 / 274.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.02373, allocations: 28 kB / 274.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-05/0.02382, allocations: 56.89 kB / 274.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.02459, allocations: 0.6886 MB / 275 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.02701, allocations: 2.101 MB / 277.1 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.0277, allocations: 0.7278 MB / 277.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.02819, allocations: 0.5564 MB / 278.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.02891, allocations: 352.1 kB / 278.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/0.0297, allocations: 0.8495 MB / 279.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.013e-06/0.0297, allocations: 3.938 kB / 279.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.001726/0.03143, allocations: 1.776 MB / 281.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002555/0.03168, allocations: 0.5791 MB / 282 MB, free: 10.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.03194, allocations: 354.5 kB / 282.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.03201, allocations: 57.7 kB / 282.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.03215, allocations: 249.4 kB / 282.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.03231, allocations: 190.6 kB / 282.8 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.03254, allocations: 202.4 kB / 283 MB, free: 9.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.03266, allocations: 366.7 kB / 283.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.03302, allocations: 463.8 kB / 283.8 MB, free: 8.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.03359, allocations: 0.8723 MB / 284.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.03476, allocations: 1.514 MB / 286.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.03477, allocations: 8 kB / 286.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001159/0.03593, allocations: 1.261 MB / 287.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.03611, allocations: 346.7 kB / 287.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000385/0.0365, allocations: 430.4 kB / 288.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.03652, allocations: 16 kB / 288.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.03696, allocations: 171.7 kB / 288.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.03698, allocations: 23.92 kB / 288.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.03735, allocations: 123.2 kB / 288.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.03742, allocations: 40 kB / 288.6 MB, free: 3.289 MB / 282.7 MB Warning: Assuming fixed start value for the following 21 variables: 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 T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.reStart,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.enabledByInPlaces,T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007012/0.03813, allocations: 0.6377 MB / 289.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.03832, allocations: 111.8 kB / 289.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.03937, allocations: 0.9473 MB / 290.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.03938, allocations: 4 kB / 290.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.03938, allocations: 8 kB / 290.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.03939, allocations: 4 kB / 290.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.04133, allocations: 1.53 MB / 291.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008781/0.04221, allocations: 0.8763 MB / 292.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.04234, allocations: 27.98 kB / 292.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.04235, allocations: 7.984 kB / 292.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.04241, allocations: 31.98 kB / 292.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.04242, allocations: 4 kB / 292.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.04242, allocations: 3.938 kB / 292.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.04459, allocations: 2.237 MB / 295 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.04464, allocations: 59.53 kB / 295.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.04479, allocations: 59.98 kB / 295.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.04507, allocations: 51.95 kB / 295.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.04521, allocations: 86.73 kB / 295.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.04526, allocations: 43.91 kB / 295.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.04534, allocations: 104.6 kB / 295.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04534, allocations: 0 / 295.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005762/0.04591, allocations: 299.5 kB / 295.7 MB, free: 11.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,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,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002054/0.04797, allocations: 2.979 MB / 298.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.04907, allocations: 1.948 MB / 300.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.04908, allocations: 4 kB / 300.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.04982, allocations: 1.27 MB / 301.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.05008, allocations: 104.8 kB / 302 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.05345, allocations: 4.358 MB / 306.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.546e-05/0.05354, allocations: 151.4 kB / 306.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.05366, allocations: 64.39 kB / 306.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.05415, allocations: 443.1 kB / 307 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.05416, allocations: 0 / 307 MB, free: 15.29 MB / 314.7 MB Notification: FMU-only work: backend 0.001525, simCode 0.001669, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09498/0.1491, allocations: 18.71 MB / 325.7 MB, free: 12.59 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.534/2.683, allocations: 19.41 kB / 325.7 MB, free: 12.57 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_HybTest_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_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.HybTest.TDtoPC_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_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.HybTest.TDtoPC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPC_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_HybTest_TDtoPC_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:time,P1.t_ filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.588117995299399]