Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStriangular.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.0009309/0.0009309, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002433, allocations: 440 kB / 10.41 MB, free: 284 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.000926/0.000926, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002243, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.08/1.08, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1345/1.215, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.0468/0.0468, allocations: 12.66 MB / 256.8 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008343/0.05514, allocations: 4.691 MB / 261.5 MB, free: 13.55 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.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") translateModel(PNlib.Examples.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.568e-05, allocations: 2.312 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStriangular): time 0.004044/0.004069, allocations: 2.351 MB / 265.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007683/0.01175, allocations: 4.322 MB / 269.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008163/0.01257, allocations: 19.88 kB / 269.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.01301, allocations: 186.5 kB / 269.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.01356, allocations: 254.1 kB / 269.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.01703, allocations: 1.539 MB / 271.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.02023, allocations: 2.563 MB / 274 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.02056, allocations: 134.6 kB / 274.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1404/0.161, allocations: 1.464 MB / 275.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1621, allocations: 0.5815 MB / 276.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.1626, allocations: 160.6 kB / 276.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.1643, allocations: 1.038 MB / 277.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1645, allocations: 239.1 kB / 277.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.1651, allocations: 410.3 kB / 278 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.1673, allocations: 1.654 MB / 279.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.1673, allocations: 0 / 279.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1673, allocations: 0 / 279.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.32e-05/0.1674, allocations: 0 / 279.7 MB, free: 3.168 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002563/0.1699, allocations: 2.357 MB / 282 MB, free: 1.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1699, allocations: 12.66 kB / 282 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.1705, allocations: 355.5 kB / 282.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.171, allocations: 418.3 kB / 282.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1711, allocations: 204.6 kB / 283 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.1712, allocations: 151.1 kB / 283.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.1731, allocations: 2.506 MB / 285.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1731, allocations: 4.844 kB / 285.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.1732, allocations: 69.09 kB / 285.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.1734, allocations: 98.94 kB / 285.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1746, allocations: 1.492 MB / 287.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.1774, allocations: 4.162 MB / 291.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.1783, allocations: 1.458 MB / 292.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.179, allocations: 1.246 MB / 294.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-05/0.1791, allocations: 17.53 kB / 294.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.1802, allocations: 1.953 MB / 296.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=150): time 2.615e-06/0.1802, allocations: 0 / 296.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=150): time 0.002681/0.1829, allocations: 3.956 MB / 300.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/0.1832, allocations: 0.8251 MB / 300.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1836, allocations: 0.525 MB / 301.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.1837, allocations: 105.7 kB / 301.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1838, allocations: 381.7 kB / 301.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.1841, allocations: 398.3 kB / 302.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.1844, allocations: 418.4 kB / 302.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.1845, allocations: 335.8 kB / 303.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.185, allocations: 0.9749 MB / 304 MB, free: 2.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.1861, allocations: 1.869 MB / 305.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.188, allocations: 3.186 MB / 309.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.188, allocations: 5.375 kB / 309.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.001993/0.19, allocations: 2.629 MB / 311.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1903, allocations: 0.6849 MB / 312.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.1903, allocations: 20 kB / 312.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.1903, allocations: 28.8 kB / 312.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.1909, allocations: 353.7 kB / 312.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.1909, allocations: 44.83 kB / 312.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1913, allocations: 218.7 kB / 313.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.1914, allocations: 95.55 kB / 313.2 MB, free: 8.613 MB / 298.7 MB Warning: Assuming fixed start value for the following 47 variables: 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 P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" 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 P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T1.fire:DISCRETE(fixed = true ) \"Does the transition fire?\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 243 ($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.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.reStart,$whenCondition8,$PRE.P1.reStart,$whenCondition5,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition6,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,P2.inTransition[1].emptied,P2.enableIn.disTransition[1],P1.reStart,P2.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.fire,$PRE.T1.putDelay,$PRE.T1.putFireTime,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[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.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.fire,T1.active,T1.putDelay,T1.putFireTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,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.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,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,P2.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 220 * Array equations: 1 * Algorithm blocks: 22 * 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.0009298/0.1924, allocations: 1.224 MB / 314.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.1926, allocations: 219.8 kB / 314.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.1942, allocations: 2.246 MB / 316.8 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.1942, allocations: 8 kB / 316.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1942, allocations: 0 / 316.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1942, allocations: 3.984 kB / 316.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.1967, allocations: 2.947 MB / 319.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1967, allocations: 0 / 319.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1968, allocations: 55.34 kB / 319.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.1968, allocations: 95.12 kB / 319.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1968, allocations: 4 kB / 319.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/0.1969, allocations: 71.95 kB / 320 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1969, allocations: 0 / 320 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1969, allocations: 7.281 kB / 320 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.1991, allocations: 3.191 MB / 323.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.1993, allocations: 148 kB / 323.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.1997, allocations: 127.9 kB / 323.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.2001, allocations: 434.2 kB / 323.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.2003, allocations: 87.88 kB / 324 MB, free: 13.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.2004, allocations: 164.6 kB / 324.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2004, allocations: 0 / 324.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001449/0.2018, allocations: 0.6085 MB / 324.8 MB, free: 12.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putFireTime,T1.putDelay,T1.active,T1.fire,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,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,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition13,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * 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.0008898/0.2027, allocations: 0.6516 MB / 325.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.2056, allocations: 4.107 MB / 329.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.558e-05/0.2056, allocations: 19.95 kB / 329.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.2072, allocations: 2.63 MB / 332.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.2081, allocations: 0.6486 MB / 332.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.2112, allocations: 3.169 MB / 336 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2113, allocations: 259.4 kB / 336.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.2116, allocations: 126.5 kB / 336.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009205/0.2125, allocations: 0.5226 MB / 336.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2125, allocations: 0 / 336.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02877/0.2413, allocations: 25.68 MB / 362.6 MB, free: 5.789 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.TDStriangular.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDStriangular.sim & ./PNlib_PNlib.Examples.ExtTest.TDStriangular -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDStriangular_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDStriangular.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.4156090607866645]