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.000743/0.000743, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001169/0.001169, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9173/0.9173, 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.04858/0.04858, allocations: 12.64 MB / 271.8 MB, free: 0.7188 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 1.372e-06/1.372e-06, allocations: 0 / 402.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.219e-05, allocations: 5.234 kB / 402.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002065/0.002087, allocations: 1.735 MB / 404 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.004375, allocations: 1.851 MB / 405.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.004594, allocations: 11.94 kB / 405.8 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.004912, allocations: 122.9 kB / 406 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.005268, allocations: 162.9 kB / 406.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.006745, allocations: 0.9542 MB / 407.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.007809, allocations: 1.427 MB / 408.5 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.00801, allocations: 107.6 kB / 408.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.008665, allocations: 0.8266 MB / 409.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.009134, allocations: 482.7 kB / 409.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.009269, allocations: 139.9 kB / 410 MB, free: 1.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.01027, allocations: 0.9281 MB / 411 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.01045, allocations: 219.1 kB / 411.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.01083, allocations: 435.1 kB / 411.6 MB, free: 72 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1431/0.154, allocations: 2.092 MB / 413.7 MB, free: 16.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.154, allocations: 0 / 413.7 MB, free: 16.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.154, allocations: 0 / 413.7 MB, free: 16.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.154, allocations: 3.969 kB / 413.7 MB, free: 16.41 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.001754/0.1557, allocations: 1.481 MB / 415.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1558, allocations: 10.09 kB / 415.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.156, allocations: 165.7 kB / 415.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.1562, allocations: 135.8 kB / 415.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.1568, allocations: 493.8 kB / 416 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.157, allocations: 196.2 kB / 416.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.1571, allocations: 120.1 kB / 416.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.1596, allocations: 2.662 MB / 418.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1596, allocations: 4.469 kB / 418.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/0.1597, allocations: 60.94 kB / 419 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.1598, allocations: 89.53 kB / 419.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.1616, allocations: 1.829 MB / 420.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.1649, allocations: 3.883 MB / 424.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1664, allocations: 1.421 MB / 426.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.1676, allocations: 1.324 MB / 427.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.1677, allocations: 8.359 kB / 427.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.1692, allocations: 1.75 MB / 429.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 1.643e-06/0.1692, allocations: 0 / 429.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.004586/0.1738, allocations: 4.928 MB / 434.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/0.174, allocations: 0.6477 MB / 434.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.1745, allocations: 0.5267 MB / 435.4 MB, free: 5.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.1746, allocations: 79.84 kB / 435.5 MB, free: 5.199 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1748, allocations: 353 kB / 435.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.175, allocations: 250.6 kB / 436.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.1753, allocations: 298.8 kB / 436.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.1753, allocations: 325.2 kB / 436.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/0.1761, allocations: 0.8859 MB / 437.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.1769, allocations: 1.533 MB / 439.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.179, allocations: 3.213 MB / 442.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.179, allocations: 3.062 kB / 442.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002415/0.1814, allocations: 2.593 MB / 444.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.1816, allocations: 349 kB / 445.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/0.1818, allocations: 12 kB / 445.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.1819, allocations: 24 kB / 445.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1821, allocations: 156.6 kB / 445.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.1822, allocations: 35.33 kB / 445.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.1826, allocations: 167.5 kB / 445.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.1827, allocations: 71.98 kB / 445.7 MB, free: 13.1 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.001077/0.1838, allocations: 0.875 MB / 446.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1839, allocations: 99.62 kB / 446.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.1876, allocations: 3.907 MB / 450.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.1876, allocations: 8 kB / 450.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1876, allocations: 0 / 450.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1876, allocations: 7.922 kB / 450.6 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.1928, allocations: 5.056 MB / 455.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1928, allocations: 0 / 455.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.1929, allocations: 38.98 kB / 455.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1929, allocations: 4 kB / 455.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.193, allocations: 59.91 kB / 455.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.193, allocations: 3.828 kB / 455.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.193, allocations: 0 / 455.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.1964, allocations: 4.038 MB / 459.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.1965, allocations: 59.44 kB / 459.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/0.1969, allocations: 95.91 kB / 460 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1973, allocations: 109.1 kB / 460.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/0.1977, allocations: 383.4 kB / 460.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.1979, allocations: 59.97 kB / 460.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.1981, allocations: 299.1 kB / 460.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 0 / 460.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001414/0.1995, allocations: 495.2 kB / 461.3 MB, free: 13.19 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.004732/0.2043, allocations: 4.996 MB / 466.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.2073, allocations: 3.214 MB / 469.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2073, allocations: 0 / 469.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.2089, allocations: 2.026 MB / 471.5 MB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2094, allocations: 129.5 kB / 471.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.2205, allocations: 11.63 MB / 483.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2208, allocations: 432.6 kB / 483.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.2212, allocations: 218 kB / 483.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.2215, allocations: 256.4 kB / 484.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of SimCode: time 2.565e-06/0.2215, allocations: 3.938 kB / 484.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.2603, allocations: 26.09 MB / 0.4983 GB, free: 10.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.764, allocations: 11.5 kB / 0.4983 GB, free: 10.98 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.567802034318447]