Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001512/0.001512, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.9635/0.9635, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.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.05997/0.05997, allocations: 12.66 MB / 271.9 MB, free: 0.7734 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 403.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.749e-05, allocations: 5.234 kB / 403.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002963/0.002981, allocations: 1.814 MB / 405.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.005586, allocations: 1.532 MB / 407.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.005808, allocations: 7.938 kB / 407.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.006151, allocations: 134.9 kB / 407.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.006601, allocations: 146.9 kB / 407.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.007753, allocations: 0.6927 MB / 408.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.008952, allocations: 1.283 MB / 409.4 MB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.009153, allocations: 65.25 kB / 409.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.009864, allocations: 0.733 MB / 410.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.0103, allocations: 311 kB / 410.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.01041, allocations: 84 kB / 410.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.01114, allocations: 0.5459 MB / 411.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.01134, allocations: 175.2 kB / 411.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.01165, allocations: 271.3 kB / 411.6 MB, free: 1.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.01316, allocations: 1.27 MB / 412.9 MB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01316, allocations: 4 kB / 412.9 MB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01317, allocations: 0 / 412.9 MB, free: 32 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.01317, allocations: 0 / 412.9 MB, free: 32 kB / 378.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.001645/0.01482, allocations: 1.304 MB / 414.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01486, allocations: 8.031 kB / 414.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.01502, allocations: 130.7 kB / 414.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.01556, allocations: 144.4 kB / 414.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.01614, allocations: 376.6 kB / 414.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.01631, allocations: 219.6 kB / 415 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.01644, allocations: 87.97 kB / 415.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.01857, allocations: 1.749 MB / 416.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.0186, allocations: 3.938 kB / 416.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.01869, allocations: 39.98 kB / 416.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-05/0.01879, allocations: 57.27 kB / 417 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.0205, allocations: 1.246 MB / 418.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.02388, allocations: 2.68 MB / 420.9 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.02507, allocations: 0.9763 MB / 421.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009161/0.02599, allocations: 0.8503 MB / 422.7 MB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.02661, allocations: 332 kB / 423 MB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.02749, allocations: 1.108 MB / 424.1 MB, free: 4.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.585e-06/0.0275, allocations: 7.984 kB / 424.1 MB, free: 4.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002451/0.02995, allocations: 2.904 MB / 427 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/0.03017, allocations: 0.5945 MB / 427.6 MB, free: 232 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.03047, allocations: 433.1 kB / 428.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.03053, allocations: 65.69 kB / 428.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.03067, allocations: 288.7 kB / 428.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.03078, allocations: 198.6 kB / 428.6 MB, free: 15.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.03098, allocations: 226.6 kB / 428.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.03109, allocations: 375 kB / 429.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.03164, allocations: 0.7624 MB / 430 MB, free: 13.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.03238, allocations: 1.226 MB / 431.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.03421, allocations: 2.482 MB / 433.7 MB, free: 9.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.03422, allocations: 8 kB / 433.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001676/0.03589, allocations: 2.179 MB / 435.8 MB, free: 7.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.03604, allocations: 362.7 kB / 436.2 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007738/0.03681, allocations: 0.9352 MB / 437.1 MB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.03684, allocations: 20 kB / 437.2 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.03707, allocations: 135.7 kB / 437.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.03708, allocations: 23.88 kB / 437.3 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.03735, allocations: 135.3 kB / 437.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.03741, allocations: 56 kB / 437.5 MB, free: 5.402 MB / 410.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.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.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.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,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],$PRE.P1.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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,$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.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,P1.feeding.anytrue,P1.feeding.numtrue,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.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,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],P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005289/0.03794, allocations: 0.7624 MB / 438.3 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.03804, allocations: 75.61 kB / 438.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.03972, allocations: 1.847 MB / 440.2 MB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03973, allocations: 4 kB / 440.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.03973, allocations: 4 kB / 440.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.03974, allocations: 7.984 kB / 440.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1518/0.1915, allocations: 2.624 MB / 442.8 MB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001848/0.1934, allocations: 1.756 MB / 444.6 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1935, allocations: 34.83 kB / 444.6 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1935, allocations: 3.578 kB / 444.6 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/0.1936, allocations: 35.3 kB / 444.7 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1936, allocations: 5.938 kB / 444.7 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1936, allocations: 2.844 kB / 444.7 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.1966, allocations: 3.496 MB / 448.2 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.1967, allocations: 58.88 kB / 448.2 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.1968, allocations: 68.2 kB / 448.3 MB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.1971, allocations: 68.34 kB / 448.3 MB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.1975, allocations: 312.4 kB / 448.7 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.1976, allocations: 47.39 kB / 448.7 MB, free: 77.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1978, allocations: 249 kB / 448.9 MB, free: 77.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1978, allocations: 0 / 448.9 MB, free: 77.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008668/0.1986, allocations: 311.7 kB / 449.2 MB, free: 77.61 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.feeding.numtrue,P1.feeding.anytrue,$whenCondition1,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.inPlaces[1].tokenInOut,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],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.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00362/0.2022, allocations: 4.304 MB / 453.5 MB, free: 75.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.2041, allocations: 2.602 MB / 456.2 MB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2041, allocations: 7.156 kB / 456.2 MB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.2051, allocations: 1.609 MB / 457.8 MB, free: 71.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.2056, allocations: 95.28 kB / 457.9 MB, free: 71.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/0.2127, allocations: 9.546 MB / 467.4 MB, free: 65.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2129, allocations: 337.6 kB / 467.7 MB, free: 65.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.2131, allocations: 128.2 kB / 467.9 MB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2133, allocations: 190.3 kB / 468 MB, free: 65.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.2133, allocations: 2.844 kB / 468 MB, free: 65.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08643/0.2997, allocations: 18.3 MB / 486.4 MB, free: 62.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.962, allocations: 11.47 kB / 486.4 MB, free: 62.45 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,_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.PCtoTD_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.diff.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-cvode.diff.ref.mat", vars={"T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_HybTest_PCtoTD.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.721786112524569]