Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.001111/0.001111, allocations: 193 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1936/0.1936, allocations: 16.75 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 371.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3262, allocations: 53.44 MB / 425.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003419/0.3297, allocations: 1.86 MB / 427 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.3334, allocations: 1.954 MB / 429 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.3338, allocations: 10.22 kB / 429 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.3341, allocations: 115.2 kB / 429.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.3345, allocations: 109.9 kB / 429.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.3363, allocations: 0.9056 MB / 430.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3376, allocations: 1.435 MB / 431.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.3379, allocations: 160.6 kB / 431.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.3383, allocations: 0.5269 MB / 432.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.3386, allocations: 347 kB / 432.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3388, allocations: 90.28 kB / 432.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.3395, allocations: 0.5039 MB / 433.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.3397, allocations: 144 kB / 433.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.34, allocations: 395.1 kB / 433.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.341, allocations: 1.14 MB / 434.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3411, allocations: 2.688 kB / 434.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3411, allocations: 0 / 434.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3411, allocations: 0 / 434.8 MB, free: 35.78 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001451/0.3425, allocations: 1.273 MB / 436.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3426, allocations: 16.42 kB / 436.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.3427, allocations: 124.9 kB / 436.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.343, allocations: 96.64 kB / 436.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.3435, allocations: 441.7 kB / 436.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.3436, allocations: 80 kB / 436.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.3437, allocations: 79.2 kB / 436.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3452, allocations: 1.314 MB / 438.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3452, allocations: 0 / 438.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.3453, allocations: 35.42 kB / 438.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/0.3454, allocations: 60.42 kB / 438.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3466, allocations: 0.8829 MB / 439.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.3494, allocations: 3.317 MB / 442.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3506, allocations: 1.525 MB / 444.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3517, allocations: 1.358 MB / 445.4 MB, free: 29.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.3517, allocations: 87.16 kB / 445.5 MB, free: 28.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.3528, allocations: 0.8866 MB / 446.4 MB, free: 28.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.006e-06/0.3529, allocations: 6.938 kB / 446.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003038/0.3559, allocations: 2.526 MB / 448.9 MB, free: 27.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.3561, allocations: 0.5605 MB / 449.5 MB, free: 26.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.3564, allocations: 419.5 kB / 449.9 MB, free: 26.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.3565, allocations: 66.78 kB / 450 MB, free: 26.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3566, allocations: 264.2 kB / 450.2 MB, free: 26.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3568, allocations: 188.2 kB / 450.4 MB, free: 26.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.357, allocations: 227 kB / 450.6 MB, free: 26.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.3571, allocations: 379.2 kB / 451 MB, free: 25.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.3576, allocations: 430.4 kB / 451.4 MB, free: 25.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.3583, allocations: 0.7845 MB / 452.2 MB, free: 25.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.3605, allocations: 2.515 MB / 454.7 MB, free: 23.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3605, allocations: 2.969 kB / 454.7 MB, free: 23.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001999/0.3625, allocations: 1.808 MB / 456.5 MB, free: 22.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.3626, allocations: 339.3 kB / 456.9 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3626, allocations: 9.312 kB / 456.9 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.3627, allocations: 22.72 kB / 456.9 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.363, allocations: 113 kB / 457 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.363, allocations: 23.62 kB / 457 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.3635, allocations: 135.8 kB / 457.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.3636, allocations: 57.34 kB / 457.2 MB, free: 21.86 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: 50 * 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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$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.arcWeight[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.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,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 (130): * Single equations (assignments): 119 * 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.0008269/0.3644, allocations: 0.7589 MB / 458 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3646, allocations: 74.06 kB / 458 MB, free: 21.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.3672, allocations: 1.952 MB / 460 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3673, allocations: 8.156 kB / 460 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3673, allocations: 1.25 kB / 460 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3673, allocations: 3.938 kB / 460 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.3705, allocations: 2.732 MB / 462.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3705, allocations: 1.031 kB / 462.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3706, allocations: 27.38 kB / 462.8 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3706, allocations: 2.156 kB / 462.8 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.3707, allocations: 45.61 kB / 462.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3707, allocations: 6.125 kB / 462.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3707, allocations: 1.125 kB / 462.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.3737, allocations: 2.309 MB / 465.1 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/0.3738, allocations: 128 kB / 465.3 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.374, allocations: 79.73 kB / 465.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.3745, allocations: 80.89 kB / 465.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005649/0.3751, allocations: 324.7 kB / 465.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.3752, allocations: 50.12 kB / 465.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.3755, allocations: 252.6 kB / 466 MB, free: 17.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 0 / 466 MB, free: 17.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001198/0.3767, allocations: 336.9 kB / 466.4 MB, free: 17.5 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: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003945/0.3807, allocations: 3.128 MB / 469.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.3834, allocations: 2.121 MB / 471.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3834, allocations: 0.7969 kB / 471.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.3857, allocations: 3.054 MB / 474.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.3863, allocations: 110.8 kB / 474.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.3974, allocations: 7.866 MB / 482.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.3983, allocations: 0.9139 MB / 483.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.3989, allocations: 150.8 kB / 483.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.3992, allocations: 191.1 kB / 483.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3992, allocations: 3.938 kB / 483.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.4359, allocations: 17.61 MB / 0.4897 GB, free: 6.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.472, allocations: 15.17 kB / 0.4898 GB, free: 6.789 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches