Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001137/0.001137, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002708, allocations: 435.8 kB / 10.33 MB, free: 368 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.001102/0.001102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002539, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08675/1.103, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.05238/0.05238, allocations: 12.67 MB / 256.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007111/0.05949, allocations: 4.683 MB / 261.3 MB, free: 13.66 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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.264e-05, allocations: 6.312 kB / 262.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003454/0.003477, allocations: 1.797 MB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.007134, allocations: 1.909 MB / 266.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.007583, allocations: 7.938 kB / 266.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.007923, allocations: 111.1 kB / 266.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.00834, allocations: 150.9 kB / 266.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.01042, allocations: 0.8689 MB / 267.4 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.0122, allocations: 1.35 MB / 268.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.01241, allocations: 73.83 kB / 268.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01344, allocations: 0.7999 MB / 269.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.01404, allocations: 319 kB / 270 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.0142, allocations: 88 kB / 270.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.01624, allocations: 0.6395 MB / 270.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.01643, allocations: 127.4 kB / 270.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.01669, allocations: 223.6 kB / 271 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01771, allocations: 0.935 MB / 272 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.01772, allocations: 0 / 272 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01772, allocations: 0 / 272 MB, free: 2.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.01774, allocations: 0 / 272 MB, free: 2.953 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001183/0.01892, allocations: 1.336 MB / 273.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.01895, allocations: 15.92 kB / 273.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.0192, allocations: 229.9 kB / 273.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.0195, allocations: 264.9 kB / 273.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.01957, allocations: 113 kB / 273.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.01964, allocations: 72 kB / 274 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1222/0.1418, allocations: 1.339 MB / 275.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1419, allocations: 5.859 kB / 275.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.1419, allocations: 39.98 kB / 275.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.652e-05/0.142, allocations: 53.38 kB / 275.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.1427, allocations: 0.8022 MB / 276.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1447, allocations: 2.513 MB / 278.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.1454, allocations: 0.8172 MB / 279.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.1459, allocations: 0.6585 MB / 280.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.1459, allocations: 12.97 kB / 280.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.1467, allocations: 1.039 MB / 281.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.994e-06/0.1467, allocations: 0.5938 kB / 281.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001566/0.1483, allocations: 2.07 MB / 283.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1484, allocations: 278.6 kB / 283.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1486, allocations: 343.3 kB / 284 MB, free: 2.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.1487, allocations: 72.12 kB / 284 MB, free: 2.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1488, allocations: 251.9 kB / 284.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1489, allocations: 203.7 kB / 284.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.1491, allocations: 230 kB / 284.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.1492, allocations: 383.5 kB / 285.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.1495, allocations: 0.4964 MB / 285.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.1499, allocations: 0.9339 MB / 286.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.1509, allocations: 1.662 MB / 288.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.1509, allocations: 4.156 kB / 288.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001124/0.152, allocations: 1.362 MB / 289.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.1522, allocations: 329.1 kB / 289.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1522, allocations: 14.09 kB / 289.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.1522, allocations: 17.28 kB / 289.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.1526, allocations: 186.4 kB / 290.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.1526, allocations: 24.06 kB / 290.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.1529, allocations: 123 kB / 290.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.1529, allocations: 46.48 kB / 290.2 MB, free: 14.66 MB / 282.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: 51 * 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,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[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.enableOut.arcWeight[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,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * 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.0005453/0.1535, allocations: 0.6758 MB / 290.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1536, allocations: 122.1 kB / 291 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1546, allocations: 1.204 MB / 292.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.1546, allocations: 6.25 kB / 292.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1546, allocations: 0.9844 kB / 292.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1546, allocations: 3.688 kB / 292.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.1561, allocations: 1.779 MB / 294 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1561, allocations: 1.031 kB / 294 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.1562, allocations: 33.27 kB / 294.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1562, allocations: 50.11 kB / 294.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1562, allocations: 3.969 kB / 294.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.1563, allocations: 40.2 kB / 294.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1563, allocations: 3.781 kB / 294.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1563, allocations: 0.6875 kB / 294.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1574, allocations: 1.724 MB / 295.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.1575, allocations: 72.3 kB / 296 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1577, allocations: 78.11 kB / 296 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.1581, allocations: 312.5 kB / 296.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.1581, allocations: 43.36 kB / 296.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.061e-05/0.1582, allocations: 90.16 kB / 296.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1582, allocations: 0 / 296.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.1588, allocations: 349.6 kB / 296.8 MB, free: 11.22 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.0007225/0.1596, allocations: 426.6 kB / 297.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.1608, allocations: 2.045 MB / 299.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.1608, allocations: 8 kB / 299.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.1616, allocations: 1.331 MB / 300.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1622, allocations: 161.8 kB / 300.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1638, allocations: 1.705 MB / 302.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.1639, allocations: 166.6 kB / 302.6 MB, free: 5.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.1641, allocations: 69.2 kB / 302.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.1645, allocations: 308.8 kB / 303 MB, free: 4.82 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1645, allocations: 0 / 303 MB, free: 4.82 MB / 282.7 MB Notification: Performance of Templates: time 0.01583/0.1803, allocations: 14.81 MB / 317.8 MB, free: 6.176 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0803524404764175]