Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.001858/0.001858, 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.001918/0.001918, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.446/1.446, 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.1999/0.1999, allocations: 16.76 MB / 307.2 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 60.05 kB / 371.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2995, allocations: 53.45 MB / 425.2 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002721/0.3023, allocations: 1.856 MB / 427.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.3051, allocations: 1.913 MB / 429 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.3054, allocations: 11.97 kB / 429 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.3057, allocations: 108 kB / 429.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3061, allocations: 122.1 kB / 429.2 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3077, allocations: 0.9023 MB / 430.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3088, allocations: 1.424 MB / 431.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.309, allocations: 160.8 kB / 431.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.3094, allocations: 0.5278 MB / 432.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.3098, allocations: 346.8 kB / 432.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3099, allocations: 89.53 kB / 432.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006481/0.3106, allocations: 0.5072 MB / 433.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.3107, allocations: 136.5 kB / 433.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.3111, allocations: 396.5 kB / 433.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.3123, allocations: 1.14 MB / 434.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3123, allocations: 0 / 434.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3123, allocations: 0 / 434.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.3124, allocations: 0 / 434.8 MB, free: 35.79 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.001724/0.3141, allocations: 1.279 MB / 436.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3142, allocations: 23.58 kB / 436.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.3143, allocations: 118.7 kB / 436.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.3146, allocations: 91.62 kB / 436.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.3151, allocations: 435.3 kB / 436.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.3152, allocations: 83.97 kB / 436.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3153, allocations: 74.61 kB / 436.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.317, allocations: 1.326 MB / 438.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3171, allocations: 4 kB / 438.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/0.3172, allocations: 39.05 kB / 438.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.3173, allocations: 55.48 kB / 438.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.3186, allocations: 0.9032 MB / 439.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.3218, allocations: 3.319 MB / 442.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3231, allocations: 1.468 MB / 444 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3242, allocations: 1.359 MB / 445.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.3243, allocations: 80.23 kB / 445.4 MB, free: 29.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.3255, allocations: 0.9038 MB / 446.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.885e-06/0.3255, allocations: 0 / 446.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003311/0.3288, allocations: 2.525 MB / 448.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/0.329, allocations: 0.5671 MB / 449.4 MB, free: 26.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.3294, allocations: 424.8 kB / 449.9 MB, free: 26.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.3295, allocations: 65.86 kB / 449.9 MB, free: 26.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3296, allocations: 273.1 kB / 450.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.3298, allocations: 192 kB / 450.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.33, allocations: 234.5 kB / 450.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.3301, allocations: 373.7 kB / 451 MB, free: 25.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.3307, allocations: 439.4 kB / 451.4 MB, free: 25.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.3314, allocations: 0.811 MB / 452.2 MB, free: 25.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.3337, allocations: 2.538 MB / 454.7 MB, free: 23.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.3337, allocations: 3.25 kB / 454.7 MB, free: 23.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002115/0.3359, allocations: 1.832 MB / 456.6 MB, free: 22.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.336, allocations: 336.4 kB / 456.9 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.336, allocations: 10.28 kB / 456.9 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.336, allocations: 18.59 kB / 456.9 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3364, allocations: 128.9 kB / 457.1 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.3364, allocations: 22.72 kB / 457.1 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.3369, allocations: 142.9 kB / 457.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.337, allocations: 61.69 kB / 457.3 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: 52 * 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.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0009054/0.3379, allocations: 0.7399 MB / 458 MB, free: 21.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.3381, allocations: 75.97 kB / 458.1 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.3422, allocations: 1.95 MB / 460 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.3423, allocations: 17.19 kB / 460.1 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3423, allocations: 5.172 kB / 460.1 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3423, allocations: 7.266 kB / 460.1 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/0.3479, allocations: 2.966 MB / 463 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.348, allocations: 0 / 463 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3482, allocations: 29.92 kB / 463.1 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.3482, allocations: 9.188 kB / 463.1 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.3483, allocations: 42.95 kB / 463.1 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.3483, allocations: 2.281 kB / 463.1 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3484, allocations: 1.703 kB / 463.1 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.3533, allocations: 2.315 MB / 465.4 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.3535, allocations: 127.6 kB / 465.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.3538, allocations: 80.02 kB / 465.6 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.3546, allocations: 77.09 kB / 465.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/0.3554, allocations: 325.9 kB / 466 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.3555, allocations: 49.98 kB / 466.1 MB, free: 17.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.3559, allocations: 251.8 kB / 466.3 MB, free: 17.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.3559, allocations: 0 / 466.3 MB, free: 17.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001704/0.3576, allocations: 342.9 kB / 466.7 MB, free: 17.38 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: 68 ($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.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 (37): * Single equations (assignments): 24 * 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.005879/0.3635, allocations: 3.134 MB / 469.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.3671, allocations: 2.139 MB / 471.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3671, allocations: 4.969 kB / 471.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.3693, allocations: 3.055 MB / 475 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.37, allocations: 117.5 kB / 475.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3805, allocations: 7.946 MB / 483.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3809, allocations: 0.9144 MB / 484 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.3813, allocations: 139.4 kB / 484.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.3816, allocations: 192 kB / 484.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3816, allocations: 4 kB / 484.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.4235, allocations: 17.71 MB / 0.4903 GB, free: 6.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.171, allocations: 3 kB / 0.4903 GB, free: 6.25 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches