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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.00179/0.00179, 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.00198/0.001981, allocations: 195.8 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2059/0.2059, allocations: 16.76 MB / 307.2 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 371.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 53.45 MB / 425.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002565/0.3019, allocations: 1.859 MB / 427.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3046, allocations: 1.911 MB / 429 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.3048, allocations: 6.812 kB / 429 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.3051, allocations: 115.5 kB / 429.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3054, allocations: 113.2 kB / 429.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3069, allocations: 0.9043 MB / 430.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3079, allocations: 1.422 MB / 431.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.3082, allocations: 160.3 kB / 431.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.3085, allocations: 0.5289 MB / 432.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.3089, allocations: 348.6 kB / 432.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.309, allocations: 88.88 kB / 432.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.3096, allocations: 0.5061 MB / 433.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3097, allocations: 143.1 kB / 433.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.31, allocations: 392.6 kB / 433.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008284/0.3109, allocations: 1.143 MB / 434.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3109, allocations: 0 / 434.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3109, allocations: 0 / 434.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3109, allocations: 0 / 434.8 MB, free: 35.73 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.00128/0.3122, allocations: 1.28 MB / 436.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3122, allocations: 17.36 kB / 436.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.3124, allocations: 120.7 kB / 436.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.3126, allocations: 95.22 kB / 436.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.3131, allocations: 441 kB / 436.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.3132, allocations: 88.25 kB / 436.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3133, allocations: 73.98 kB / 436.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.3149, allocations: 1.322 MB / 438.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3149, allocations: 0 / 438.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.315, allocations: 39.58 kB / 438.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.053e-05/0.3151, allocations: 56.03 kB / 438.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3164, allocations: 0.9167 MB / 439.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.3193, allocations: 3.339 MB / 442.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.3207, allocations: 1.582 MB / 444.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.3217, allocations: 1.458 MB / 445.6 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.328e-05/0.3218, allocations: 80.42 kB / 445.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.3229, allocations: 0.9109 MB / 446.6 MB, free: 28.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.535e-06/0.3229, allocations: 0 / 446.6 MB, free: 28.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003221/0.3262, allocations: 2.629 MB / 449.2 MB, free: 27.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.3264, allocations: 0.5273 MB / 449.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.3267, allocations: 420.2 kB / 450.2 MB, free: 26.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.3268, allocations: 74.5 kB / 450.2 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.327, allocations: 257.4 kB / 450.5 MB, free: 26.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3271, allocations: 189.7 kB / 450.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.3274, allocations: 227.5 kB / 450.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.3275, allocations: 379.8 kB / 451.3 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.328, allocations: 439.1 kB / 451.7 MB, free: 25.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.3288, allocations: 0.8034 MB / 452.5 MB, free: 24.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.3312, allocations: 2.555 MB / 455.1 MB, free: 23.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.3312, allocations: 2.906 kB / 455.1 MB, free: 23.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002215/0.3335, allocations: 1.821 MB / 456.9 MB, free: 22.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.3336, allocations: 339.3 kB / 457.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3337, allocations: 12 kB / 457.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.3337, allocations: 18.44 kB / 457.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.334, allocations: 122.3 kB / 457.4 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.3341, allocations: 27.3 kB / 457.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.3345, allocations: 129.5 kB / 457.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.3346, allocations: 62.23 kB / 457.6 MB, free: 21.69 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.0007371/0.3353, allocations: 0.7438 MB / 458.3 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3355, allocations: 81.19 kB / 458.4 MB, free: 21.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.3383, allocations: 2.025 MB / 460.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.3383, allocations: 8.891 kB / 460.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3383, allocations: 1.125 kB / 460.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3383, allocations: 7.656 kB / 460.4 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.3423, allocations: 3.039 MB / 463.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3423, allocations: 0.75 kB / 463.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3425, allocations: 28.69 kB / 463.5 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.3425, allocations: 2.375 kB / 463.5 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.626e-05/0.3426, allocations: 38.81 kB / 463.6 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3426, allocations: 10.44 kB / 463.6 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3426, allocations: 0 / 463.6 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.3458, allocations: 2.384 MB / 465.9 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.3459, allocations: 135.4 kB / 466.1 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3461, allocations: 76.25 kB / 466.2 MB, free: 17.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3466, allocations: 76.67 kB / 466.2 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/0.3471, allocations: 328.2 kB / 466.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.3472, allocations: 46.56 kB / 466.6 MB, free: 17.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00029/0.3475, allocations: 247.4 kB / 466.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 0 / 466.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001251/0.3488, allocations: 336.8 kB / 467.2 MB, free: 17.12 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.003933/0.3527, allocations: 3.199 MB / 470.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002796/0.3555, allocations: 2.191 MB / 472.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3555, allocations: 1.094 kB / 472.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.3579, allocations: 3.152 MB / 475.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.3585, allocations: 105.4 kB / 475.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/0.3682, allocations: 8.025 MB / 483.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3686, allocations: 0.9234 MB / 484.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.369, allocations: 148.2 kB / 484.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.3692, allocations: 191.2 kB / 485.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3692, allocations: 0 / 485.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.406, allocations: 17.76 MB / 0.4911 GB, free: 5.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.503, allocations: 11.77 kB / 0.4911 GB, free: 5.504 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches