Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.00174/0.00174, allocations: 81.48 kB / 19.44 MB, free: 348 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.001944/0.001944, allocations: 173.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.577/1.577, allocations: 177.2 MB / 203.1 MB, free: 5.285 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.08789/0.08789, allocations: 12.66 MB / 272.2 MB, free: 404 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 345.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.838e-05, allocations: 2.312 kB / 345.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002374/0.002403, allocations: 1.782 MB / 347.5 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.006368, allocations: 1.87 MB / 349.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.00665, allocations: 7.938 kB / 349.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.007036, allocations: 127 kB / 349.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.007431, allocations: 139 kB / 349.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.009539, allocations: 0.9547 MB / 350.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.01125, allocations: 1.349 MB / 352 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.01143, allocations: 65.77 kB / 352 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.0124, allocations: 0.7682 MB / 352.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.01296, allocations: 315 kB / 353.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.01312, allocations: 88 kB / 353.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.01418, allocations: 0.6122 MB / 353.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.01439, allocations: 151.3 kB / 354 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.0148, allocations: 291.4 kB / 354.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.01661, allocations: 1.352 MB / 355.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01662, allocations: 4 kB / 355.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01662, allocations: 0 / 355.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.01662, allocations: 4 kB / 355.6 MB, free: 8.391 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.002258/0.01888, allocations: 1.341 MB / 356.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.01892, allocations: 8.031 kB / 357 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.01938, allocations: 156.5 kB / 357.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.02009, allocations: 371.5 kB / 357.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.02023, allocations: 117 kB / 357.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.02039, allocations: 83.98 kB / 357.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.02306, allocations: 1.745 MB / 359.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.02308, allocations: 3.938 kB / 359.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/0.02318, allocations: 39.98 kB / 359.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.02329, allocations: 56.95 kB / 359.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.02523, allocations: 1.137 MB / 360.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/0.03038, allocations: 3.872 MB / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.0322, allocations: 1.239 MB / 365.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.03373, allocations: 1.142 MB / 366.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/0.03379, allocations: 11.98 kB / 366.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.03566, allocations: 1.233 MB / 368.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.225e-06/0.03566, allocations: 7.938 kB / 368.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.005277/0.04094, allocations: 3.175 MB / 371.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004832/0.04142, allocations: 0.5559 MB / 371.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.04214, allocations: 0.5174 MB / 372.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.04225, allocations: 69.69 kB / 372.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.04255, allocations: 331.5 kB / 372.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.04281, allocations: 238.6 kB / 373 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.04332, allocations: 324.2 kB / 373.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003735/0.04369, allocations: 0.586 MB / 373.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/0.04461, allocations: 0.6514 MB / 374.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.04617, allocations: 1.329 MB / 375.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.04893, allocations: 2.047 MB / 378 MB, free: 268 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.04894, allocations: 7.938 kB / 378 MB, free: 260 kB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003225/0.05217, allocations: 2.035 MB / 380 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.05244, allocations: 329 kB / 380.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.05247, allocations: 12 kB / 380.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/0.0525, allocations: 20.03 kB / 380.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.05305, allocations: 167.7 kB / 380.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-05/0.05309, allocations: 23.92 kB / 380.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.05363, allocations: 127.3 kB / 380.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.05373, allocations: 52.34 kB / 380.7 MB, free: 13.31 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: 52 * 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.arcWeight[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.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 (135): * Single equations (assignments): 124 * 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.001073/0.0548, allocations: 0.7836 MB / 381.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.05507, allocations: 119.7 kB / 381.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.05862, allocations: 2.163 MB / 383.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.05864, allocations: 7.938 kB / 383.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.05865, allocations: 8 kB / 383.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.05866, allocations: 3.984 kB / 383.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.0637, allocations: 3.026 MB / 386.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.0637, allocations: 0 / 386.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.06383, allocations: 35.86 kB / 386.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.06384, allocations: 3.984 kB / 386.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.06395, allocations: 35.98 kB / 386.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.06396, allocations: 4 kB / 386.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.06396, allocations: 0 / 386.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.06819, allocations: 2.753 MB / 389.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.06828, allocations: 47.59 kB / 389.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.06849, allocations: 75.97 kB / 389.8 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.06896, allocations: 67.95 kB / 389.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006244/0.06958, allocations: 319.7 kB / 390.2 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.0697, allocations: 43.98 kB / 390.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.06999, allocations: 255 kB / 390.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06999, allocations: 7.938 kB / 390.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001313/0.07131, allocations: 347.5 kB / 390.8 MB, free: 2.852 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: 68 ($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.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 (37): * Single equations (assignments): 24 * 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.0009448/0.07225, allocations: 406.7 kB / 391.2 MB, free: 2.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.07596, allocations: 2.548 MB / 393.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.07597, allocations: 0 / 393.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.07842, allocations: 1.979 MB / 395.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.07902, allocations: 103.8 kB / 395.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.08242, allocations: 1.79 MB / 397.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.0828, allocations: 305.5 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.08316, allocations: 128.9 kB / 398 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.08327, allocations: 48.48 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.08328, allocations: 0 / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Templates: time 0.1382/0.2215, allocations: 13.43 MB / 411.5 MB, free: 72.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.1248738270951435]