Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.00088/0.00088, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002166, 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.001056/0.001056, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002576, allocations: 475.6 kB / 11.8 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.034/1.034, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08627/1.121, 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.04814/0.04814, allocations: 12.66 MB / 256.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008153/0.0563, allocations: 4.687 MB / 261.5 MB, free: 13.56 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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.679e-05, allocations: 2.312 kB / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001847/0.001864, allocations: 1.797 MB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.004081, allocations: 1.913 MB / 266.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.004232, allocations: 11.94 kB / 266.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.004432, allocations: 115 kB / 266.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.004661, allocations: 143 kB / 266.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.005762, allocations: 0.8728 MB / 267.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.006821, allocations: 1.334 MB / 269 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.006954, allocations: 72.97 kB / 269.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.007539, allocations: 0.7882 MB / 269.8 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.007838, allocations: 275.1 kB / 270.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.007908, allocations: 72 kB / 270.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.008527, allocations: 0.6277 MB / 270.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.008636, allocations: 115.5 kB / 270.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.008799, allocations: 183.7 kB / 271.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.009557, allocations: 0.8374 MB / 271.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.009568, allocations: 0 / 271.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.009569, allocations: 4 kB / 271.9 MB, free: 3.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.00958, allocations: 0 / 271.9 MB, free: 3.062 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.001063/0.01064, allocations: 1.246 MB / 273.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.01068, allocations: 11.98 kB / 273.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.01094, allocations: 205.9 kB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.01122, allocations: 260.8 kB / 273.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.01129, allocations: 105 kB / 273.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.01135, allocations: 71.92 kB / 273.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/0.1188, allocations: 1.18 MB / 275 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1188, allocations: 8.156 kB / 275 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.1188, allocations: 31.5 kB / 275 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.1189, allocations: 44.81 kB / 275.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.1195, allocations: 0.6745 MB / 275.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1211, allocations: 2.259 MB / 278 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.1216, allocations: 0.7005 MB / 278.7 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.1219, allocations: 0.5546 MB / 279.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.122, allocations: 12.42 kB / 279.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/0.1226, allocations: 0.8897 MB / 280.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.893e-06/0.1226, allocations: 1.875 kB / 280.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001251/0.1238, allocations: 1.786 MB / 282 MB, free: 3.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.124, allocations: 386.2 kB / 282.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1242, allocations: 324.3 kB / 282.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.1242, allocations: 62.75 kB / 282.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.1243, allocations: 232.8 kB / 283 MB, free: 2.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.1244, allocations: 185.4 kB / 283.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.1246, allocations: 208.5 kB / 283.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.1247, allocations: 371 kB / 283.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1249, allocations: 417.2 kB / 284.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.1252, allocations: 0.8481 MB / 285 MB, free: 1.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007566/0.1259, allocations: 1.454 MB / 286.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.1259, allocations: 3.5 kB / 286.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0008554/0.1268, allocations: 1.181 MB / 287.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.1269, allocations: 309.1 kB / 287.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1269, allocations: 12.19 kB / 287.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.127, allocations: 15.44 kB / 287.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1273, allocations: 175.8 kB / 288.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.1273, allocations: 24.42 kB / 288.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1275, allocations: 101.8 kB / 288.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.1275, allocations: 41.92 kB / 288.3 MB, free: 14.9 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: 47 * 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],P1.enableIn.arcWeight[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.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 (120): * Single equations (assignments): 110 * 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.0004468/0.128, allocations: 0.6354 MB / 288.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1281, allocations: 102.4 kB / 289 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.1289, allocations: 0.9737 MB / 290 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1289, allocations: 3.938 kB / 290 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1289, allocations: 2.484 kB / 290 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1289, allocations: 5.578 kB / 290 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1302, allocations: 1.484 MB / 291.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1302, allocations: 1.688 kB / 291.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.1302, allocations: 30.42 kB / 291.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.1303, allocations: 49.23 kB / 291.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1303, allocations: 3.016 kB / 291.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.1303, allocations: 40.89 kB / 291.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1303, allocations: 2.156 kB / 291.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1303, allocations: 0 / 291.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.1313, allocations: 1.542 MB / 293.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.1314, allocations: 70.27 kB / 293.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1316, allocations: 50.73 kB / 293.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1317, allocations: 93.17 kB / 293.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.1318, allocations: 44.7 kB / 293.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.409e-05/0.1318, allocations: 82.58 kB / 293.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1318, allocations: 0.6562 kB / 293.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005087/0.1323, allocations: 308.5 kB / 293.8 MB, free: 12.53 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: 66 ($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.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 (35): * Single equations (assignments): 23 * 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.0005243/0.1328, allocations: 408.6 kB / 294.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1338, allocations: 1.826 MB / 296 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.1339, allocations: 8.359 kB / 296 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.1346, allocations: 1.216 MB / 297.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1349, allocations: 337.9 kB / 297.5 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1365, allocations: 1.549 MB / 299.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.272e-05/0.1366, allocations: 154.1 kB / 299.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1367, allocations: 61.06 kB / 299.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.1371, allocations: 278.5 kB / 299.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1371, allocations: 0 / 299.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of Templates: time 0.01254/0.1496, allocations: 11.95 MB / 311.5 MB, free: 12.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.027354788966477]