Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.001035/0.001035, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002467, 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.0007142/0.0007142, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008931/0.001607, 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 0.9964/0.9964, allocations: 177.1 MB / 189.5 MB, free: 3.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1645/1.161, allocations: 53.67 MB / 243.2 MB, free: 2.375 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.04904/0.04904, allocations: 12.66 MB / 256.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006771/0.05581, allocations: 4.69 MB / 261.3 MB, free: 0.5547 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.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 262.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.466e-06/1.013e-05, allocations: 2.312 kB / 262.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002913/0.002923, allocations: 1.876 MB / 264.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.005334, allocations: 1.555 MB / 265.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.005492, allocations: 11.94 kB / 265.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.005706, allocations: 131 kB / 266.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.005984, allocations: 154.9 kB / 266.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.006861, allocations: 0.6468 MB / 266.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.007834, allocations: 1.268 MB / 268.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.00798, allocations: 73.83 kB / 268.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.008563, allocations: 0.7465 MB / 268.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.008925, allocations: 315 kB / 269.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.215e-05/0.009018, allocations: 84 kB / 269.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006223/0.00964, allocations: 0.5683 MB / 269.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.009764, allocations: 143.4 kB / 270 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.009945, allocations: 203.6 kB / 270.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.01072, allocations: 0.8841 MB / 271.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.01073, allocations: 4 kB / 271.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01073, allocations: 0 / 271.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.01074, allocations: 3.938 kB / 271.1 MB, free: 6.648 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001091/0.01183, allocations: 1.222 MB / 272.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01186, allocations: 16.02 kB / 272.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.01197, allocations: 126.6 kB / 272.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.01239, allocations: 289.8 kB / 272.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.0127, allocations: 264.9 kB / 273 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.01282, allocations: 223.6 kB / 273.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.01291, allocations: 87.94 kB / 273.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.01391, allocations: 1.311 MB / 274.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01393, allocations: 0 / 274.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.01399, allocations: 39.98 kB / 274.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-05/0.01406, allocations: 61.27 kB / 274.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.01476, allocations: 0.7633 MB / 275.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.01671, allocations: 2.362 MB / 277.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.01739, allocations: 0.7825 MB / 278.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.01777, allocations: 0.6149 MB / 279.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.01825, allocations: 356 kB / 279.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/0.01883, allocations: 0.9042 MB / 280.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.563e-06/0.01883, allocations: 0 / 280.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.001543/0.02037, allocations: 1.92 MB / 282.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/0.02058, allocations: 0.5944 MB / 283 MB, free: 9.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.0208, allocations: 390.7 kB / 283.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.02086, allocations: 57.69 kB / 283.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.02097, allocations: 277.1 kB / 283.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.02108, allocations: 186.6 kB / 283.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.02125, allocations: 226.4 kB / 284.2 MB, free: 8.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.02134, allocations: 378.9 kB / 284.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.02164, allocations: 0.5193 MB / 285 MB, free: 7.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.0221, allocations: 0.9721 MB / 286 MB, free: 6.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.02299, allocations: 1.667 MB / 287.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.02299, allocations: 8 kB / 287.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001122/0.02412, allocations: 1.414 MB / 289.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.02425, allocations: 362.9 kB / 289.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003169/0.02457, allocations: 0.5179 MB / 290 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.02458, allocations: 16 kB / 290 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.02488, allocations: 183.7 kB / 290.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.0249, allocations: 23.92 kB / 290.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.02514, allocations: 135.2 kB / 290.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.02519, allocations: 51.98 kB / 290.4 MB, free: 1.434 MB / 282.7 MB Warning: Assuming fixed start value for the following 21 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 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.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 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: 55 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue,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.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[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],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 117 * 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.000413/0.02561, allocations: 0.6639 MB / 291 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.02572, allocations: 107.9 kB / 291.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.02648, allocations: 1.037 MB / 292.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.02649, allocations: 8 kB / 292.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02649, allocations: 4 kB / 292.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.0265, allocations: 3.984 kB / 292.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.02779, allocations: 1.647 MB / 293.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006071/0.0284, allocations: 0.9655 MB / 294.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.02849, allocations: 27.98 kB / 294.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02849, allocations: 0 / 294.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.02854, allocations: 47.91 kB / 294.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02854, allocations: 0 / 294.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02854, allocations: 4 kB / 294.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.03007, allocations: 2.409 MB / 297.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.0301, allocations: 55.48 kB / 297.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.0302, allocations: 59.98 kB / 297.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.0304, allocations: 63.97 kB / 297.5 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.03071, allocations: 302.5 kB / 297.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.03077, allocations: 39.97 kB / 297.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.535e-05/0.03084, allocations: 116.7 kB / 297.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03084, allocations: 4 kB / 297.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005119/0.03135, allocations: 311.5 kB / 298.2 MB, free: 9.062 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.feeding.anytrue,P1.feeding.numtrue,$whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.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.disMarksOut.numtrue,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,P1.feeding.numtrue,P1.feeding.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.002076/0.03343, allocations: 3.155 MB / 301.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.03479, allocations: 2.098 MB / 303.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.0348, allocations: 8.5 kB / 303.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.03549, allocations: 1.329 MB / 304.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.03577, allocations: 117 kB / 304.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.03931, allocations: 4.637 MB / 309.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.0394, allocations: 167.4 kB / 309.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.03952, allocations: 64.66 kB / 309.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/0.04006, allocations: 455.1 kB / 310.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04006, allocations: 4 kB / 310.2 MB, free: 11.95 MB / 314.7 MB Notification: FMU-only work: backend 0.001601, simCode 0.001876, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/0.2006, allocations: 20.94 MB / 331.2 MB, free: 7 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.643/2.844, allocations: 23.28 kB / 331.2 MB, free: 6.977 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.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.PCtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.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.PCtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.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.PCtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTD_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_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.PCtoTD_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.PCtoTD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTD_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.PCtoTD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_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.PCtoTD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTD_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_PCtoTD_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.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.PCtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.PCtoTD_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.PCtoTD_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_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.PCtoTD_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_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.4517436707392335]