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.001461/0.001461, 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.001766/0.001766, allocations: 169.8 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 1.024/1.024, 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.0495/0.0495, allocations: 12.64 MB / 271.8 MB, free: 0.7305 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 403 MB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.46e-05, allocations: 2.281 kB / 403 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002578/0.002602, allocations: 1.824 MB / 404.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.004937, allocations: 1.528 MB / 406.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.005142, allocations: 11.94 kB / 406.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.005394, allocations: 138.9 kB / 406.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.005759, allocations: 174.8 kB / 406.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.006829, allocations: 0.7029 MB / 407.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.008058, allocations: 1.4 MB / 408.8 MB, free: 4.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.008263, allocations: 103.8 kB / 408.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.009068, allocations: 0.7993 MB / 409.7 MB, free: 3.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.009657, allocations: 478.5 kB / 410.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.009821, allocations: 132 kB / 410.3 MB, free: 2.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.01051, allocations: 0.5928 MB / 410.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.0107, allocations: 258.9 kB / 411.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.01101, allocations: 411.1 kB / 411.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.01231, allocations: 1.788 MB / 413.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01232, allocations: 4 kB / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01232, allocations: 0 / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.01233, allocations: 4 kB / 413.3 MB, free: 15.56 MB / 394.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.001619/0.01395, allocations: 1.597 MB / 414.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01399, allocations: 8.031 kB / 414.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.01416, allocations: 184.6 kB / 415.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.01475, allocations: 232.2 kB / 415.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.01531, allocations: 496.3 kB / 415.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.01554, allocations: 422.7 kB / 416.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.01567, allocations: 123.9 kB / 416.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.01795, allocations: 2.586 MB / 418.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.01797, allocations: 0 / 418.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.01806, allocations: 59.95 kB / 419 MB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.01817, allocations: 105.9 kB / 419.1 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.02011, allocations: 1.834 MB / 420.9 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.02348, allocations: 3.178 MB / 424.1 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.02472, allocations: 1.365 MB / 425.5 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.0259, allocations: 1.232 MB / 426.7 MB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.02653, allocations: 343.7 kB / 427 MB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.02778, allocations: 1.497 MB / 428.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 1.522e-06/0.02778, allocations: 0 / 428.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.003794/0.03157, allocations: 4.205 MB / 432.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/0.03182, allocations: 0.6587 MB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.03242, allocations: 0.5207 MB / 433.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.03249, allocations: 77.67 kB / 434 MB, free: 9.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.03269, allocations: 384.7 kB / 434.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.03283, allocations: 250.2 kB / 434.6 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.0331, allocations: 298.8 kB / 434.9 MB, free: 8.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.03321, allocations: 378.8 kB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.03392, allocations: 0.9235 MB / 436.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.03486, allocations: 1.526 MB / 437.7 MB, free: 5.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.03753, allocations: 3.144 MB / 440.9 MB, free: 2.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.03754, allocations: 8 kB / 440.9 MB, free: 2.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.1495/0.187, allocations: 2.639 MB / 443.5 MB, free: 78.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.1872, allocations: 373.1 kB / 443.9 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001177/0.1884, allocations: 1.495 MB / 445.4 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.1884, allocations: 21.56 kB / 445.4 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.1888, allocations: 170.4 kB / 445.6 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.1888, allocations: 26.08 kB / 445.6 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.1892, allocations: 168.7 kB / 445.8 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.1893, allocations: 73.38 kB / 445.8 MB, free: 77.88 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.0008549/0.1902, allocations: 0.8869 MB / 446.7 MB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1904, allocations: 99.78 kB / 446.8 MB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.1929, allocations: 3.094 MB / 449.9 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1929, allocations: 6.5 kB / 449.9 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1929, allocations: 0 / 449.9 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1929, allocations: 7.172 kB / 449.9 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.1967, allocations: 4.246 MB / 454.2 MB, free: 74.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002269/0.1989, allocations: 3.021 MB / 457.2 MB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.199, allocations: 39.42 kB / 457.2 MB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.199, allocations: 3.344 kB / 457.2 MB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/0.1991, allocations: 50.81 kB / 457.3 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1991, allocations: 12.28 kB / 457.3 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1991, allocations: 3.219 kB / 457.3 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.2028, allocations: 4.979 MB / 462.3 MB, free: 70.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.2029, allocations: 63.14 kB / 462.3 MB, free: 70.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.203, allocations: 87.42 kB / 462.4 MB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.2033, allocations: 93.61 kB / 462.5 MB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.2037, allocations: 374.6 kB / 462.9 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.2038, allocations: 56.66 kB / 462.9 MB, free: 69.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.204, allocations: 298.3 kB / 463.2 MB, free: 69.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 463.2 MB, free: 69.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000861/0.2049, allocations: 402.8 kB / 463.6 MB, free: 69.72 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.004556/0.2094, allocations: 5.815 MB / 469.4 MB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.2116, allocations: 3.192 MB / 472.6 MB, free: 64.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2117, allocations: 4.188 kB / 472.6 MB, free: 64.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.2129, allocations: 2.055 MB / 474.7 MB, free: 63.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2133, allocations: 119.3 kB / 474.8 MB, free: 63.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.2235, allocations: 11.71 MB / 486.5 MB, free: 55.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.2239, allocations: 471.4 kB / 487 MB, free: 55.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.2243, allocations: 195.5 kB / 487.2 MB, free: 55.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.2245, allocations: 271.2 kB / 487.4 MB, free: 55.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2245, allocations: 0 / 487.4 MB, free: 55.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09555/0.3201, allocations: 23.86 MB / 0.4993 GB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.145, allocations: 7.156 kB / 0.4993 GB, free: 42.19 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 & (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] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.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.arcWeightOut[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,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,_D_OMC_D_CF_D_init1[1],_D_OMC_D_CF_D_init2[1],_D_OMC_D_CF_D_sim1[1],_D_OMC_D_CF_D_sim2[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.HybLoopAndArcweight_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (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: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.HybTest.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: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.231165166944265]