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.001222/0.001222, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.003064, 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.001049/0.001049, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002737, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.068/1.068, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09063/1.159, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.04859/0.04859, allocations: 12.65 MB / 256.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007998/0.05659, allocations: 4.699 MB / 261.5 MB, free: 13.54 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.754e-06/1.754e-06, allocations: 0 / 262.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.398e-05, allocations: 2.312 kB / 262.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001839/0.001853, allocations: 1.801 MB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.004327, allocations: 1.905 MB / 266.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.004484, allocations: 7.938 kB / 266.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.004696, allocations: 115 kB / 266.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.004942, allocations: 150.9 kB / 266.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.006125, allocations: 0.8689 MB / 267.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.007304, allocations: 1.35 MB / 269 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.007491, allocations: 81.8 kB / 269.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.008378, allocations: 0.7999 MB / 269.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.008866, allocations: 311 kB / 270.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.008995, allocations: 96 kB / 270.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.009667, allocations: 0.6395 MB / 270.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.009785, allocations: 123.5 kB / 271 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.009977, allocations: 219.6 kB / 271.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.0108, allocations: 0.9388 MB / 272.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.01081, allocations: 4 kB / 272.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01081, allocations: 0 / 272.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.01083, allocations: 0 / 272.2 MB, free: 2.797 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.001497/0.01232, allocations: 1.328 MB / 273.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.01235, allocations: 15.98 kB / 273.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.01262, allocations: 229.9 kB / 273.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.0129, allocations: 268.9 kB / 274 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.01298, allocations: 117 kB / 274.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.01306, allocations: 79.94 kB / 274.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1221/0.1352, allocations: 1.331 MB / 275.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1352, allocations: 4.469 kB / 275.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.1353, allocations: 41.73 kB / 275.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-05/0.1354, allocations: 51.31 kB / 275.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.1361, allocations: 0.7994 MB / 276.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.1383, allocations: 2.513 MB / 279 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.139, allocations: 0.821 MB / 279.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.1395, allocations: 0.6623 MB / 280.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1395, allocations: 13.16 kB / 280.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008607/0.1404, allocations: 1.035 MB / 281.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 4.388e-06/0.1404, allocations: 4.062 kB / 281.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001759/0.1421, allocations: 2.067 MB / 283.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1423, allocations: 400.5 kB / 283.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1426, allocations: 340.3 kB / 284.3 MB, free: 3.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.1426, allocations: 66.95 kB / 284.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1428, allocations: 246 kB / 284.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1429, allocations: 207 kB / 284.8 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1431, allocations: 232.5 kB / 285 MB, free: 3.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.1432, allocations: 378 kB / 285.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1435, allocations: 0.4917 MB / 285.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.144, allocations: 0.9315 MB / 286.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1451, allocations: 1.664 MB / 288.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.1451, allocations: 9.219 kB / 288.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00111/0.1462, allocations: 1.358 MB / 289.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.1464, allocations: 329.5 kB / 290.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.1464, allocations: 11.25 kB / 290.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.1464, allocations: 17.75 kB / 290.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1468, allocations: 185.8 kB / 290.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.1468, allocations: 23.83 kB / 290.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1471, allocations: 123.4 kB / 290.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.1472, allocations: 46.83 kB / 290.6 MB, free: 15.42 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: 125 ($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,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,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 (131): * Single equations (assignments): 120 * 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.0006372/0.1478, allocations: 0.6675 MB / 291.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.148, allocations: 119 kB / 291.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.1489, allocations: 1.216 MB / 292.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.1489, allocations: 3.594 kB / 292.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1489, allocations: 0 / 292.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.149, allocations: 1.219 kB / 292.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1504, allocations: 1.779 MB / 294.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1504, allocations: 3.141 kB / 294.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.1505, allocations: 32.06 kB / 294.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.1505, allocations: 48.44 kB / 294.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1505, allocations: 0 / 294.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.1506, allocations: 39.19 kB / 294.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1506, allocations: 0 / 294.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1506, allocations: 7.156 kB / 294.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1517, allocations: 1.727 MB / 296.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.1519, allocations: 71.98 kB / 296.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1521, allocations: 75.05 kB / 296.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/0.1525, allocations: 344.6 kB / 296.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.1525, allocations: 48.33 kB / 296.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.1526, allocations: 87.78 kB / 296.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1526, allocations: 4 kB / 296.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007111/0.1533, allocations: 342.2 kB / 297.1 MB, free: 11.8 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.0006327/0.1539, allocations: 433.2 kB / 297.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1555, allocations: 2.072 MB / 299.6 MB, free: 9.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.1555, allocations: 4.75 kB / 299.6 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.1563, allocations: 1.339 MB / 301 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1567, allocations: 359.8 kB / 301.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1589, allocations: 1.705 MB / 303 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.754e-05/0.159, allocations: 159.9 kB / 303.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1591, allocations: 70.39 kB / 303.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.1596, allocations: 304.2 kB / 303.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1596, allocations: 0 / 303.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Templates: time 0.02043/0.1801, allocations: 14.61 MB / 318.2 MB, free: 6.578 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1410348042845726]