Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.001101/0.001101, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0019/0.003001, 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.001146/0.001146, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002641, 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.11/1.11, allocations: 177.1 MB / 189.5 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.161/1.271, allocations: 53.66 MB / 243.2 MB, free: 2.391 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.1023/0.1023, allocations: 12.67 MB / 256.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01011/0.1124, allocations: 4.683 MB / 261.3 MB, free: 0.5664 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.PCtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTDfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTDfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 262.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.134e-05, allocations: 13.06 kB / 262.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.006667/0.006689, allocations: 1.872 MB / 264.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.009185, allocations: 1.555 MB / 265.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.009427, allocations: 11.94 kB / 265.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005309/0.01474, allocations: 127 kB / 266 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.01511, allocations: 158.9 kB / 266.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.01649, allocations: 0.6545 MB / 266.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004302/0.02079, allocations: 1.26 MB / 268.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.02098, allocations: 77.88 kB / 268.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.02178, allocations: 0.7465 MB / 268.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.02229, allocations: 319 kB / 269.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.02242, allocations: 80 kB / 269.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008015/0.02322, allocations: 0.5641 MB / 269.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.02337, allocations: 151.3 kB / 270 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003255/0.02663, allocations: 203.6 kB / 270.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009938/0.02762, allocations: 0.8803 MB / 271.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.02763, allocations: 0 / 271.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02763, allocations: 0 / 271.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.02765, allocations: 3.938 kB / 271.1 MB, free: 6.668 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.001485/0.02914, allocations: 1.23 MB / 272.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.02917, allocations: 8.031 kB / 272.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.02931, allocations: 134.5 kB / 272.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.03315, allocations: 289.8 kB / 272.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.03351, allocations: 264.9 kB / 273 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.03365, allocations: 227.6 kB / 273.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.03375, allocations: 83.94 kB / 273.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.03505, allocations: 1.307 MB / 274.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.03507, allocations: 3.938 kB / 274.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.03514, allocations: 43.97 kB / 274.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.03524, allocations: 57.27 kB / 274.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.036, allocations: 0.7568 MB / 275.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.03838, allocations: 2.386 MB / 277.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.03914, allocations: 0.7925 MB / 278.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.03971, allocations: 0.6187 MB / 279.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006918/0.0404, allocations: 339.8 kB / 279.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008037/0.04121, allocations: 0.9364 MB / 280.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.04121, allocations: 0 / 280.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001931/0.04314, allocations: 1.946 MB / 282.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/0.04342, allocations: 0.5944 MB / 283.1 MB, free: 9.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.04371, allocations: 382.8 kB / 283.5 MB, free: 9.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.04379, allocations: 61.69 kB / 283.5 MB, free: 9.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.04394, allocations: 265.2 kB / 283.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.0441, allocations: 198.5 kB / 284 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.04437, allocations: 222.4 kB / 284.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.04451, allocations: 374.6 kB / 284.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.04495, allocations: 0.5115 MB / 285.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.04561, allocations: 0.9785 MB / 286.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.04688, allocations: 1.658 MB / 287.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.04689, allocations: 0 / 287.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001341/0.04823, allocations: 1.402 MB / 289.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.04842, allocations: 354.7 kB / 289.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004795/0.0489, allocations: 0.5105 MB / 290 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.04893, allocations: 16.72 kB / 290 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.04939, allocations: 183.7 kB / 290.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.04941, allocations: 31.92 kB / 290.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.04983, allocations: 127.2 kB / 290.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/0.04991, allocations: 51.98 kB / 290.4 MB, free: 1.441 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: 53 * 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 (127): * Single equations (assignments): 115 * 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.0006645/0.05058, allocations: 0.6694 MB / 291.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.05077, allocations: 103.9 kB / 291.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.05197, allocations: 1.049 MB / 292.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.05198, allocations: 7.984 kB / 292.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.05198, allocations: 4 kB / 292.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.05199, allocations: 4 kB / 292.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.05406, allocations: 1.663 MB / 293.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009945/0.05505, allocations: 0.9704 MB / 294.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.0552, allocations: 35.91 kB / 294.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.05521, allocations: 4 kB / 294.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.05528, allocations: 43.91 kB / 294.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.05529, allocations: 4 kB / 294.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.05529, allocations: 0 / 294.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.05768, allocations: 2.425 MB / 297.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.05774, allocations: 63.48 kB / 297.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.05789, allocations: 71.97 kB / 297.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.05822, allocations: 59.95 kB / 297.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.05868, allocations: 294.5 kB / 297.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.05877, allocations: 35.98 kB / 297.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.05889, allocations: 112.7 kB / 298 MB, free: 9.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05889, allocations: 0 / 298 MB, free: 9.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009966/0.05988, allocations: 319.5 kB / 298.3 MB, free: 9.008 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 (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.003307/0.06319, allocations: 3.167 MB / 301.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.06518, allocations: 2.117 MB / 303.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/0.0652, allocations: 8.5 kB / 303.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.06628, allocations: 1.344 MB / 304.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.06684, allocations: 112 kB / 305 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.07265, allocations: 4.635 MB / 309.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.07279, allocations: 171.6 kB / 309.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.07307, allocations: 64.58 kB / 309.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.07381, allocations: 459.1 kB / 310.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.833e-06/0.07381, allocations: 0 / 310.4 MB, free: 11.86 MB / 314.7 MB Notification: FMU-only work: backend 0.002524, simCode 0.002955, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.1769, allocations: 21.03 MB / 331.4 MB, free: 6.809 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.517/2.694, allocations: 18.41 kB / 331.4 MB, free: 6.793 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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_PCtoTDfunction.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.PCtoTDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.PCtoTDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.PCtoTDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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_PCtoTDfunction_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.628632782027125]