Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001869/0.001869, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.002216/0.002216, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.08118/0.08118, allocations: 12.67 MB / 272.2 MB, free: 0.4961 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: translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 345.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.948e-05, allocations: 2.312 kB / 345.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002098/0.002118, allocations: 1.722 MB / 347.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.005594, allocations: 1.859 MB / 349.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.005775, allocations: 7.938 kB / 349.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.00614, allocations: 119 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.006556, allocations: 143 kB / 349.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.008812, allocations: 0.9469 MB / 350.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.01045, allocations: 1.353 MB / 351.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.01063, allocations: 77.12 kB / 352 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.01157, allocations: 0.737 MB / 352.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.01209, allocations: 319 kB / 353 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.01223, allocations: 88 kB / 353.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.01323, allocations: 0.6122 MB / 353.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.01345, allocations: 159.2 kB / 353.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.01385, allocations: 287.3 kB / 354.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.01558, allocations: 1.348 MB / 355.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01558, allocations: 0 / 355.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01558, allocations: 0 / 355.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.01559, allocations: 4 kB / 355.5 MB, free: 8.488 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001935/0.01753, allocations: 1.194 MB / 356.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.01756, allocations: 8.031 kB / 356.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.01802, allocations: 172.5 kB / 356.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.01872, allocations: 380.6 kB / 357.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.01886, allocations: 109 kB / 357.4 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.01901, allocations: 87.97 kB / 357.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.02219, allocations: 1.789 MB / 359.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.02223, allocations: 3.938 kB / 359.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.02235, allocations: 39.98 kB / 359.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.02246, allocations: 52.95 kB / 359.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.02473, allocations: 1.247 MB / 360.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.0291, allocations: 2.896 MB / 363.5 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.03081, allocations: 0.999 MB / 364.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.03222, allocations: 0.9101 MB / 365.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.03227, allocations: 8 kB / 365.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.03427, allocations: 1.267 MB / 366.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.274e-06/0.03427, allocations: 0 / 366.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.005575/0.03985, allocations: 3.392 MB / 370 MB, free: 9.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00049/0.04034, allocations: 0.5559 MB / 370.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.04084, allocations: 388 kB / 371 MB, free: 8.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.04096, allocations: 69.69 kB / 371 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.04123, allocations: 276.8 kB / 371.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.04146, allocations: 198.6 kB / 371.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.04183, allocations: 234.6 kB / 371.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.04208, allocations: 370.8 kB / 372.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.04316, allocations: 0.7451 MB / 372.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.04472, allocations: 1.231 MB / 374.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.04847, allocations: 2.568 MB / 376.6 MB, free: 1.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.04848, allocations: 3.938 kB / 376.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003478/0.05196, allocations: 2.23 MB / 378.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.05226, allocations: 336.1 kB / 379.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.05228, allocations: 12 kB / 379.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.05232, allocations: 16 kB / 379.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.05273, allocations: 123.7 kB / 379.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.05276, allocations: 23.92 kB / 379.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.05333, allocations: 131.2 kB / 379.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.05344, allocations: 56.17 kB / 379.6 MB, free: 14.64 MB / 314.7 MB Warning: Assuming fixed start value for the following 25 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 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.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.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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$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,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.001118/0.05455, allocations: 0.7528 MB / 380.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.05482, allocations: 123.7 kB / 380.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.05864, allocations: 2.327 MB / 382.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.05867, allocations: 7.984 kB / 382.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.05867, allocations: 0 / 382.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.05868, allocations: 0 / 382.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.06389, allocations: 3.066 MB / 385.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.06391, allocations: 3.984 kB / 385.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.06404, allocations: 31.92 kB / 385.9 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.06404, allocations: 4 kB / 385.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.06415, allocations: 39.97 kB / 385.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.06416, allocations: 4 kB / 385.9 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.06416, allocations: 0 / 385.9 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/0.06872, allocations: 2.844 MB / 388.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.06882, allocations: 51.48 kB / 388.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.06905, allocations: 71.98 kB / 388.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.06957, allocations: 83.92 kB / 389 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000653/0.07022, allocations: 331.5 kB / 389.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.07034, allocations: 43.97 kB / 389.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.07061, allocations: 219 kB / 389.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07061, allocations: 0 / 389.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001189/0.0718, allocations: 339.5 kB / 389.9 MB, free: 3.953 MB / 314.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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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 (37): * Single equations (assignments): 24 * 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.001064/0.07287, allocations: 411.5 kB / 390.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.07672, allocations: 2.603 MB / 392.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.07673, allocations: 8 kB / 392.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.07905, allocations: 1.573 MB / 394.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.07969, allocations: 107.2 kB / 394.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.0833, allocations: 1.883 MB / 396.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.08371, allocations: 316.6 kB / 396.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.08412, allocations: 148.9 kB / 396.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.08426, allocations: 48.44 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.08426, allocations: 0 / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of Templates: time 0.1255/0.2098, allocations: 13.45 MB / 410.4 MB, free: 72.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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: 4.8178289560601115]