Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, 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.001268/0.001268, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.223/1.223, 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.1764/0.1764, allocations: 16.77 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 371.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2196, allocations: 53.45 MB / 425.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002374/0.222, allocations: 1.856 MB / 426.9 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2243, allocations: 1.92 MB / 428.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2245, allocations: 7.656 kB / 428.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2247, allocations: 113.4 kB / 429 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.225, allocations: 108.6 kB / 429.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2261, allocations: 0.9048 MB / 430 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000809/0.2269, allocations: 1.426 MB / 431.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2271, allocations: 155.1 kB / 431.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.2274, allocations: 0.5407 MB / 432.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.2277, allocations: 341 kB / 432.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2278, allocations: 85.72 kB / 432.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.2283, allocations: 0.5081 MB / 433 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2285, allocations: 142 kB / 433.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.2287, allocations: 398.1 kB / 433.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.2295, allocations: 1.139 MB / 434.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2295, allocations: 2.938 kB / 434.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2295, allocations: 0 / 434.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2295, allocations: 4 kB / 434.7 MB, free: 35.61 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001135/0.2306, allocations: 1.278 MB / 436 MB, free: 34.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.2307, allocations: 13.95 kB / 436 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2309, allocations: 90.42 kB / 436.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.2313, allocations: 436.5 kB / 436.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.2314, allocations: 91.33 kB / 436.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.2315, allocations: 79.42 kB / 436.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.233, allocations: 1.324 MB / 438 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.233, allocations: 3.938 kB / 438 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.2331, allocations: 36.77 kB / 438 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/0.2332, allocations: 57.92 kB / 438.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2343, allocations: 0.9123 MB / 439 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.2369, allocations: 3.337 MB / 442.3 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2381, allocations: 1.572 MB / 443.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000997/0.2391, allocations: 1.451 MB / 445.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.2392, allocations: 86.64 kB / 445.5 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.2402, allocations: 0.9155 MB / 446.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 1.693e-06/0.2402, allocations: 0 / 446.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.002926/0.2431, allocations: 2.625 MB / 449 MB, free: 27.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.2433, allocations: 0.5426 MB / 449.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2436, allocations: 407.9 kB / 449.9 MB, free: 26.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.2437, allocations: 69 kB / 450 MB, free: 26.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2438, allocations: 256.3 kB / 450.3 MB, free: 26.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2439, allocations: 190 kB / 450.4 MB, free: 26.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.2441, allocations: 233.2 kB / 450.7 MB, free: 26.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.2442, allocations: 380 kB / 451 MB, free: 25.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.2447, allocations: 437.6 kB / 451.5 MB, free: 25.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.2454, allocations: 0.8086 MB / 452.3 MB, free: 24.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.2474, allocations: 2.555 MB / 454.8 MB, free: 23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.2475, allocations: 5.938 kB / 454.8 MB, free: 23 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002013/0.2495, allocations: 1.828 MB / 456.7 MB, free: 22.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.2496, allocations: 334.7 kB / 457 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2496, allocations: 13.03 kB / 457 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2497, allocations: 18.66 kB / 457 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.25, allocations: 120.3 kB / 457.1 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.25, allocations: 26.55 kB / 457.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.2504, allocations: 122 kB / 457.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.2505, allocations: 57.56 kB / 457.3 MB, free: 21.66 MB / 350.1 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * 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.0006181/0.2511, allocations: 0.7631 MB / 458.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.2513, allocations: 76.75 kB / 458.2 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.2537, allocations: 2.02 MB / 460.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.2537, allocations: 5.5 kB / 460.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2537, allocations: 1.156 kB / 460.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2537, allocations: 8 kB / 460.2 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.2571, allocations: 3.035 MB / 463.2 MB, free: 18.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2571, allocations: 4.969 kB / 463.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2572, allocations: 22.73 kB / 463.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2572, allocations: 6.047 kB / 463.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-05/0.2573, allocations: 48.31 kB / 463.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2573, allocations: 5.062 kB / 463.3 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2573, allocations: 0.9062 kB / 463.3 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.2601, allocations: 2.389 MB / 465.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.2602, allocations: 127.4 kB / 465.8 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.2603, allocations: 75.58 kB / 465.9 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.2608, allocations: 82.17 kB / 466 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004598/0.2613, allocations: 325.5 kB / 466.3 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.2614, allocations: 49.98 kB / 466.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.2616, allocations: 242.4 kB / 466.6 MB, free: 17.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2616, allocations: 1.375 kB / 466.6 MB, free: 17.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008487/0.2624, allocations: 347.2 kB / 466.9 MB, free: 17.08 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.0006047/0.263, allocations: 373.7 kB / 467.3 MB, free: 16.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2653, allocations: 2.173 MB / 469.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2653, allocations: 0 / 469.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.2672, allocations: 3.151 MB / 472.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.2677, allocations: 119.7 kB / 472.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.27, allocations: 1.634 MB / 474.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2703, allocations: 0.9134 MB / 475.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.2706, allocations: 147.2 kB / 475.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.2707, allocations: 45.06 kB / 475.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2707, allocations: 0 / 475.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01591/0.2866, allocations: 13.32 MB / 488.8 MB, free: 3.883 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches