Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 217.9 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08288/0.08288, allocations: 16.93 MB / 329.4 MB, free: 2.352 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 59.91 kB / 459.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1074, allocations: 57.63 MB / 0.5053 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003638/0.111, allocations: 1.9 MB / 0.5071 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.115, allocations: 1.975 MB / 0.5091 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1153, allocations: 7.938 kB / 0.5091 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.1158, allocations: 135 kB / 0.5092 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.1161, allocations: 131.1 kB / 0.5093 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1182, allocations: 0.9767 MB / 0.5103 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1199, allocations: 1.353 MB / 0.5116 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1201, allocations: 60.3 kB / 0.5117 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.1209, allocations: 0.5455 MB / 0.5122 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.1215, allocations: 350.3 kB / 0.5125 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1216, allocations: 72 kB / 0.5126 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.1228, allocations: 0.6786 MB / 0.5132 GB, free: 376 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.123, allocations: 139.4 kB / 0.5134 GB, free: 236 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2215/0.3445, allocations: 340.3 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.3466, allocations: 1.1 MB / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3466, allocations: 1.75 kB / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3466, allocations: 0 / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3467, allocations: 0 / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001653/0.3483, allocations: 1.184 MB / 0.5159 GB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.3484, allocations: 12.19 kB / 0.516 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.3485, allocations: 111.9 kB / 0.5161 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.3489, allocations: 90.23 kB / 0.5161 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.3495, allocations: 355.6 kB / 0.5165 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.3496, allocations: 109.5 kB / 0.5166 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3498, allocations: 71 kB / 0.5167 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.3515, allocations: 1.144 MB / 0.5178 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.3515, allocations: 2.656 kB / 0.5178 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.3516, allocations: 32.66 kB / 0.5178 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3517, allocations: 49.94 kB / 0.5179 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3531, allocations: 0.7626 MB / 0.5186 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.3571, allocations: 2.908 MB / 0.5214 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3581, allocations: 0.5677 MB / 0.522 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.3589, allocations: 491.9 kB / 0.5225 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.3589, allocations: 7.953 kB / 0.5225 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.3603, allocations: 0.8286 MB / 0.5233 GB, free: 7.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/0.3603, allocations: 1.312 kB / 0.5233 GB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003397/0.3637, allocations: 2.267 MB / 0.5255 GB, free: 6.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.3639, allocations: 0.6173 MB / 0.5261 GB, free: 6.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.3644, allocations: 381 kB / 0.5265 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.245e-05/0.3645, allocations: 67.42 kB / 0.5265 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3646, allocations: 248.4 kB / 0.5268 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3648, allocations: 210.2 kB / 0.527 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.3651, allocations: 215.5 kB / 0.5272 GB, free: 5.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3652, allocations: 374.6 kB / 0.5275 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.3657, allocations: 324.7 kB / 0.5278 GB, free: 4.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.3664, allocations: 0.6841 MB / 0.5285 GB, free: 4.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.3684, allocations: 2.13 MB / 0.5306 GB, free: 2.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3684, allocations: 3.781 kB / 0.5306 GB, free: 2.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00196/0.3703, allocations: 1.557 MB / 0.5321 GB, free: 1.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3705, allocations: 346.4 kB / 0.5324 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.3705, allocations: 10.19 kB / 0.5324 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.3705, allocations: 17.62 kB / 0.5325 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3709, allocations: 115.9 kB / 0.5326 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/0.3709, allocations: 30.23 kB / 0.5326 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.3714, allocations: 119.9 kB / 0.5327 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.3714, allocations: 54.27 kB / 0.5328 GB, free: 1.449 MB / 382.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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0008753/0.3723, allocations: 0.7309 MB / 0.5335 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.3725, allocations: 81.66 kB / 0.5336 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.3749, allocations: 1.72 MB / 0.5352 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3749, allocations: 10.88 kB / 0.5353 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3749, allocations: 5.469 kB / 0.5353 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3749, allocations: 1.922 kB / 0.5353 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.3793, allocations: 2.651 MB / 0.5378 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3793, allocations: 1 kB / 0.5378 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3794, allocations: 25.06 kB / 0.5379 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3794, allocations: 5.969 kB / 0.5379 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/0.3795, allocations: 39.02 kB / 0.5379 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3795, allocations: 2.688 kB / 0.5379 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3795, allocations: 1.344 kB / 0.5379 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.3827, allocations: 2.134 MB / 0.54 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.3828, allocations: 59.09 kB / 0.5401 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.3829, allocations: 68.11 kB / 0.5401 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.3833, allocations: 55.77 kB / 0.5402 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3835, allocations: 83.34 kB / 0.5403 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/0.3836, allocations: 44.16 kB / 0.5403 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.3839, allocations: 237.1 kB / 0.5405 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 1.094 kB / 0.5405 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001214/0.3851, allocations: 319.4 kB / 0.5408 GB, free: 13.56 MB / 398.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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.004399/0.3895, allocations: 2.959 MB / 0.5437 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.3921, allocations: 1.759 MB / 0.5454 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3921, allocations: 2 kB / 0.5454 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.3935, allocations: 1.177 MB / 0.5466 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3941, allocations: 100.7 kB / 0.5467 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4043, allocations: 7.202 MB / 0.5537 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.4049, allocations: 0.9088 MB / 0.5546 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003659/0.4053, allocations: 137.8 kB / 0.5547 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.4056, allocations: 180.8 kB / 0.5549 GB, free: 4.859 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4056, allocations: 0 / 0.5549 GB, free: 4.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.4661, allocations: 16.82 MB / 0.5713 GB, free: 5.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.58, allocations: 7.812 kB / 0.5713 GB, free: 5.387 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.336941788904369]