Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDtest.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.TFDtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TFDtest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TFDtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TFDtest",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.001088/0.001088, 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.001278/0.001279, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, 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.198/0.198, allocations: 16.75 MB / 307.1 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 371.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3328, allocations: 53.46 MB / 425.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.003291/0.3361, allocations: 2.479 MB / 427.7 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.3395, allocations: 2.508 MB / 430.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.3398, allocations: 14.16 kB / 430.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.3402, allocations: 178.7 kB / 430.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.3406, allocations: 193.9 kB / 430.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.3424, allocations: 1.262 MB / 431.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.3441, allocations: 2.651 MB / 434.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.3445, allocations: 287.3 kB / 434.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.3453, allocations: 0.9491 MB / 435.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.3459, allocations: 0.6084 MB / 436.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.3461, allocations: 160.2 kB / 436.5 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009212/0.347, allocations: 0.8216 MB / 437.3 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3473, allocations: 260.6 kB / 437.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.3478, allocations: 0.6985 MB / 438.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.3492, allocations: 1.977 MB / 440.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3492, allocations: 0 / 440.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3492, allocations: 0 / 440.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.3493, allocations: 2.531 kB / 440.2 MB, free: 32.77 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002142/0.3514, allocations: 2.103 MB / 442.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3515, allocations: 13.8 kB / 442.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.3517, allocations: 204.2 kB / 442.5 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.3522, allocations: 161.4 kB / 442.7 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.3529, allocations: 0.6385 MB / 443.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.353, allocations: 153.2 kB / 443.5 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3532, allocations: 141.8 kB / 443.6 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.356, allocations: 2.338 MB / 446 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.356, allocations: 6.5 kB / 446 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.3561, allocations: 66.94 kB / 446 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.3563, allocations: 99.12 kB / 446.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.3585, allocations: 1.579 MB / 447.7 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.3631, allocations: 5.546 MB / 453.2 MB, free: 24.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.3653, allocations: 2.695 MB / 455.9 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3672, allocations: 2.525 MB / 458.5 MB, free: 21.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3673, allocations: 84.83 kB / 458.6 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.3695, allocations: 1.608 MB / 460.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 2.956e-06/0.3695, allocations: 1.75 kB / 460.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.007217/0.3768, allocations: 4.616 MB / 464.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004562/0.3773, allocations: 1.045 MB / 465.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008456/0.3781, allocations: 0.6123 MB / 466.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.3783, allocations: 107.5 kB / 466.5 MB, free: 17.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.3786, allocations: 400.7 kB / 466.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.3789, allocations: 367.1 kB / 467.3 MB, free: 16.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.3794, allocations: 409.4 kB / 467.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.3795, allocations: 334.1 kB / 468 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.3808, allocations: 0.7159 MB / 468.7 MB, free: 16.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.3825, allocations: 1.405 MB / 470.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005375/0.3878, allocations: 4.512 MB / 474.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-05/0.388, allocations: 5.875 kB / 474.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005663/0.3936, allocations: 3.214 MB / 477.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.394, allocations: 0.6362 MB / 478.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.418e-05/0.3941, allocations: 21.34 kB / 478.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.7e-05/0.3942, allocations: 31.59 kB / 478.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.3949, allocations: 223.1 kB / 478.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.975e-05/0.395, allocations: 43.88 kB / 478.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.3961, allocations: 236.8 kB / 479 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.3963, allocations: 102.1 kB / 479.1 MB, free: 8.922 MB / 350.1 MB Warning: Assuming fixed start value for the following 48 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" 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.firingTimeOut:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeIn: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: 93 * Number of states: 0 () * Number of discrete variables: 243 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$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,$whenCondition14,$PRE.P2.reStart,$whenCondition11,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition9,$whenCondition10,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition12,$whenCondition13,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$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.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.T1.firingTimeOut,$PRE.T1.firingTimeIn,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T1.activationOut.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activationIn.normalArc[1],T1.activationIn.testValueInt[1],T1.activationIn.arcType[1],T1.activationIn.disPlaceIn[1],T1.activationOut.active,T1.activationOut.maxTokensInt[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.tIntOut[1],T1.activationIn.active,T1.activationIn.minTokensInt[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.tIntIn[1],T1.prefire,T1.durationPassedOut,$PRE.T1.durationPassedOut,T1.durationPassedIn,$PRE.T1.durationPassedIn,T1.firingTimeOut,T1.firingTimeIn,T1.fire,$PRE.T1.fire,T1.activeOut,T1.activeIn,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,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,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 230 * Array equations: 1 * Algorithm blocks: 20 * 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.001843/0.3981, allocations: 1.329 MB / 480.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.3985, allocations: 140 kB / 480.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.4034, allocations: 3.51 MB / 484.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/0.4034, allocations: 9.766 kB / 484.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4034, allocations: 0 / 484.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.4035, allocations: 5.188 kB / 484.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.4102, allocations: 5.25 MB / 489.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4102, allocations: 0 / 489.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.4104, allocations: 43.92 kB / 489.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4104, allocations: 4 kB / 489.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.4105, allocations: 75.95 kB / 489.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4105, allocations: 4 kB / 489.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4105, allocations: 7.969 kB / 489.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.4158, allocations: 4.2 MB / 493.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.416, allocations: 175.8 kB / 493.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/0.4163, allocations: 144 kB / 494 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.4171, allocations: 131.9 kB / 494.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/0.4178, allocations: 404.2 kB / 494.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/0.418, allocations: 91.89 kB / 494.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004447/0.4184, allocations: 362.8 kB / 495 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4184, allocations: 4 kB / 495 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001861/0.4203, allocations: 0.5775 MB / 495.6 MB, free: 12.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 134 ($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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,T1.activeIn,T1.activeOut,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,P1.t,P1.outTransition[1].tokenInOut,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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.fire,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active) * Number of discrete states: 101 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],T1.activationOut.active,T1.durationPassedOut,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],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,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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 (71): * Single equations (assignments): 47 * Array equations: 1 * Algorithm blocks: 16 * Record equations: 0 * When equations: 7 * 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.00712/0.4274, allocations: 5.194 MB / 0.489 GB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005302/0.4328, allocations: 3.956 MB / 0.4929 GB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4328, allocations: 0 / 0.4929 GB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005129/0.4379, allocations: 5.782 MB / 0.4986 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4391, allocations: 210.3 kB / 0.4988 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/0.4602, allocations: 13.65 MB / 0.5121 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008681/0.4611, allocations: 1.122 MB / 0.5132 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006796/0.4618, allocations: 255.8 kB / 0.5134 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.4623, allocations: 347.3 kB / 0.5138 GB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4623, allocations: 3.938 kB / 0.5138 GB, free: 12.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08445/0.5467, allocations: 30.01 MB / 0.5431 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.917, allocations: 11.98 kB / 0.5431 GB, free: 14.18 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TFDtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TFDtest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TFDtest_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TFDtest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TFDtest.fmu > PNlib_PNlib.Examples.DisTest.TFDtest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TFDtest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TFDtest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TFDtest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches