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.0009195/0.0009195, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009688/0.0009688, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9673/0.9673, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.04927/0.04927, allocations: 12.67 MB / 272.9 MB, free: 396 kB / 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.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.242e-06/1.242e-06, allocations: 0.5469 kB / 293.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.905e-05, allocations: 2.312 kB / 293.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002107/0.002126, allocations: 1.749 MB / 295.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.004633, allocations: 1.896 MB / 297.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.004884, allocations: 9.438 kB / 297.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.005177, allocations: 113 kB / 297.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.005505, allocations: 148.3 kB / 297.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.007119, allocations: 0.9611 MB / 298.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.008467, allocations: 1.355 MB / 299.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.008636, allocations: 76.34 kB / 300 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.009387, allocations: 0.7649 MB / 300.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.009947, allocations: 316 kB / 301 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.01016, allocations: 93.22 kB / 301.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009434/0.0111, allocations: 0.611 MB / 301.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01124, allocations: 159.4 kB / 301.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.01147, allocations: 284.1 kB / 302.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.01253, allocations: 1.095 MB / 303.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01253, allocations: 1.375 kB / 303.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01253, allocations: 0 / 303.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.01255, allocations: 0 / 303.3 MB, free: 7.352 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.001119/0.01367, allocations: 1.176 MB / 304.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.0137, allocations: 12.38 kB / 304.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.01396, allocations: 153 kB / 304.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.01429, allocations: 271.9 kB / 304.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.01437, allocations: 113.6 kB / 305 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.01446, allocations: 86 kB / 305.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008853/0.01534, allocations: 1.309 MB / 306.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.01536, allocations: 5.469 kB / 306.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.01542, allocations: 39.36 kB / 306.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/0.01549, allocations: 53.08 kB / 306.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.01609, allocations: 0.779 MB / 307.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.01767, allocations: 2.511 MB / 309.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.01813, allocations: 0.7918 MB / 310.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.01846, allocations: 0.6357 MB / 311.2 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.0185, allocations: 8 kB / 311.2 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.01921, allocations: 1.017 MB / 312.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 1.983e-06/0.01921, allocations: 0.9062 kB / 312.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.001431/0.02064, allocations: 1.991 MB / 314.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.02085, allocations: 0.5329 MB / 314.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.02105, allocations: 338.5 kB / 315.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.02111, allocations: 69.69 kB / 315.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.02123, allocations: 244.9 kB / 315.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.02135, allocations: 202.5 kB / 315.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.02156, allocations: 238.9 kB / 315.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.02166, allocations: 370.6 kB / 316.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.02197, allocations: 0.4942 MB / 316.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.02245, allocations: 0.932 MB / 317.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/0.02343, allocations: 1.63 MB / 319.2 MB, free: 7.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.02344, allocations: 4 kB / 319.2 MB, free: 7.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0009653/0.0244, allocations: 1.35 MB / 320.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.02454, allocations: 329.9 kB / 320.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.02455, allocations: 12 kB / 320.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.02458, allocations: 20 kB / 320.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.02486, allocations: 163.9 kB / 321.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.02488, allocations: 27.92 kB / 321.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.02514, allocations: 119.4 kB / 321.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.02519, allocations: 47.94 kB / 321.3 MB, free: 4.914 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.0005071/0.0257, allocations: 0.6679 MB / 321.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.02582, allocations: 119.8 kB / 322.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.02669, allocations: 1.173 MB / 323.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.02671, allocations: 7.984 kB / 323.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.02671, allocations: 4 kB / 323.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.02671, allocations: 4 kB / 323.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.02826, allocations: 1.74 MB / 325 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02826, allocations: 3.938 kB / 325 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.02834, allocations: 31.92 kB / 325 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02834, allocations: 0 / 325 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.0284, allocations: 39.97 kB / 325.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.0284, allocations: 4 kB / 325.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0284, allocations: 4 kB / 325.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.02952, allocations: 1.657 MB / 326.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.02956, allocations: 51.52 kB / 326.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.02968, allocations: 79.97 kB / 326.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.0299, allocations: 71.94 kB / 326.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.03025, allocations: 310.5 kB / 327.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.03031, allocations: 39.98 kB / 327.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.178e-05/0.03038, allocations: 96.61 kB / 327.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03038, allocations: 0 / 327.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006869/0.03107, allocations: 351.5 kB / 327.7 MB, free: 14.12 MB / 298.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.0005728/0.03164, allocations: 418.6 kB / 328.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.0329, allocations: 2.006 MB / 330.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.03291, allocations: 8 kB / 330.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.0337, allocations: 1.299 MB / 331.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.03399, allocations: 105.3 kB / 331.5 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.03565, allocations: 1.655 MB / 333.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03575, allocations: 163.9 kB / 333.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000139/0.03589, allocations: 72.84 kB / 333.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/0.03642, allocations: 311.2 kB / 333.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03642, allocations: 0 / 333.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of Templates: time 0.01572/0.05214, allocations: 14.63 MB / 348.4 MB, free: 9.117 MB / 314.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 -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: 2.9841064568609]