Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.0008447/0.0008447, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008553/0.0008553, allocations: 170.3 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.9226/0.9226, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.04918/0.04918, allocations: 12.64 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: "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.62e-05, allocations: 2.281 kB / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002324/0.00235, allocations: 1.828 MB / 404 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.005324, allocations: 1.528 MB / 405.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.005705, allocations: 11.94 kB / 405.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.006065, allocations: 130.9 kB / 405.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.00654, allocations: 178.8 kB / 405.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.007914, allocations: 0.6987 MB / 406.6 MB, free: 6.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.009548, allocations: 1.4 MB / 408 MB, free: 4.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.009883, allocations: 103.8 kB / 408.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.01091, allocations: 0.7993 MB / 408.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.01161, allocations: 478.6 kB / 409.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.01182, allocations: 136 kB / 409.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.01266, allocations: 0.5928 MB / 410.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.01288, allocations: 258.9 kB / 410.3 MB, free: 2.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.01324, allocations: 419.1 kB / 410.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.01513, allocations: 1.788 MB / 412.5 MB, free: 332 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01513, allocations: 0 / 412.5 MB, free: 332 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01513, allocations: 0 / 412.5 MB, free: 332 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.01515, allocations: 0 / 412.5 MB, free: 332 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001618/0.01677, allocations: 1.601 MB / 414.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.01681, allocations: 8.031 kB / 414.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.01696, allocations: 176.6 kB / 414.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.01753, allocations: 240.2 kB / 414.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.01812, allocations: 492.3 kB / 415 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.01834, allocations: 422.7 kB / 415.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.01847, allocations: 112 kB / 415.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.02085, allocations: 2.594 MB / 418.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.02087, allocations: 4 kB / 418.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.02096, allocations: 55.97 kB / 418.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.02107, allocations: 105.9 kB / 418.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.02323, allocations: 1.83 MB / 420.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.02664, allocations: 3.182 MB / 423.3 MB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.02798, allocations: 1.369 MB / 424.7 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.02936, allocations: 1.22 MB / 425.9 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.03001, allocations: 347.6 kB / 426.2 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.0313, allocations: 1.501 MB / 427.8 MB, free: 348 kB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 2.855e-06/0.0313, allocations: 0 / 427.8 MB, free: 348 kB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.003941/0.03524, allocations: 4.205 MB / 432 MB, free: 11.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005506/0.03579, allocations: 0.6587 MB / 432.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.03629, allocations: 0.5246 MB / 433.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.03637, allocations: 69.69 kB / 433.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.03659, allocations: 392.7 kB / 433.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.03675, allocations: 242.2 kB / 433.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.03702, allocations: 302.8 kB / 434.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.03714, allocations: 382.8 kB / 434.5 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.03788, allocations: 0.9196 MB / 435.4 MB, free: 8.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.0389, allocations: 1.53 MB / 436.9 MB, free: 6.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.04172, allocations: 3.144 MB / 440.1 MB, free: 2.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.04174, allocations: 4 kB / 440.1 MB, free: 2.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002464/0.0442, allocations: 2.645 MB / 442.7 MB, free: 92 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1762/0.2204, allocations: 371.6 kB / 443.1 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001349/0.2218, allocations: 1.492 MB / 444.6 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.415e-05/0.2218, allocations: 19.06 kB / 444.6 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.2222, allocations: 165.4 kB / 444.8 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.2223, allocations: 33.02 kB / 444.8 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.2228, allocations: 171.8 kB / 445 MB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.2229, allocations: 77.22 kB / 445.1 MB, free: 78.9 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 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 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,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.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[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.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * 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.000951/0.2238, allocations: 0.8865 MB / 445.9 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.224, allocations: 95.77 kB / 446 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.2266, allocations: 3.088 MB / 449.1 MB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2266, allocations: 6.188 kB / 449.1 MB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2266, allocations: 3.375 kB / 449.1 MB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2266, allocations: 0 / 449.1 MB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.2303, allocations: 4.251 MB / 453.4 MB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00227/0.2325, allocations: 3.019 MB / 456.4 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2327, allocations: 41.48 kB / 456.4 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2327, allocations: 9.656 kB / 456.4 MB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.2328, allocations: 54.14 kB / 456.5 MB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.2328, allocations: 6.234 kB / 456.5 MB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2328, allocations: 0 / 456.5 MB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.2365, allocations: 4.976 MB / 461.5 MB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.2366, allocations: 73.66 kB / 461.6 MB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.2367, allocations: 87.52 kB / 461.6 MB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.237, allocations: 87.59 kB / 461.7 MB, free: 70.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/0.2374, allocations: 377.1 kB / 462.1 MB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.2375, allocations: 58.08 kB / 462.2 MB, free: 70.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.2377, allocations: 302.8 kB / 462.4 MB, free: 70.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2377, allocations: 0 / 462.4 MB, free: 70.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009446/0.2387, allocations: 394.5 kB / 462.8 MB, free: 70.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.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.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.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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.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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * 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.004575/0.2433, allocations: 5.817 MB / 468.6 MB, free: 67.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.2457, allocations: 3.195 MB / 471.8 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2457, allocations: 0 / 471.8 MB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2471, allocations: 2.06 MB / 473.9 MB, free: 64.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.2476, allocations: 119.5 kB / 474 MB, free: 64.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.2582, allocations: 11.71 MB / 485.7 MB, free: 56.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.2587, allocations: 471.3 kB / 486.2 MB, free: 56.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.2591, allocations: 195.3 kB / 486.4 MB, free: 56.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.2593, allocations: 265.4 kB / 486.6 MB, free: 56.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2593, allocations: 0 / 486.6 MB, free: 56.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.2986, allocations: 23.76 MB / 0.4984 GB, free: 43.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.187, allocations: 4 kB / 0.4984 GB, free: 43.12 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.164119168184698]