Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.0009961/0.0009961, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.001633/0.001633, allocations: 162 kB / 22.56 MB, free: 1.965 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.915/0.915, allocations: 177.1 MB / 202.9 MB, free: 5.723 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.04657/0.04657, allocations: 12.66 MB / 272 MB, free: 0.6602 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.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 402.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.352e-05, allocations: 5.375 kB / 402.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003022/0.003046, allocations: 1.731 MB / 404.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.00676, allocations: 1.859 MB / 406.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.0071, allocations: 11.88 kB / 406.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.007512, allocations: 119 kB / 406.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.007981, allocations: 166.8 kB / 406.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.00994, allocations: 0.9508 MB / 407.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.01146, allocations: 1.427 MB / 408.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.01171, allocations: 111.6 kB / 408.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.01254, allocations: 0.8227 MB / 409.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.01302, allocations: 478.6 kB / 410.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.01315, allocations: 144 kB / 410.3 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009566/0.01411, allocations: 0.932 MB / 411.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01428, allocations: 219.1 kB / 411.4 MB, free: 400 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1641/0.1784, allocations: 435.6 kB / 411.8 MB, free: 17.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.1818, allocations: 2.09 MB / 413.9 MB, free: 17.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1818, allocations: 2.969 kB / 413.9 MB, free: 17.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1818, allocations: 0 / 413.9 MB, free: 17.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.1818, allocations: 0 / 413.9 MB, free: 17.01 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002645/0.1845, allocations: 1.484 MB / 415.4 MB, free: 16.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1845, allocations: 10.19 kB / 415.4 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.1847, allocations: 165.9 kB / 415.6 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.185, allocations: 131.8 kB / 415.7 MB, free: 16.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.1857, allocations: 499.8 kB / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.1859, allocations: 192.9 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.186, allocations: 117.7 kB / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.1888, allocations: 2.666 MB / 419.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1888, allocations: 7.703 kB / 419.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1889, allocations: 56.39 kB / 419.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.189, allocations: 93.89 kB / 419.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.1912, allocations: 1.828 MB / 421.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.1959, allocations: 3.902 MB / 425 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.1975, allocations: 1.424 MB / 426.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.1988, allocations: 1.325 MB / 427.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.1989, allocations: 9.438 kB / 427.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.2007, allocations: 1.748 MB / 429.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.335e-06/0.2007, allocations: 0 / 429.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.004776/0.2054, allocations: 4.928 MB / 434.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.2057, allocations: 0.6433 MB / 435.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.2063, allocations: 0.535 MB / 435.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.2064, allocations: 73.05 kB / 435.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.2067, allocations: 359.2 kB / 436.1 MB, free: 5.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.2069, allocations: 242.8 kB / 436.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.2072, allocations: 299.3 kB / 436.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.2073, allocations: 326 kB / 436.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/0.2081, allocations: 0.8802 MB / 437.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.209, allocations: 1.533 MB / 439.3 MB, free: 2.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.211, allocations: 3.218 MB / 442.6 MB, free: 24 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.2111, allocations: 6.812 kB / 442.6 MB, free: 20 kB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002741/0.2138, allocations: 2.592 MB / 445.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.214, allocations: 340.9 kB / 445.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.214, allocations: 16 kB / 445.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/0.214, allocations: 20 kB / 445.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.2143, allocations: 156.7 kB / 445.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.2143, allocations: 39.05 kB / 445.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.2148, allocations: 167.8 kB / 445.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/0.2149, allocations: 68 kB / 446 MB, free: 13.25 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.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 ) \"priority Index\" type: Integer 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * 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.001141/0.216, allocations: 0.8874 MB / 446.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2162, allocations: 95.62 kB / 446.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.2197, allocations: 3.904 MB / 450.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.2197, allocations: 4 kB / 450.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2197, allocations: 3.984 kB / 450.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2197, allocations: 3.938 kB / 450.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.2249, allocations: 5.062 MB / 455.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2249, allocations: 3.312 kB / 455.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.997e-05/0.225, allocations: 35.83 kB / 455.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.225, allocations: 7.984 kB / 456 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.2251, allocations: 51.92 kB / 456 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.2251, allocations: 7.984 kB / 456 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2251, allocations: 0 / 456 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.2289, allocations: 4.03 MB / 460 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.229, allocations: 71.44 kB / 460.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.2291, allocations: 91.91 kB / 460.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2295, allocations: 101.3 kB / 460.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.2299, allocations: 380.1 kB / 460.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.23, allocations: 69.06 kB / 460.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002612/0.2303, allocations: 299.1 kB / 461 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2303, allocations: 0 / 461 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001539/0.2318, allocations: 0.4887 MB / 461.5 MB, free: 13.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.004935/0.2368, allocations: 4.979 MB / 466.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002724/0.2395, allocations: 3.211 MB / 469.7 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2395, allocations: 2.594 kB / 469.7 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.2411, allocations: 2.032 MB / 471.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.2416, allocations: 138.8 kB / 471.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.2531, allocations: 11.63 MB / 483.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2534, allocations: 428.6 kB / 483.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.2537, allocations: 218 kB / 484.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.254, allocations: 252.4 kB / 484.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.254, allocations: 0 / 484.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.2937, allocations: 26.12 MB / 0.4985 GB, free: 11.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.88, allocations: 8.609 kB / 0.4985 GB, free: 11.12 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.73683108203113]