Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.00142/0.00142, 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.001794/0.001794, allocations: 199.7 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2257/0.2257, allocations: 16.76 MB / 307.1 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 371.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 53.46 MB / 425.2 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003321/0.3415, allocations: 1.859 MB / 427.1 MB, free: 38.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.3447, allocations: 1.911 MB / 429 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.345, allocations: 5.719 kB / 429 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.3454, allocations: 112.6 kB / 429.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.3458, allocations: 109 kB / 429.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.3479, allocations: 0.9054 MB / 430.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.3491, allocations: 1.412 MB / 431.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.3493, allocations: 144.4 kB / 431.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.3497, allocations: 0.5151 MB / 432.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.3501, allocations: 308.2 kB / 432.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.3502, allocations: 76.22 kB / 432.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.3508, allocations: 0.4927 MB / 433 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3509, allocations: 126 kB / 433.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.3512, allocations: 335.2 kB / 433.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3522, allocations: 1.014 MB / 434.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3522, allocations: 0 / 434.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3522, allocations: 0 / 434.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3522, allocations: 0 / 434.5 MB, free: 35.52 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.001444/0.3537, allocations: 1.209 MB / 435.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3537, allocations: 12.77 kB / 435.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.3539, allocations: 111.6 kB / 435.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.3542, allocations: 87.75 kB / 435.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.3547, allocations: 404 kB / 436.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.3548, allocations: 79.28 kB / 436.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.3549, allocations: 62.59 kB / 436.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3563, allocations: 1.105 MB / 437.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.3564, allocations: 11.92 kB / 437.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.3565, allocations: 30.94 kB / 437.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/0.3565, allocations: 43.45 kB / 437.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3577, allocations: 0.7205 MB / 438.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3604, allocations: 3.006 MB / 441.4 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3615, allocations: 1.266 MB / 442.6 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.3626, allocations: 1.174 MB / 443.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.3627, allocations: 83.69 kB / 443.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3637, allocations: 0.7523 MB / 444.6 MB, free: 28.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.3637, allocations: 0 / 444.6 MB, free: 28.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002578/0.3663, allocations: 2.113 MB / 446.7 MB, free: 28.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.3665, allocations: 0.539 MB / 447.3 MB, free: 27.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.3668, allocations: 378.5 kB / 447.7 MB, free: 27.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.3669, allocations: 64.34 kB / 447.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.367, allocations: 244.7 kB / 448 MB, free: 27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3671, allocations: 177.8 kB / 448.1 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.3674, allocations: 208.7 kB / 448.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.3674, allocations: 364.2 kB / 448.7 MB, free: 26.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.3679, allocations: 300.4 kB / 449 MB, free: 26.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.3685, allocations: 0.6524 MB / 449.6 MB, free: 25.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.3706, allocations: 2.029 MB / 451.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.3706, allocations: 5.844 kB / 451.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001675/0.3723, allocations: 1.455 MB / 453.1 MB, free: 23.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3724, allocations: 316.5 kB / 453.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3724, allocations: 9.125 kB / 453.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.3725, allocations: 23.12 kB / 453.5 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3728, allocations: 112.5 kB / 453.6 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.3728, allocations: 29.73 kB / 453.6 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.3732, allocations: 99.62 kB / 453.7 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.3733, allocations: 46.69 kB / 453.7 MB, free: 22.94 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.00076/0.3741, allocations: 0.7012 MB / 454.5 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3742, allocations: 67.38 kB / 454.5 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.3761, allocations: 1.612 MB / 456.1 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3762, allocations: 7.094 kB / 456.1 MB, free: 21.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3762, allocations: 0 / 456.1 MB, free: 21.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3762, allocations: 3.125 kB / 456.1 MB, free: 21.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.3792, allocations: 2.521 MB / 458.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3792, allocations: 4.844 kB / 458.7 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3793, allocations: 24.56 kB / 458.7 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3793, allocations: 6.156 kB / 458.7 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.3794, allocations: 37.02 kB / 458.7 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3794, allocations: 2.438 kB / 458.7 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3794, allocations: 3.938 kB / 458.7 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.382, allocations: 2.01 MB / 460.7 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.3821, allocations: 128.8 kB / 460.9 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3823, allocations: 67.25 kB / 460.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.3826, allocations: 58 kB / 461 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.3828, allocations: 81.94 kB / 461.1 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.3829, allocations: 43.66 kB / 461.1 MB, free: 19.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3831, allocations: 225.6 kB / 461.3 MB, free: 19.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3831, allocations: 0 / 461.3 MB, free: 19.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009641/0.3841, allocations: 305.6 kB / 461.6 MB, free: 19.02 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.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.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 (35): * Single equations (assignments): 23 * 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.003443/0.3876, allocations: 2.806 MB / 464.4 MB, free: 17.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.3896, allocations: 1.761 MB / 466.2 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3896, allocations: 0 / 466.2 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.3914, allocations: 2.708 MB / 468.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.392, allocations: 114.1 kB / 469 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/0.4008, allocations: 6.94 MB / 476 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4012, allocations: 0.9037 MB / 476.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000372/0.4016, allocations: 130 kB / 477 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.4018, allocations: 175 kB / 477.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4018, allocations: 0 / 477.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.4387, allocations: 15.13 MB / 492.3 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.261, allocations: 9.719 kB / 492.3 MB, free: 84 kB / 350.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches