Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.0007736/0.0007736, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002182, allocations: 443.8 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.0007811/0.0007811, allocations: 145.2 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000986/0.001767, allocations: 479.5 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.032/1.032, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08586/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.06658/0.06658, allocations: 12.67 MB / 256.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006706/0.07329, allocations: 4.691 MB / 261.3 MB, free: 13.66 MB / 266.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.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.342e-05, allocations: 2.312 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002562/0.002576, allocations: 1.88 MB / 264.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.005286, allocations: 1.555 MB / 265.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.005464, allocations: 11.94 kB / 265.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006287/0.01175, allocations: 130.9 kB / 266.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.01206, allocations: 139 kB / 266.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01309, allocations: 0.6623 MB / 266.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.01426, allocations: 1.245 MB / 268.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.01443, allocations: 73.02 kB / 268.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.02124, allocations: 0.7393 MB / 268.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.02166, allocations: 295 kB / 269.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.02177, allocations: 72 kB / 269.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.02258, allocations: 0.5685 MB / 269.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.02272, allocations: 135.4 kB / 270 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.02292, allocations: 179.7 kB / 270.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.02972, allocations: 0.814 MB / 271 MB, free: 3.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.02974, allocations: 0 / 271 MB, free: 3.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.02974, allocations: 0 / 271 MB, free: 3.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.02975, allocations: 0 / 271 MB, free: 3.93 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.001193/0.03094, allocations: 1.168 MB / 272.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.03098, allocations: 19.98 kB / 272.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.03108, allocations: 118.6 kB / 272.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.03158, allocations: 269.9 kB / 272.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.03198, allocations: 264.8 kB / 272.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.03214, allocations: 219.8 kB / 273 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.03224, allocations: 75.98 kB / 273.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.03964, allocations: 1.199 MB / 274.3 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.03966, allocations: 4 kB / 274.3 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.03973, allocations: 31.98 kB / 274.3 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.03981, allocations: 52.95 kB / 274.4 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1045/0.1443, allocations: 0.6717 MB / 275 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.1462, allocations: 2.121 MB / 277.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.1467, allocations: 0.7349 MB / 277.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.147, allocations: 0.5684 MB / 278.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/0.1475, allocations: 349.4 kB / 278.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.1481, allocations: 0.8766 MB / 279.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.482e-06/0.1481, allocations: 0.5625 kB / 279.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.00119/0.1493, allocations: 1.811 MB / 281.5 MB, free: 4.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.1494, allocations: 0.5767 MB / 282.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1496, allocations: 336.5 kB / 282.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.1496, allocations: 62.08 kB / 282.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.1497, allocations: 237 kB / 282.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1498, allocations: 192.2 kB / 282.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.15, allocations: 205.1 kB / 283.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.1501, allocations: 373.2 kB / 283.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1503, allocations: 457.4 kB / 283.9 MB, free: 2.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1507, allocations: 0.8577 MB / 284.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.1514, allocations: 1.489 MB / 286.2 MB, free: 392 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.1514, allocations: 3.781 kB / 286.2 MB, free: 392 kB / 266.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0008698/0.1523, allocations: 1.257 MB / 287.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.1524, allocations: 343.9 kB / 287.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002703/0.1527, allocations: 427.6 kB / 288.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1527, allocations: 18 kB / 288.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.153, allocations: 174.6 kB / 288.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.153, allocations: 24.27 kB / 288.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1532, allocations: 108.3 kB / 288.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.1533, allocations: 44.14 kB / 288.6 MB, free: 15 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: 46 * 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 (117): * Single equations (assignments): 105 * 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.000433/0.1537, allocations: 0.6369 MB / 289.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1539, allocations: 104.3 kB / 289.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008827/0.1547, allocations: 0.9661 MB / 290.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1547, allocations: 7.281 kB / 290.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1547, allocations: 2.5 kB / 290.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1548, allocations: 3.391 kB / 290.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1561, allocations: 1.549 MB / 291.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006071/0.1567, allocations: 0.8983 MB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.1568, allocations: 32.48 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1568, allocations: 7.688 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.1569, allocations: 33.55 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1569, allocations: 0 / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1569, allocations: 2.5 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1582, allocations: 2.263 MB / 295.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1582, allocations: 52.89 kB / 295.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.1583, allocations: 69.08 kB / 295.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1585, allocations: 53.17 kB / 295.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.1586, allocations: 86.72 kB / 295.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.1587, allocations: 41.55 kB / 295.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.1588, allocations: 100.5 kB / 295.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1588, allocations: 0 / 295.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.1593, allocations: 285.3 kB / 295.8 MB, free: 11.57 MB / 282.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 (36): * Single equations (assignments): 23 * 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.002197/0.1615, allocations: 3.004 MB / 298.8 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1625, allocations: 1.948 MB / 300.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.1625, allocations: 4 kB / 300.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.1632, allocations: 1.274 MB / 302 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1635, allocations: 116.2 kB / 302.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.167, allocations: 4.374 MB / 306.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.1671, allocations: 163.7 kB / 306.7 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1672, allocations: 71.16 kB / 306.7 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.1678, allocations: 428.3 kB / 307.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1678, allocations: 0 / 307.1 MB, free: 15.99 MB / 298.7 MB Notification: FMU-only work: backend 0.001712, simCode 0.001823, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.2762, allocations: 18.8 MB / 325.9 MB, free: 13.46 MB / 314.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.498/2.775, allocations: 15.84 kB / 326 MB, free: 13.45 MB / 314.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.637282431125641]