Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.0009485/0.0009485, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002176, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001902, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.143, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.09157/0.09157, allocations: 12.66 MB / 256.8 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00952/0.1011, allocations: 4.691 MB / 261.5 MB, free: 13.57 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 262.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.319e-05, allocations: 6.312 kB / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003664/0.003687, allocations: 1.801 MB / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.007958, allocations: 1.913 MB / 266.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.008306, allocations: 11.94 kB / 266.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.008626, allocations: 119 kB / 266.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.009088, allocations: 139 kB / 266.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.01118, allocations: 0.8768 MB / 267.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.01262, allocations: 1.342 MB / 269 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.01281, allocations: 68.92 kB / 269.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008403/0.01365, allocations: 0.7844 MB / 269.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.01415, allocations: 287.1 kB / 270.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.01425, allocations: 72 kB / 270.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009853/0.01523, allocations: 0.6433 MB / 270.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.0154, allocations: 115.5 kB / 271 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.01562, allocations: 191.6 kB / 271.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.01672, allocations: 0.8297 MB / 272 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.995e-05/0.01674, allocations: 3.938 kB / 272 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01674, allocations: 0 / 272 MB, free: 3.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.01676, allocations: 0 / 272 MB, free: 3.043 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001536/0.01829, allocations: 1.25 MB / 273.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01833, allocations: 11.98 kB / 273.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.01863, allocations: 205.9 kB / 273.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.01899, allocations: 253 kB / 273.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.01909, allocations: 109 kB / 273.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.01917, allocations: 75.86 kB / 273.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1522/0.1713, allocations: 1.176 MB / 275.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.1713, allocations: 3.438 kB / 275.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.1714, allocations: 31.45 kB / 275.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-05/0.1715, allocations: 49.83 kB / 275.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.1724, allocations: 0.6808 MB / 275.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1745, allocations: 2.272 MB / 278.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.1752, allocations: 0.725 MB / 278.8 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.1757, allocations: 0.5722 MB / 279.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.1758, allocations: 14.67 kB / 279.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.1766, allocations: 0.922 MB / 280.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.968e-06/0.1766, allocations: 0 / 280.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001703/0.1783, allocations: 1.82 MB / 282.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.1785, allocations: 385.4 kB / 282.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1787, allocations: 316.3 kB / 282.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.1788, allocations: 61.17 kB / 282.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.179, allocations: 225.6 kB / 283.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1791, allocations: 196.6 kB / 283.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.1793, allocations: 199.7 kB / 283.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.1794, allocations: 371.9 kB / 283.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.1797, allocations: 417.4 kB / 284.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.1802, allocations: 0.8167 MB / 285.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1812, allocations: 1.439 MB / 286.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.1812, allocations: 2.625 kB / 286.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001178/0.1824, allocations: 1.178 MB / 287.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.1826, allocations: 310.5 kB / 288 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.1826, allocations: 9.734 kB / 288 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-05/0.1827, allocations: 16.88 kB / 288 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1831, allocations: 168.4 kB / 288.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.1831, allocations: 25.19 kB / 288.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1834, allocations: 107.7 kB / 288.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.1835, allocations: 39.28 kB / 288.4 MB, free: 14.93 MB / 282.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 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 P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 115 ($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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,T1.activation.disPlaceOut[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 109 * Array equations: 0 * 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.0006082/0.1841, allocations: 0.6306 MB / 289 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1842, allocations: 105.5 kB / 289.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1853, allocations: 1.023 MB / 290.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1853, allocations: 4.875 kB / 290.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1853, allocations: 0.9375 kB / 290.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1854, allocations: 7.094 kB / 290.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1873, allocations: 1.517 MB / 291.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1873, allocations: 1.094 kB / 291.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1874, allocations: 34.33 kB / 291.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.1875, allocations: 40.7 kB / 291.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1875, allocations: 2.812 kB / 291.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.1876, allocations: 35.83 kB / 291.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1876, allocations: 9.031 kB / 291.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1876, allocations: 0 / 291.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1889, allocations: 1.558 MB / 293.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.189, allocations: 69.77 kB / 293.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1892, allocations: 56.19 kB / 293.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.1894, allocations: 98.83 kB / 293.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.1894, allocations: 39.05 kB / 293.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.1895, allocations: 78.02 kB / 293.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1895, allocations: 0 / 293.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008225/0.1903, allocations: 316 kB / 294 MB, free: 12.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.0007561/0.1911, allocations: 419.4 kB / 294.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.1928, allocations: 1.828 MB / 296.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.671e-05/0.1928, allocations: 12.75 kB / 296.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1938, allocations: 1.255 MB / 297.5 MB, free: 9.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.1943, allocations: 331.4 kB / 297.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1968, allocations: 1.513 MB / 299.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.1969, allocations: 151.4 kB / 299.5 MB, free: 7.984 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1971, allocations: 64.25 kB / 299.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.1975, allocations: 275.2 kB / 299.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1975, allocations: 0 / 299.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of Templates: time 0.01691/0.2144, allocations: 12.06 MB / 311.9 MB, free: 12.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & (cd run_cvode && ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat -s cvode) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl.sim & (cd run_dassl && ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl_res.mat -s dassl) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_dassl_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode.sim & (cd run_gbode && ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode_res.mat -s gbode -gbm=radauIIA3) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_gbode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida.sim & (cd run_ida && ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida_res.mat -s ida) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_ida_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3507830910384655]