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.002667/0.002667, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003184/0.003184, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.696/1.696, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08892/0.08892, allocations: 12.67 MB / 272.2 MB, free: 0.5391 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.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.363e-06/1.363e-06, allocations: 0 / 345.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.887e-05, allocations: 3.859 kB / 345.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002177/0.002196, allocations: 1.789 MB / 347.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.005676, allocations: 1.87 MB / 349.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.005854, allocations: 11.94 kB / 349.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.006209, allocations: 115 kB / 349.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.0066, allocations: 139 kB / 349.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.008512, allocations: 0.9534 MB / 350.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.01017, allocations: 1.361 MB / 352 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.01035, allocations: 65.19 kB / 352 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.0114, allocations: 0.7565 MB / 352.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.01193, allocations: 323 kB / 353.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.01209, allocations: 88 kB / 353.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.01313, allocations: 0.6122 MB / 353.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.01335, allocations: 155.2 kB / 354 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.01376, allocations: 287.4 kB / 354.2 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.01563, allocations: 1.356 MB / 355.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01564, allocations: 0 / 355.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01564, allocations: 0 / 355.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.01564, allocations: 4 kB / 355.6 MB, free: 8.402 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00199/0.01763, allocations: 1.341 MB / 356.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.01767, allocations: 8.031 kB / 357 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004472/0.01812, allocations: 160.5 kB / 357.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.01883, allocations: 375.5 kB / 357.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.01897, allocations: 113 kB / 357.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.01912, allocations: 75.98 kB / 357.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.02205, allocations: 1.754 MB / 359.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.02207, allocations: 3.938 kB / 359.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.02217, allocations: 35.98 kB / 359.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.02228, allocations: 56.95 kB / 359.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.02429, allocations: 1.145 MB / 360.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.02935, allocations: 3.884 MB / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.03157, allocations: 1.309 MB / 365.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.03323, allocations: 1.212 MB / 367.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.03329, allocations: 8 kB / 367.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.03523, allocations: 1.272 MB / 368.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.214e-06/0.03523, allocations: 0 / 368.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.005388/0.04062, allocations: 3.279 MB / 371.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007051/0.04132, allocations: 0.5269 MB / 372.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.04208, allocations: 0.5134 MB / 372.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.0422, allocations: 69.62 kB / 372.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.04272, allocations: 323.7 kB / 373 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.04302, allocations: 234.6 kB / 373.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/0.04354, allocations: 332.2 kB / 373.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004049/0.04394, allocations: 0.5821 MB / 374.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.04493, allocations: 0.6514 MB / 374.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.04653, allocations: 1.288 MB / 376.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.04922, allocations: 2.043 MB / 378.2 MB, free: 92 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.04923, allocations: 0 / 378.2 MB, free: 92 kB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003473/0.0527, allocations: 2.037 MB / 380.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.05301, allocations: 329 kB / 380.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.05303, allocations: 12 kB / 380.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.05307, allocations: 16 kB / 380.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.05362, allocations: 168.3 kB / 380.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.05365, allocations: 23.94 kB / 380.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.05416, allocations: 119.4 kB / 380.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.05427, allocations: 59.98 kB / 380.9 MB, free: 13.14 MB / 314.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.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,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.001094/0.05536, allocations: 0.7666 MB / 381.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.05563, allocations: 127.6 kB / 381.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.05941, allocations: 2.221 MB / 384 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.05943, allocations: 8 kB / 384 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.05944, allocations: 0 / 384 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.05944, allocations: 3.984 kB / 384 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.06498, allocations: 3.104 MB / 387.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.06498, allocations: 4 kB / 387.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.06512, allocations: 31.92 kB / 387.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.06513, allocations: 0 / 387.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.06523, allocations: 43.97 kB / 387.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.06524, allocations: 0 / 387.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06524, allocations: 3.938 kB / 387.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.06969, allocations: 2.801 MB / 390 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.06977, allocations: 63.47 kB / 390.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.06998, allocations: 67.98 kB / 390.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.07046, allocations: 79.92 kB / 390.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/0.07109, allocations: 315.7 kB / 390.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.07121, allocations: 47.97 kB / 390.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002882/0.07149, allocations: 251 kB / 390.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07149, allocations: 0 / 390.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001126/0.07262, allocations: 347.5 kB / 391.2 MB, free: 2.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 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.0009368/0.07356, allocations: 407.1 kB / 391.6 MB, free: 2.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.07739, allocations: 2.582 MB / 394.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.07739, allocations: 256 / 394.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.07996, allocations: 2.025 MB / 396.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.08055, allocations: 111.7 kB / 396.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.08389, allocations: 1.876 MB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.08427, allocations: 312.6 kB / 398.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.08463, allocations: 128.9 kB / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.08476, allocations: 52.48 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.08476, allocations: 0 / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Templates: time 0.1381/0.2229, allocations: 13.47 MB / 412.1 MB, free: 73.26 MB / 330.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.278351300046779]