Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 169.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0489/0.0489, allocations: 12.65 MB / 271.8 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 403 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.211e-05, allocations: 5.234 kB / 403 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002925/0.002947, allocations: 1.818 MB / 404.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.005708, allocations: 1.52 MB / 406.3 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.005987, allocations: 11.94 kB / 406.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.006314, allocations: 127 kB / 406.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.006746, allocations: 151 kB / 406.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.007981, allocations: 0.6874 MB / 407.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.009198, allocations: 1.272 MB / 408.6 MB, free: 4.301 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.009376, allocations: 64.41 kB / 408.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.01007, allocations: 0.7213 MB / 409.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.0105, allocations: 295 kB / 409.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.0106, allocations: 72 kB / 409.7 MB, free: 3.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.0113, allocations: 0.5342 MB / 410.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.01147, allocations: 163.2 kB / 410.4 MB, free: 2.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.01173, allocations: 235.4 kB / 410.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.01287, allocations: 1.157 MB / 411.8 MB, free: 1.062 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01288, allocations: 0 / 411.8 MB, free: 1.062 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01288, allocations: 0 / 411.8 MB, free: 1.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.01289, allocations: 3.938 kB / 411.8 MB, free: 1.059 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001433/0.01432, allocations: 1.25 MB / 413.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.01436, allocations: 12.03 kB / 413.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.01448, allocations: 118.7 kB / 413.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.01485, allocations: 140.4 kB / 413.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.01522, allocations: 348.8 kB / 413.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.01533, allocations: 215.8 kB / 413.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.0154, allocations: 72 kB / 413.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.01667, allocations: 1.571 MB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.01668, allocations: 4 kB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.01673, allocations: 39.97 kB / 415.6 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.01679, allocations: 44.97 kB / 415.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.01776, allocations: 1.108 MB / 416.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.01978, allocations: 2.452 MB / 419.2 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.02052, allocations: 0.8981 MB / 420.1 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.02107, allocations: 0.7811 MB / 420.8 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.02158, allocations: 332 kB / 421.2 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007402/0.02232, allocations: 1.019 MB / 422.2 MB, free: 5.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.624e-06/0.02232, allocations: 0 / 422.2 MB, free: 5.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002084/0.02441, allocations: 2.66 MB / 424.8 MB, free: 3.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.0246, allocations: 0.5788 MB / 425.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.02493, allocations: 392.1 kB / 425.8 MB, free: 2.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.02498, allocations: 57.97 kB / 425.9 MB, free: 1.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.02509, allocations: 269 kB / 426.1 MB, free: 1.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.0252, allocations: 190.6 kB / 426.3 MB, free: 1.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.02536, allocations: 206.6 kB / 426.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.02546, allocations: 370.8 kB / 426.9 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.02589, allocations: 0.6414 MB / 427.5 MB, free: 252 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.02647, allocations: 1.075 MB / 428.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.02802, allocations: 2.131 MB / 430.7 MB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.02803, allocations: 7.938 kB / 430.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00144/0.02947, allocations: 1.882 MB / 432.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.02959, allocations: 342.7 kB / 433 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000538/0.03013, allocations: 0.7021 MB / 433.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.03015, allocations: 20 kB / 433.7 MB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.03035, allocations: 119.8 kB / 433.8 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.03037, allocations: 23.88 kB / 433.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.03061, allocations: 111.3 kB / 433.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.03066, allocations: 48 kB / 434 MB, free: 8.98 MB / 410.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.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,$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.anytrue,P1.delayPassedOut.numtrue,$whenCondition1,P1.emptying.anytrue,P1.emptying.numtrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.T1.firingTime,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.fireIn[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.03114, allocations: 0.728 MB / 434.7 MB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.03123, allocations: 67.67 kB / 434.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.03268, allocations: 1.671 MB / 436.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.03268, allocations: 7.984 kB / 436.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.03269, allocations: 7.984 kB / 436.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03269, allocations: 0 / 436.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.03481, allocations: 2.418 MB / 438.9 MB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001343/0.03615, allocations: 1.597 MB / 440.5 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.03623, allocations: 23.98 kB / 440.5 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.03624, allocations: 7.984 kB / 440.5 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.03629, allocations: 31.98 kB / 440.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.03629, allocations: 4 kB / 440.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03629, allocations: 0 / 440.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1179/0.1542, allocations: 3.227 MB / 443.8 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.1542, allocations: 57.95 kB / 443.8 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1544, allocations: 62.83 kB / 443.9 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1546, allocations: 52.59 kB / 443.9 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1547, allocations: 93.33 kB / 444 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.1548, allocations: 39.22 kB / 444.1 MB, free: 80.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1549, allocations: 229.3 kB / 444.3 MB, free: 79.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1549, allocations: 0 / 444.3 MB, free: 79.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006637/0.1556, allocations: 296.1 kB / 444.6 MB, free: 79.94 MB / 410.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.numtrue,P1.emptying.anytrue,$whenCondition1,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002722/0.1583, allocations: 4.026 MB / 448.6 MB, free: 77.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.1596, allocations: 2.386 MB / 451 MB, free: 75.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1596, allocations: 0 / 451 MB, free: 75.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.1603, allocations: 1.489 MB / 452.5 MB, free: 74.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1606, allocations: 86.69 kB / 452.6 MB, free: 74.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.166, allocations: 8.75 MB / 461.3 MB, free: 68.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.1662, allocations: 320.9 kB / 461.6 MB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000174/0.1664, allocations: 120.1 kB / 461.7 MB, free: 68.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1665, allocations: 178 kB / 461.9 MB, free: 68.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1665, allocations: 0 / 461.9 MB, free: 68.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07793/0.2444, allocations: 16.31 MB / 478.2 MB, free: 65.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.073, allocations: 20.64 kB / 478.2 MB, free: 65.89 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingProbIn[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,_D_OMC_D_CF_D_init1[1],_D_OMC_D_CF_D_sim1[1],der(P1.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPC_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_HybTest_TDtoPC.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.788357785902917]