Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.0009181/0.0009181, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.002049, 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.0006963/0.0006963, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008934/0.00159, 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08741/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04728/0.04728, allocations: 12.66 MB / 256.8 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008428/0.05571, allocations: 4.687 MB / 261.5 MB, free: 13.56 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.168e-05, allocations: 2.312 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002148/0.00217, allocations: 1.801 MB / 264.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.004685, allocations: 1.948 MB / 266.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.004946, allocations: 11.94 kB / 266.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.005188, allocations: 127 kB / 266.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.005452, allocations: 131 kB / 266.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.006872, allocations: 0.8806 MB / 267.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.008127, allocations: 1.353 MB / 269 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.008299, allocations: 73.81 kB / 269.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.00908, allocations: 0.8 MB / 269.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.00957, allocations: 319 kB / 270.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.009679, allocations: 88 kB / 270.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.01049, allocations: 0.6317 MB / 271 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.01064, allocations: 135.4 kB / 271.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.01085, allocations: 219.6 kB / 271.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01188, allocations: 0.9388 MB / 272.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.0119, allocations: 0 / 272.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0119, allocations: 0 / 272.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.01192, allocations: 4 kB / 272.2 MB, free: 2.773 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001428/0.01335, allocations: 1.324 MB / 273.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01338, allocations: 15.98 kB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.0137, allocations: 229.9 kB / 273.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01405, allocations: 270 kB / 274.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.01413, allocations: 117 kB / 274.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.01422, allocations: 83.91 kB / 274.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1285/0.1427, allocations: 1.325 MB / 275.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1427, allocations: 4.219 kB / 275.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.1428, allocations: 36.91 kB / 275.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-05/0.1429, allocations: 52.88 kB / 275.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.1436, allocations: 0.7866 MB / 276.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.1457, allocations: 2.494 MB / 279 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.1463, allocations: 0.7992 MB / 279.8 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.1468, allocations: 0.6446 MB / 280.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.1469, allocations: 9.75 kB / 280.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.1477, allocations: 1.015 MB / 281.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.723e-06/0.1477, allocations: 0 / 281.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00162/0.1493, allocations: 2.027 MB / 283.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.1495, allocations: 399 kB / 283.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1497, allocations: 351.2 kB / 284.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.1498, allocations: 63.75 kB / 284.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1499, allocations: 261.8 kB / 284.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.15, allocations: 187.2 kB / 284.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.1503, allocations: 225.9 kB / 284.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.1503, allocations: 376.1 kB / 285.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.1506, allocations: 0.4945 MB / 285.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.151, allocations: 0.9478 MB / 286.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1521, allocations: 1.638 MB / 288.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.1521, allocations: 2.625 kB / 288.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001107/0.1532, allocations: 1.35 MB / 289.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.1534, allocations: 333.7 kB / 290 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.1534, allocations: 11.55 kB / 290 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.1534, allocations: 16.84 kB / 290.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.1538, allocations: 179.7 kB / 290.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.1538, allocations: 22.58 kB / 290.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.1541, allocations: 115.8 kB / 290.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.1542, allocations: 49.78 kB / 290.4 MB, free: 14.36 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: 50 * Number of states: 0 () * Number of discrete variables: 122 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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],P1.enableOut.arcWeight[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,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,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 (127): * Single equations (assignments): 116 * 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.0006704/0.1548, allocations: 0.6718 MB / 291.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.155, allocations: 117 kB / 291.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.1559, allocations: 1.174 MB / 292.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.1559, allocations: 8.359 kB / 292.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1559, allocations: 2.312 kB / 292.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1559, allocations: 4.203 kB / 292.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1571, allocations: 1.636 MB / 294 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1571, allocations: 0 / 294 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.1572, allocations: 29.02 kB / 294.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1572, allocations: 49.34 kB / 294.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1572, allocations: 6.031 kB / 294.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.1573, allocations: 35.86 kB / 294.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1573, allocations: 3.438 kB / 294.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1573, allocations: 0 / 294.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1584, allocations: 1.694 MB / 295.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.1586, allocations: 72.61 kB / 295.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1588, allocations: 76.7 kB / 296 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.1591, allocations: 344.9 kB / 296.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.1592, allocations: 41.02 kB / 296.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.1593, allocations: 98.64 kB / 296.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1593, allocations: 1.844 kB / 296.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008438/0.1601, allocations: 344.8 kB / 296.8 MB, free: 11.16 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.0006103/0.1607, allocations: 427.2 kB / 297.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1622, allocations: 2.029 MB / 299.3 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.1622, allocations: 8.75 kB / 299.3 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.1633, allocations: 1.322 MB / 300.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.1637, allocations: 358.3 kB / 300.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1658, allocations: 1.646 MB / 302.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1659, allocations: 159.4 kB / 302.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.1661, allocations: 70.77 kB / 302.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.1666, allocations: 298 kB / 303.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of SimCode: time 1.994e-06/0.1666, allocations: 4 kB / 303.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of Templates: time 0.01696/0.1836, allocations: 14.46 MB / 317.6 MB, free: 6.309 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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: 2.9678172590211034]