Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1567/0.1567, allocations: 16.75 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.88 kB / 371.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2445, allocations: 53.45 MB / 425.1 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002297/0.2468, allocations: 1.859 MB / 426.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2492, allocations: 1.908 MB / 428.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2494, allocations: 10.62 kB / 428.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.2496, allocations: 109.3 kB / 429 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.2499, allocations: 108.5 kB / 429.1 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2511, allocations: 0.9014 MB / 430 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.2519, allocations: 1.414 MB / 431.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2521, allocations: 142.4 kB / 431.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.2524, allocations: 0.5205 MB / 432 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.2527, allocations: 312 kB / 432.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.2528, allocations: 72.12 kB / 432.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.2532, allocations: 499.7 kB / 432.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2534, allocations: 129.5 kB / 433 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2536, allocations: 345.2 kB / 433.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.2543, allocations: 1.014 MB / 434.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2543, allocations: 0 / 434.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2543, allocations: 3.938 kB / 434.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2543, allocations: 0 / 434.4 MB, free: 35.42 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001092/0.2554, allocations: 1.211 MB / 435.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.2555, allocations: 13.11 kB / 435.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.2557, allocations: 85.28 kB / 435.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2561, allocations: 404.3 kB / 436.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.2561, allocations: 75.58 kB / 436.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.2562, allocations: 67.55 kB / 436.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2575, allocations: 1.102 MB / 437.3 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2575, allocations: 2.625 kB / 437.3 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.2576, allocations: 32.92 kB / 437.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.2577, allocations: 45.39 kB / 437.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000952/0.2586, allocations: 0.7383 MB / 438.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.2608, allocations: 3.017 MB / 441.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2619, allocations: 1.379 MB / 442.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.2627, allocations: 1.247 MB / 443.8 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.2628, allocations: 87.39 kB / 443.9 MB, free: 29.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008632/0.2637, allocations: 0.7796 MB / 444.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.793e-06/0.2637, allocations: 0 / 444.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002446/0.2661, allocations: 2.203 MB / 446.9 MB, free: 27.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.2663, allocations: 0.5185 MB / 447.4 MB, free: 27.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2665, allocations: 367.4 kB / 447.7 MB, free: 27.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.2666, allocations: 63.47 kB / 447.8 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.2667, allocations: 237.7 kB / 448 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2668, allocations: 186.6 kB / 448.2 MB, free: 26.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.267, allocations: 196 kB / 448.4 MB, free: 26.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.2671, allocations: 367.7 kB / 448.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.2675, allocations: 304.7 kB / 449.1 MB, free: 26.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.268, allocations: 0.6476 MB / 449.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.2696, allocations: 2.031 MB / 451.7 MB, free: 24.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.2696, allocations: 2.094 kB / 451.7 MB, free: 24.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001427/0.271, allocations: 1.452 MB / 453.2 MB, free: 23.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/0.2711, allocations: 318.6 kB / 453.5 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2712, allocations: 9.094 kB / 453.5 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2712, allocations: 19.17 kB / 453.5 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2715, allocations: 114 kB / 453.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.2715, allocations: 28.06 kB / 453.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2718, allocations: 102.6 kB / 453.8 MB, free: 22.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.2719, allocations: 49.62 kB / 453.8 MB, free: 22.81 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 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 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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0005168/0.2724, allocations: 0.7086 MB / 454.5 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2725, allocations: 67.66 kB / 454.6 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.2744, allocations: 1.667 MB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2744, allocations: 6.219 kB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2744, allocations: 3.938 kB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2744, allocations: 3.375 kB / 456.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.2772, allocations: 2.591 MB / 458.9 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2772, allocations: 0 / 458.9 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2773, allocations: 32.56 kB / 458.9 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2773, allocations: 4.969 kB / 458.9 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.2774, allocations: 41.56 kB / 458.9 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2774, allocations: 2.125 kB / 458.9 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2774, allocations: 1 kB / 458.9 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2798, allocations: 2.073 MB / 461 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.2798, allocations: 126.2 kB / 461.1 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.28, allocations: 73.77 kB / 461.2 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.2803, allocations: 53.69 kB / 461.3 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.2805, allocations: 78.67 kB / 461.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.2806, allocations: 43.94 kB / 461.4 MB, free: 18.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.2807, allocations: 224.4 kB / 461.6 MB, free: 18.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.2808, allocations: 0 / 461.6 MB, free: 18.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000848/0.2816, allocations: 310.9 kB / 461.9 MB, free: 18.77 MB / 350.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: 67 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,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 (37): * Single equations (assignments): 25 * Array equations: 0 * 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.0006022/0.2822, allocations: 373.1 kB / 462.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.2841, allocations: 1.795 MB / 464.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2841, allocations: 1.062 kB / 464.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.2858, allocations: 2.799 MB / 466.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.2863, allocations: 102 kB / 467 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.2885, allocations: 1.529 MB / 468.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2888, allocations: 0.8986 MB / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.2892, allocations: 131.4 kB / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.2892, allocations: 44.02 kB / 469.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2893, allocations: 5.5 kB / 469.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01884/0.3081, allocations: 11.04 MB / 480.6 MB, free: 11.42 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches