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.001484/0.001484, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001104/0.001104, allocations: 215.5 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.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.05368/0.05368, allocations: 16.96 MB / 329.4 MB, free: 1.16 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.89 kB / 461.3 MB, free: 26.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08802, allocations: 57.64 MB / 0.5067 GB, free: 1.195 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002386/0.0904, allocations: 1.804 MB / 0.5085 GB, free: 15.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.09238, allocations: 1.509 MB / 0.51 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.09258, allocations: 11.94 kB / 0.51 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.09285, allocations: 127 kB / 0.5101 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.09321, allocations: 151 kB / 0.5102 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.09433, allocations: 0.6847 MB / 0.5109 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.0954, allocations: 1.272 MB / 0.5122 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.09555, allocations: 76.2 kB / 0.5122 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.09598, allocations: 0.5103 MB / 0.5127 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.09638, allocations: 342.2 kB / 0.5131 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.349e-05/0.09647, allocations: 72 kB / 0.5131 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.09706, allocations: 0.5265 MB / 0.5136 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.0972, allocations: 159.3 kB / 0.5138 GB, free: 9.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.09739, allocations: 286.7 kB / 0.5141 GB, free: 9.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.09854, allocations: 1.032 MB / 0.5151 GB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09855, allocations: 0 / 0.5151 GB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09855, allocations: 0 / 0.5151 GB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.09856, allocations: 8 kB / 0.5151 GB, free: 8.621 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.001303/0.09987, allocations: 1.254 MB / 0.5163 GB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.0999, allocations: 12.03 kB / 0.5163 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.8e-05/0.1, allocations: 118.7 kB / 0.5164 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.1004, allocations: 140.4 kB / 0.5166 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.1008, allocations: 352.9 kB / 0.5169 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.1009, allocations: 215.5 kB / 0.5171 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.101, allocations: 72 kB / 0.5172 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.1023, allocations: 1.579 MB / 0.5187 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1023, allocations: 0 / 0.5187 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1023, allocations: 35.98 kB / 0.5187 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.1024, allocations: 52.95 kB / 0.5188 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1034, allocations: 1.1 MB / 0.5199 GB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.1059, allocations: 2.463 MB / 0.5223 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.1067, allocations: 0.8981 MB / 0.5232 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.1072, allocations: 0.7861 MB / 0.5239 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/0.1078, allocations: 332.1 kB / 0.5242 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007772/0.1086, allocations: 1.019 MB / 0.5252 GB, free: 13.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/0.1086, allocations: 0 / 0.5252 GB, free: 13.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002267/0.1109, allocations: 2.654 MB / 0.5278 GB, free: 10.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005004/0.1114, allocations: 0.5749 MB / 0.5284 GB, free: 9.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.1116, allocations: 392.3 kB / 0.5288 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1117, allocations: 65.69 kB / 0.5288 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1118, allocations: 272.9 kB / 0.5291 GB, free: 9.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1119, allocations: 190.6 kB / 0.5293 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.1121, allocations: 206.6 kB / 0.5295 GB, free: 8.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1122, allocations: 370.7 kB / 0.5298 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.1127, allocations: 0.6414 MB / 0.5304 GB, free: 7.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.1133, allocations: 1.067 MB / 0.5315 GB, free: 6.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.115, allocations: 2.126 MB / 0.5336 GB, free: 4.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.115, allocations: 4 kB / 0.5336 GB, free: 4.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001842/0.1168, allocations: 1.877 MB / 0.5354 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.117, allocations: 346.7 kB / 0.5357 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005579/0.1175, allocations: 0.7027 MB / 0.5364 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.1176, allocations: 20 kB / 0.5364 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1178, allocations: 119.8 kB / 0.5366 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1178, allocations: 19.94 kB / 0.5366 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.118, allocations: 115.3 kB / 0.5367 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.1181, allocations: 52 kB / 0.5367 GB, free: 0.5234 MB / 394.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.0005827/0.1186, allocations: 0.718 MB / 0.5374 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1188, allocations: 75.66 kB / 0.5375 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.1202, allocations: 1.67 MB / 0.5391 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1203, allocations: 7.938 kB / 0.5391 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1203, allocations: 0 / 0.5391 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1203, allocations: 7.984 kB / 0.5391 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.1227, allocations: 2.412 MB / 0.5415 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001286/0.124, allocations: 1.599 MB / 0.5431 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.1241, allocations: 31.98 kB / 0.5431 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1241, allocations: 0 / 0.5431 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.1242, allocations: 39.97 kB / 0.5431 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1242, allocations: 3.938 kB / 0.5431 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1242, allocations: 4 kB / 0.5431 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.1267, allocations: 3.22 MB / 0.5463 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1268, allocations: 55.55 kB / 0.5463 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.1269, allocations: 67.98 kB / 0.5464 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1271, allocations: 55.89 kB / 0.5465 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1272, allocations: 95.88 kB / 0.5466 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.1273, allocations: 39.98 kB / 0.5466 GB, free: 5.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1274, allocations: 231.1 kB / 0.5468 GB, free: 5.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1274, allocations: 0 / 0.5468 GB, free: 5.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007156/0.1281, allocations: 283.6 kB / 0.5471 GB, free: 5.414 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.003463/0.1316, allocations: 4.024 MB / 0.551 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1661/0.2977, allocations: 2.383 MB / 0.5533 GB, free: 48.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2977, allocations: 1.406 kB / 0.5533 GB, free: 48.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.2987, allocations: 1.483 MB / 0.5548 GB, free: 47.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2991, allocations: 85.17 kB / 0.5549 GB, free: 47.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.3055, allocations: 8.762 MB / 0.5634 GB, free: 41.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3057, allocations: 310.7 kB / 0.5637 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.306, allocations: 118.9 kB / 0.5638 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3061, allocations: 182.2 kB / 0.564 GB, free: 41.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3061, allocations: 0 / 0.564 GB, free: 41.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/0.3945, allocations: 16.23 MB / 0.5799 GB, free: 33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.12, allocations: 13.31 kB / 0.5799 GB, free: 33 MB / 410.7 MB " [Timeout remaining time 653] (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,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] "" 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,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-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC_OMSimulator-cs-euler.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-euler.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.102210942655802]