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.001143/0.001143, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003038, 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.001265/0.001265, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.003031, 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.052/1.052, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09574/1.148, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.05634/0.05634, allocations: 12.65 MB / 256.8 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01405/0.07039, allocations: 4.695 MB / 261.5 MB, free: 13.57 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.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.433e-06/1.433e-06, allocations: 0 / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.302e-05, allocations: 2.312 kB / 262.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00253/0.002553, allocations: 1.801 MB / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.005458, allocations: 1.909 MB / 266.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.00577, allocations: 7.938 kB / 266.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.006047, allocations: 115 kB / 266.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.00639, allocations: 150.9 kB / 266.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.008047, allocations: 0.8651 MB / 267.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.009659, allocations: 1.353 MB / 269 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.009862, allocations: 81.77 kB / 269.1 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008863/0.01075, allocations: 0.796 MB / 269.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.01132, allocations: 315 kB / 270.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.01144, allocations: 88 kB / 270.3 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000895/0.01234, allocations: 0.6395 MB / 270.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.01251, allocations: 131.4 kB / 271 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.01275, allocations: 219.6 kB / 271.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01387, allocations: 0.9388 MB / 272.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.01388, allocations: 3.938 kB / 272.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01388, allocations: 4 kB / 272.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.0139, allocations: 0 / 272.2 MB, free: 2.824 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.001631/0.01553, allocations: 1.324 MB / 273.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.01558, allocations: 15.98 kB / 273.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.01593, allocations: 229.9 kB / 273.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.01631, allocations: 268.9 kB / 274 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.0164, allocations: 113 kB / 274.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.01648, allocations: 75.98 kB / 274.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1393/0.1558, allocations: 1.333 MB / 275.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1558, allocations: 6.312 kB / 275.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.1559, allocations: 42.42 kB / 275.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.156, allocations: 51.41 kB / 275.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.1569, allocations: 0.7915 MB / 276.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1591, allocations: 2.496 MB / 278.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.1598, allocations: 0.8021 MB / 279.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.1603, allocations: 0.6482 MB / 280.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.1604, allocations: 9.25 kB / 280.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009251/0.1613, allocations: 1.009 MB / 281.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.515e-06/0.1613, allocations: 0.8125 kB / 281.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001769/0.1631, allocations: 2.041 MB / 283.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.1632, allocations: 396.6 kB / 283.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1635, allocations: 351.4 kB / 284.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.1636, allocations: 65.77 kB / 284.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1637, allocations: 262.2 kB / 284.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.1638, allocations: 193.6 kB / 284.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1641, allocations: 230.2 kB / 284.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.1642, allocations: 369.8 kB / 285.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1645, allocations: 0.4973 MB / 285.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.1651, allocations: 0.967 MB / 286.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.1663, allocations: 1.677 MB / 288.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.1664, allocations: 3.781 kB / 288.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001217/0.1676, allocations: 1.364 MB / 289.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.1678, allocations: 332.4 kB / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.1678, allocations: 12.59 kB / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.1678, allocations: 17.53 kB / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1682, allocations: 181.4 kB / 290.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.1682, allocations: 22.88 kB / 290.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.1686, allocations: 126.8 kB / 290.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.1686, allocations: 46.09 kB / 290.5 MB, free: 15.44 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: 52 * 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],P1.enableOut.arcWeight[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,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 (132): * Single equations (assignments): 121 * 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.000755/0.1694, allocations: 0.6786 MB / 291.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.1696, allocations: 113.1 kB / 291.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1708, allocations: 1.184 MB / 292.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.1708, allocations: 8.625 kB / 292.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1708, allocations: 1.688 kB / 292.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1708, allocations: 3.469 kB / 292.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1723, allocations: 1.739 MB / 294.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.1723, allocations: 0 / 294.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.1724, allocations: 29.86 kB / 294.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1724, allocations: 51.48 kB / 294.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1724, allocations: 2.797 kB / 294.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.1725, allocations: 42.98 kB / 294.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1725, allocations: 4.062 kB / 294.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1725, allocations: 0 / 294.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1736, allocations: 1.696 MB / 296 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.1737, allocations: 73.33 kB / 296.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.174, allocations: 76.77 kB / 296.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.1743, allocations: 353.3 kB / 296.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.1744, allocations: 38.19 kB / 296.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.279e-05/0.1745, allocations: 99.31 kB / 296.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1745, allocations: 0 / 296.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000765/0.1752, allocations: 337.9 kB / 297 MB, free: 12 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: 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.0005927/0.1758, allocations: 427.8 kB / 297.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.1773, allocations: 2.057 MB / 299.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.1773, allocations: 9.484 kB / 299.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.1782, allocations: 1.321 MB / 300.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1786, allocations: 361.4 kB / 301.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1804, allocations: 1.65 MB / 302.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1805, allocations: 155.9 kB / 303 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1807, allocations: 68.47 kB / 303 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.1813, allocations: 303.8 kB / 303.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1813, allocations: 0 / 303.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of Templates: time 0.01699/0.1983, allocations: 14.52 MB / 317.8 MB, free: 6.961 MB / 298.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 -ignoreHideResult -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","",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.091900580562651]