Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.NoInputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.NoInputConflict") translateModel(PNlib.Examples.DisTest.NoInputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.NoInputConflict") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01143/0.01143, allocations: 94.86 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 199.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 240.3 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2428/0.2428, allocations: 16.74 MB / 307.3 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.56 kB / 426.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09401, allocations: 53.47 MB / 479.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003015/0.09706, allocations: 2.231 MB / 482.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.1009, allocations: 2.105 MB / 484.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.1015, allocations: 7.188 kB / 484.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.102, allocations: 151.2 kB / 484.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005336/0.1026, allocations: 150.5 kB / 484.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1046, allocations: 0.9673 MB / 485.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.1067, allocations: 1.707 MB / 487.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.1071, allocations: 263.7 kB / 487.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.108, allocations: 0.6709 MB / 488.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.1086, allocations: 405.9 kB / 488.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.1088, allocations: 92 kB / 488.5 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.1096, allocations: 0.515 MB / 489.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.1098, allocations: 203.2 kB / 489.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.1102, allocations: 449.7 kB / 489.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1115, allocations: 1.335 MB / 491 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1115, allocations: 4 kB / 491 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1115, allocations: 0 / 491 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.87e-05/0.1116, allocations: 0 / 491 MB, free: 1.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.0022/0.1138, allocations: 1.505 MB / 492.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1138, allocations: 8.031 kB / 492.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.1143, allocations: 116.4 kB / 492.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.115, allocations: 0.4931 MB / 493.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.1152, allocations: 129.4 kB / 493.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1153, allocations: 95.98 kB / 493.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.1178, allocations: 1.717 MB / 495.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1178, allocations: 7.938 kB / 495.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.118, allocations: 43.98 kB / 495.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.1181, allocations: 89.23 kB / 495.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.12, allocations: 1.173 MB / 496.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.1248, allocations: 4.494 MB / 0.4892 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.1269, allocations: 1.905 MB / 0.491 GB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.1286, allocations: 1.772 MB / 0.4928 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.1287, allocations: 89.47 kB / 0.4928 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.1303, allocations: 1.06 MB / 0.4939 GB, free: 2.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.404e-06/0.1303, allocations: 0 / 0.4939 GB, free: 2.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.003697/0.134, allocations: 2.587 MB / 0.4964 GB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003754/0.1344, allocations: 0.6142 MB / 0.497 GB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.135, allocations: 0.517 MB / 0.4975 GB, free: 14.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/0.1351, allocations: 69.69 kB / 0.4976 GB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.1354, allocations: 357 kB / 0.4979 GB, free: 13.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.1357, allocations: 258.2 kB / 0.4982 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.136, allocations: 290.8 kB / 0.4984 GB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1362, allocations: 322 kB / 0.4987 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.1369, allocations: 439 kB / 0.4992 GB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1379, allocations: 0.9004 MB / 0.5 GB, free: 11.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.1412, allocations: 2.704 MB / 0.5027 GB, free: 8.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-05/0.1413, allocations: 4 kB / 0.5027 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002809/0.1441, allocations: 1.919 MB / 0.5046 GB, free: 6.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.1443, allocations: 357.5 kB / 0.5049 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.1444, allocations: 12 kB / 0.5049 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.1444, allocations: 28 kB / 0.5049 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.1449, allocations: 159.6 kB / 0.5051 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-05/0.145, allocations: 35.86 kB / 0.5051 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.1457, allocations: 155 kB / 0.5053 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.1458, allocations: 71.98 kB / 0.5053 GB, free: 5.566 MB / 382.1 MB Warning: Assuming fixed start value for the following 28 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real 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: 65 * Number of states: 0 () * Number of discrete variables: 153 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 11 * 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.001161/0.147, allocations: 0.8569 MB / 0.5062 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.1472, allocations: 99.47 kB / 0.5063 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.1498, allocations: 1.85 MB / 0.5081 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1499, allocations: 8 kB / 0.5081 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1499, allocations: 4 kB / 0.5081 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1499, allocations: 0 / 0.5081 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/0.1543, allocations: 3.03 MB / 0.511 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1544, allocations: 0 / 0.511 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.1546, allocations: 43.92 kB / 0.5111 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.1546, allocations: 0 / 0.5111 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/0.1547, allocations: 47.97 kB / 0.5111 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1547, allocations: 0 / 0.5111 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1547, allocations: 4 kB / 0.5111 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.1581, allocations: 2.288 MB / 0.5134 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1582, allocations: 152.4 kB / 0.5135 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.1585, allocations: 83.97 kB / 0.5136 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.1589, allocations: 59.95 kB / 0.5137 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.1593, allocations: 140.3 kB / 0.5138 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.1594, allocations: 51.97 kB / 0.5138 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.1598, allocations: 303.1 kB / 0.5141 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1598, allocations: 0 / 0.5141 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001198/0.161, allocations: 379.4 kB / 0.5145 GB, free: 11.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 86 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 7 * 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.0007889/0.1618, allocations: 398.4 kB / 0.5149 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.1646, allocations: 2.255 MB / 0.5171 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1646, allocations: 4.188 kB / 0.5171 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003147/0.1678, allocations: 3.587 MB / 0.5206 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.1686, allocations: 132 kB / 0.5207 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.1728, allocations: 2.577 MB / 0.5232 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/0.1736, allocations: 1.014 MB / 0.5242 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005327/0.1741, allocations: 205.5 kB / 0.5244 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1743, allocations: 59.42 kB / 0.5245 GB, free: 1.387 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1743, allocations: 0 / 0.5245 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Templates: time 0.02194/0.1962, allocations: 13.37 MB / 0.5375 GB, free: 3.977 MB / 414.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.NoInputConflict.makefile (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & ./PNlib_PNlib.Examples.DisTest.NoInputConflict -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches