Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 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.001282/0.001281, allocations: 197 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2177/0.2177, allocations: 16.76 MB / 307.2 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 59.91 kB / 371.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 53.46 MB / 425.2 MB, free: 39.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003381/0.352, allocations: 1.852 MB / 427 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.3554, allocations: 1.952 MB / 429 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.3557, allocations: 9.656 kB / 429 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.3561, allocations: 111.7 kB / 429.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3564, allocations: 112.2 kB / 429.2 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.3584, allocations: 0.9122 MB / 430.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3595, allocations: 1.411 MB / 431.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.3597, allocations: 145.9 kB / 431.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.3601, allocations: 0.5204 MB / 432.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.3605, allocations: 307.3 kB / 432.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.3606, allocations: 69.5 kB / 432.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.3611, allocations: 0.4899 MB / 433.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3613, allocations: 140.6 kB / 433.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.3616, allocations: 335 kB / 433.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.3625, allocations: 1.017 MB / 434.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3625, allocations: 0 / 434.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3625, allocations: 0 / 434.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3625, allocations: 0 / 434.6 MB, free: 35.74 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001412/0.3639, allocations: 1.204 MB / 435.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.364, allocations: 15.3 kB / 435.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.3641, allocations: 110.6 kB / 435.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.3644, allocations: 88.27 kB / 436 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3649, allocations: 402.5 kB / 436.4 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.365, allocations: 77.38 kB / 436.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3651, allocations: 61.91 kB / 436.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.3665, allocations: 1.101 MB / 437.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3665, allocations: 0 / 437.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.3666, allocations: 32.67 kB / 437.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.3667, allocations: 42.14 kB / 437.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3677, allocations: 0.7132 MB / 438.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.3705, allocations: 2.988 MB / 441.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.3718, allocations: 1.268 MB / 442.6 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.3728, allocations: 1.161 MB / 443.8 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/0.3728, allocations: 89.91 kB / 443.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.3739, allocations: 0.7589 MB / 444.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.3739, allocations: 0 / 444.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002733/0.3766, allocations: 2.1 MB / 446.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.3768, allocations: 0.544 MB / 447.3 MB, free: 27.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.3772, allocations: 370.3 kB / 447.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.3773, allocations: 64 kB / 447.7 MB, free: 27.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3774, allocations: 249.6 kB / 448 MB, free: 27.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3776, allocations: 175.3 kB / 448.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3778, allocations: 200.9 kB / 448.3 MB, free: 27.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.3779, allocations: 364.5 kB / 448.7 MB, free: 26.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.3783, allocations: 294.5 kB / 449 MB, free: 26.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.3789, allocations: 0.6257 MB / 449.6 MB, free: 26.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.3806, allocations: 2 MB / 451.6 MB, free: 24.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.3806, allocations: 2.781 kB / 451.6 MB, free: 24.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001622/0.3823, allocations: 1.437 MB / 453 MB, free: 23.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3824, allocations: 316.9 kB / 453.3 MB, free: 23.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3824, allocations: 9.094 kB / 453.4 MB, free: 23.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3824, allocations: 18.78 kB / 453.4 MB, free: 23.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3827, allocations: 107.9 kB / 453.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.3828, allocations: 22.41 kB / 453.5 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.3831, allocations: 94.8 kB / 453.6 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.3832, allocations: 47.44 kB / 453.6 MB, free: 23.26 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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 (118): * Single equations (assignments): 108 * 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.0006877/0.3839, allocations: 0.7019 MB / 454.3 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.384, allocations: 66.97 kB / 454.4 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.386, allocations: 1.593 MB / 456 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.386, allocations: 10.88 kB / 456 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.386, allocations: 3.219 kB / 456 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.386, allocations: 3.328 kB / 456 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.3885, allocations: 2.318 MB / 458.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3885, allocations: 0 / 458.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3886, allocations: 31.58 kB / 458.4 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3887, allocations: 2.5 kB / 458.4 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.3887, allocations: 37.77 kB / 458.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3887, allocations: 2.25 kB / 458.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3888, allocations: 0 / 458.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.3916, allocations: 2.004 MB / 460.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.3917, allocations: 121.6 kB / 460.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.3919, allocations: 71.52 kB / 460.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3923, allocations: 51.8 kB / 460.6 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.3925, allocations: 81.91 kB / 460.7 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.3926, allocations: 42.53 kB / 460.8 MB, free: 19.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.3929, allocations: 231.6 kB / 461 MB, free: 19.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.3929, allocations: 0 / 461 MB, free: 19.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001208/0.3941, allocations: 306.5 kB / 461.3 MB, free: 19.44 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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.003572/0.3977, allocations: 2.805 MB / 464.1 MB, free: 17.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.3999, allocations: 1.742 MB / 465.8 MB, free: 16.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3999, allocations: 1.375 kB / 465.8 MB, free: 16.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.402, allocations: 2.709 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.4026, allocations: 102.6 kB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.4124, allocations: 6.774 MB / 475.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.4129, allocations: 0.8951 MB / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.4133, allocations: 128.6 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.4136, allocations: 169.8 kB / 476.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4136, allocations: 0 / 476.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.4481, allocations: 15.01 MB / 491.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.468, allocations: 10.36 kB / 491.6 MB, free: 0.7656 MB / 350.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches