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.0013/0.0013, 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.00168/0.00168, allocations: 195.5 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1851/0.1851, allocations: 16.76 MB / 307.2 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001588, allocations: 64.09 kB / 371.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2845, allocations: 53.44 MB / 425.2 MB, free: 39.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002867/0.2874, allocations: 1.864 MB / 427.1 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2902, allocations: 1.913 MB / 429 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.2904, allocations: 9.344 kB / 429 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2908, allocations: 113.2 kB / 429.1 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.2912, allocations: 109 kB / 429.2 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.2928, allocations: 0.8983 MB / 430.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.2937, allocations: 1.421 MB / 431.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.294, allocations: 167.4 kB / 431.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.2944, allocations: 0.5309 MB / 432.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.2947, allocations: 347.6 kB / 432.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2948, allocations: 89.22 kB / 432.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.2954, allocations: 0.5035 MB / 433.1 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.2955, allocations: 143.5 kB / 433.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.2958, allocations: 394.7 kB / 433.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.2967, allocations: 1.145 MB / 434.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2967, allocations: 0 / 434.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2967, allocations: 0 / 434.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2967, allocations: 0 / 434.8 MB, free: 35.9 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.001318/0.2981, allocations: 1.278 MB / 436.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2981, allocations: 16.23 kB / 436.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.2982, allocations: 128.7 kB / 436.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.2985, allocations: 89.98 kB / 436.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.299, allocations: 438 kB / 436.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.2991, allocations: 79.52 kB / 436.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2992, allocations: 78.92 kB / 436.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.3009, allocations: 1.322 MB / 438.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.301, allocations: 3.938 kB / 438.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.3011, allocations: 39.09 kB / 438.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-05/0.3012, allocations: 60.44 kB / 438.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3025, allocations: 0.9075 MB / 439.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.3055, allocations: 3.313 MB / 442.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3069, allocations: 1.461 MB / 444 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.308, allocations: 1.36 MB / 445.4 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.3081, allocations: 83.36 kB / 445.4 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.3092, allocations: 0.899 MB / 446.3 MB, free: 28.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.3092, allocations: 0 / 446.3 MB, free: 28.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003203/0.3124, allocations: 2.534 MB / 448.9 MB, free: 27.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.3127, allocations: 0.5595 MB / 449.4 MB, free: 27.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.3131, allocations: 421.7 kB / 449.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.3132, allocations: 71.28 kB / 449.9 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3134, allocations: 272.1 kB / 450.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3135, allocations: 189 kB / 450.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.3138, allocations: 226.7 kB / 450.6 MB, free: 26.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3139, allocations: 379.5 kB / 451 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.3145, allocations: 442.7 kB / 451.4 MB, free: 25.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.3153, allocations: 0.8138 MB / 452.2 MB, free: 25.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.3175, allocations: 2.544 MB / 454.8 MB, free: 23.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3175, allocations: 2.938 kB / 454.8 MB, free: 23.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002146/0.3196, allocations: 1.822 MB / 456.6 MB, free: 22.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.3198, allocations: 340.5 kB / 456.9 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3198, allocations: 11.88 kB / 456.9 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.3198, allocations: 17.19 kB / 456.9 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3202, allocations: 128.9 kB / 457.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.3202, allocations: 23.08 kB / 457.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.3207, allocations: 146.9 kB / 457.2 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.3208, allocations: 54.38 kB / 457.3 MB, free: 21.98 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.0008956/0.3217, allocations: 0.7486 MB / 458 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.3219, allocations: 77.75 kB / 458.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3259, allocations: 1.952 MB / 460.1 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.326, allocations: 9.719 kB / 460.1 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.326, allocations: 0 / 460.1 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.326, allocations: 8.078 kB / 460.1 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.3316, allocations: 2.973 MB / 463 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3316, allocations: 1.25 kB / 463.1 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3318, allocations: 25.42 kB / 463.1 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.3318, allocations: 6.375 kB / 463.1 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.332, allocations: 42.73 kB / 463.1 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.332, allocations: 1.344 kB / 463.1 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.332, allocations: 1.984 kB / 463.1 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.337, allocations: 2.321 MB / 465.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3371, allocations: 127.3 kB / 465.6 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.3375, allocations: 83.91 kB / 465.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.3383, allocations: 69.98 kB / 465.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000831/0.3391, allocations: 329.5 kB / 466 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.3393, allocations: 49.17 kB / 466.1 MB, free: 17.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.3397, allocations: 247.8 kB / 466.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3397, allocations: 4 kB / 466.3 MB, free: 17.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001877/0.3416, allocations: 339.9 kB / 466.7 MB, free: 17.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 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.006188/0.3478, allocations: 3.141 MB / 469.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.3514, allocations: 2.137 MB / 471.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.3514, allocations: 1.875 kB / 471.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.3536, allocations: 3.064 MB / 475 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.3543, allocations: 107.2 kB / 475.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3649, allocations: 7.938 MB / 483.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3654, allocations: 0.9185 MB / 484 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.3659, allocations: 143.6 kB / 484.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.3661, allocations: 195.8 kB / 484.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3661, allocations: 0 / 484.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04099/0.4071, allocations: 17.71 MB / 0.4903 GB, free: 6.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.293, allocations: 8.672 kB / 0.4903 GB, free: 6.316 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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTD_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_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv","/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