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.001152/0.001152, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.002274, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007215/0.0007215, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009888/0.00171, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8516/0.8516, allocations: 177.1 MB / 189.5 MB, free: 3.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1384/0.99, allocations: 53.66 MB / 243.2 MB, free: 2.348 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05006/0.05006, allocations: 12.67 MB / 256.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007555/0.05761, allocations: 4.683 MB / 261.3 MB, free: 0.5312 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.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 262.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.375e-05, allocations: 5.266 kB / 262.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002811/0.002824, allocations: 1.876 MB / 264.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.005551, allocations: 1.559 MB / 265.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.005814, allocations: 11.94 kB / 265.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.006108, allocations: 130.9 kB / 266.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.006541, allocations: 190.7 kB / 266.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.007914, allocations: 0.6546 MB / 266.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.009508, allocations: 1.373 MB / 268.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.009753, allocations: 121.7 kB / 268.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009877/0.01074, allocations: 0.8243 MB / 269.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.0115, allocations: 486.5 kB / 269.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.01174, allocations: 132 kB / 269.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.01279, allocations: 0.6109 MB / 270.4 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.01301, allocations: 207.2 kB / 270.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.01346, allocations: 327.4 kB / 271 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.01508, allocations: 1.211 MB / 272.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.0151, allocations: 0 / 272.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0151, allocations: 0 / 272.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.01513, allocations: 0 / 272.2 MB, free: 5.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002184/0.01731, allocations: 1.484 MB / 273.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01735, allocations: 8.031 kB / 273.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.01756, allocations: 180.4 kB / 273.8 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.01866, allocations: 437.6 kB / 274.3 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.0192, allocations: 332.5 kB / 274.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.01939, allocations: 418.7 kB / 275 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.0195, allocations: 128 kB / 275.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.02085, allocations: 1.833 MB / 277 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.02087, allocations: 0 / 277 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.02094, allocations: 67.89 kB / 277 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/0.02104, allocations: 101.9 kB / 277.1 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.02188, allocations: 1.015 MB / 278.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.02436, allocations: 2.562 MB / 280.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.02505, allocations: 0.9172 MB / 281.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.02561, allocations: 0.8123 MB / 282.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/0.02617, allocations: 359.6 kB / 282.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008193/0.02699, allocations: 1.16 MB / 283.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=88): time 1.353e-06/0.02699, allocations: 0 / 283.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.001921/0.02891, allocations: 2.526 MB / 286.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002272/0.02914, allocations: 0.6586 MB / 287.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.02942, allocations: 466.4 kB / 287.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.02948, allocations: 69.69 kB / 287.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.02962, allocations: 365.1 kB / 288 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.02976, allocations: 246.2 kB / 288.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.02998, allocations: 302.8 kB / 288.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.03009, allocations: 390.6 kB / 288.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.03053, allocations: 0.5905 MB / 289.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.0311, allocations: 1.17 MB / 290.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.03231, allocations: 2.021 MB / 292.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.03231, allocations: 4 kB / 292.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001065/0.03338, allocations: 1.634 MB / 294.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.03352, allocations: 374.6 kB / 294.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004646/0.03398, allocations: 0.8205 MB / 295.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.034, allocations: 20 kB / 295.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.03437, allocations: 227.6 kB / 295.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.03438, allocations: 31.86 kB / 295.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.03467, allocations: 163 kB / 296 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.03473, allocations: 64.14 kB / 296 MB, free: 11.58 MB / 298.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.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],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.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,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.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.reStart,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * 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.0005812/0.03532, allocations: 0.7389 MB / 296.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.03548, allocations: 152 kB / 296.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.03669, allocations: 1.654 MB / 298.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.03669, allocations: 8 kB / 298.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.0367, allocations: 0 / 298.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.0367, allocations: 0 / 298.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.03876, allocations: 2.523 MB / 301.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001111/0.03988, allocations: 1.573 MB / 302.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.03999, allocations: 55.89 kB / 302.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.03999, allocations: 4 kB / 302.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.04006, allocations: 47.97 kB / 302.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.04007, allocations: 0 / 302.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.04007, allocations: 4 kB / 302.8 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.04232, allocations: 3.114 MB / 305.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.04237, allocations: 67.33 kB / 306 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.0425, allocations: 83.97 kB / 306 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.04277, allocations: 91.95 kB / 306.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/0.04313, allocations: 354.2 kB / 306.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.04321, allocations: 63.94 kB / 306.5 MB, free: 484 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.0433, allocations: 136.7 kB / 306.7 MB, free: 344 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0433, allocations: 0 / 306.7 MB, free: 344 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006887/0.04399, allocations: 395.4 kB / 307.1 MB, free: 15.95 MB / 314.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,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * 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.002879/0.04686, allocations: 3.904 MB / 311 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.04846, allocations: 2.445 MB / 313.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/0.04847, allocations: 8.5 kB / 313.4 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.04941, allocations: 1.607 MB / 315 MB, free: 7.367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.04973, allocations: 129.6 kB / 315.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.05421, allocations: 5.709 MB / 320.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.05434, allocations: 220.2 kB / 321.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.05449, allocations: 89.64 kB / 321.2 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/0.05523, allocations: 0.5851 MB / 321.7 MB, free: 144 kB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05523, allocations: 0 / 321.7 MB, free: 144 kB / 314.7 MB Notification: FMU-only work: backend 0.002318, simCode 0.002181, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.2699, allocations: 28.78 MB / 350.5 MB, free: 65.59 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.012/3.282, allocations: 22.2 kB / 350.5 MB, free: 65.57 MB / 330.7 MB " [Timeout remaining time 657] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu) > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweight_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweight_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweight_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_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_HybLoopAndArcweight.fmu) > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:time,P1.t_ filterSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.013300450518727]