Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.001151/0.001151, 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.001512/0.001512, allocations: 196.2 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1991/0.1991, allocations: 16.75 MB / 307.1 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 63.91 kB / 371.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3139, allocations: 53.45 MB / 425.2 MB, free: 39.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002632/0.3166, allocations: 1.865 MB / 427.1 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3193, allocations: 1.913 MB / 429 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.3195, allocations: 8.969 kB / 429 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3198, allocations: 118.1 kB / 429.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3201, allocations: 127.8 kB / 429.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3216, allocations: 0.9041 MB / 430.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.3226, allocations: 1.496 MB / 431.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.3229, allocations: 267.6 kB / 431.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.3234, allocations: 0.5718 MB / 432.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3238, allocations: 487.6 kB / 432.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.324, allocations: 139.5 kB / 433.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3251, allocations: 0.801 MB / 433.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3253, allocations: 207.1 kB / 434.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.3258, allocations: 0.5668 MB / 434.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3273, allocations: 1.761 MB / 436.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3273, allocations: 2.906 kB / 436.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3273, allocations: 0 / 436.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3273, allocations: 0 / 436.4 MB, free: 35.19 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001661/0.329, allocations: 1.556 MB / 438 MB, free: 34.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3291, allocations: 12.17 kB / 438 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.3293, allocations: 168.7 kB / 438.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.3296, allocations: 125 kB / 438.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.3303, allocations: 0.5416 MB / 438.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.3305, allocations: 143.8 kB / 438.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.3306, allocations: 117.1 kB / 439.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.3333, allocations: 2.028 MB / 441.1 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3333, allocations: 3.938 kB / 441.1 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.3334, allocations: 61.91 kB / 441.1 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.3336, allocations: 93.23 kB / 441.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3355, allocations: 1.424 MB / 442.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.3396, allocations: 4.268 MB / 446.9 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3415, allocations: 2.408 MB / 449.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.3432, allocations: 2.305 MB / 451.6 MB, free: 26.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.3433, allocations: 90.73 kB / 451.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.345, allocations: 1.311 MB / 453 MB, free: 25.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.345, allocations: 3.938 kB / 453 MB, free: 25.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.004961/0.3499, allocations: 3.961 MB / 457 MB, free: 24.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003016/0.3503, allocations: 0.6622 MB / 457.7 MB, free: 23.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.3509, allocations: 0.5083 MB / 458.2 MB, free: 23.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.351, allocations: 77.61 kB / 458.3 MB, free: 23.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3512, allocations: 345.2 kB / 458.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3513, allocations: 233.8 kB / 458.8 MB, free: 22.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.3517, allocations: 301.7 kB / 459.1 MB, free: 22.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.3517, allocations: 325.7 kB / 459.4 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.3526, allocations: 0.5583 MB / 460 MB, free: 22.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3537, allocations: 1.023 MB / 461 MB, free: 21.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.3568, allocations: 3.193 MB / 464.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.3569, allocations: 3.688 kB / 464.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002915/0.3598, allocations: 2.227 MB / 466.4 MB, free: 17.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.36, allocations: 355.7 kB / 466.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.36, allocations: 14.5 kB / 466.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.36, allocations: 20.62 kB / 466.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.3605, allocations: 161.6 kB / 467 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/0.3605, allocations: 31.45 kB / 467 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.3612, allocations: 165.3 kB / 467.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3613, allocations: 69.34 kB / 467.2 MB, free: 17.37 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001131/0.3624, allocations: 0.893 MB / 468.1 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.3626, allocations: 99.53 kB / 468.2 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.3672, allocations: 3.357 MB / 471.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.3672, allocations: 6.484 kB / 471.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3672, allocations: 1.125 kB / 471.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3672, allocations: 2.438 kB / 471.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.3738, allocations: 4.753 MB / 476.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3738, allocations: 1.25 kB / 476.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.374, allocations: 39.77 kB / 476.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.374, allocations: 2.125 kB / 476.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3741, allocations: 53.33 kB / 476.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3741, allocations: 3.219 kB / 476.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3741, allocations: 0 / 476.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.3789, allocations: 3.477 MB / 479.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.379, allocations: 142.1 kB / 480.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.3793, allocations: 91.23 kB / 480.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.3799, allocations: 104.8 kB / 480.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/0.3805, allocations: 379 kB / 480.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.3807, allocations: 63.88 kB / 480.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.381, allocations: 300.4 kB / 481 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.381, allocations: 3.938 kB / 481 MB, free: 11.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001413/0.3825, allocations: 487 kB / 481.5 MB, free: 11.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.006182/0.3886, allocations: 4.376 MB / 485.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003715/0.3924, allocations: 2.822 MB / 488.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3925, allocations: 0 / 488.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.3957, allocations: 4.49 MB / 493.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.3965, allocations: 133.5 kB / 493.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.4108, allocations: 9.954 MB / 0.4914 GB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.4115, allocations: 1.026 MB / 0.4924 GB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.4121, allocations: 213.7 kB / 0.4926 GB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.4125, allocations: 255.3 kB / 0.4929 GB, free: 3.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4125, allocations: 4 kB / 0.4929 GB, free: 3.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.4673, allocations: 23.97 MB / 0.5163 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.595, allocations: 2.188 kB / 0.5163 GB, free: 11.34 MB / 398.1 MB (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches