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.0007858/0.0007858, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007965/0.0007965, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9031/0.9031, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.04721/0.04721, allocations: 12.64 MB / 271.8 MB, free: 0.7148 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 402.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.038e-05, allocations: 2.281 kB / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002255/0.002275, allocations: 1.753 MB / 404 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.004768, allocations: 1.888 MB / 405.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.004965, allocations: 7.938 kB / 405.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.005438, allocations: 127 kB / 406 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.00564, allocations: 143 kB / 406.2 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.006915, allocations: 0.9548 MB / 407.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009468/0.007862, allocations: 1.353 MB / 408.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.008011, allocations: 60.34 kB / 408.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.008582, allocations: 0.7527 MB / 409.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.008913, allocations: 283.1 kB / 409.6 MB, free: 3.332 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.972e-05/0.008983, allocations: 76 kB / 409.6 MB, free: 3.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.009556, allocations: 0.6238 MB / 410.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.009698, allocations: 151.2 kB / 410.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.009889, allocations: 247.4 kB / 410.6 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.01091, allocations: 1.22 MB / 411.9 MB, free: 1.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01091, allocations: 4 kB / 411.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01091, allocations: 0 / 411.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.01092, allocations: 7.938 kB / 411.9 MB, free: 1.008 MB / 378.7 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.001217/0.01214, allocations: 1.179 MB / 413.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.01218, allocations: 12.03 kB / 413.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.01228, allocations: 114.7 kB / 413.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.01249, allocations: 92.5 kB / 413.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.01292, allocations: 336.8 kB / 413.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.01301, allocations: 108.7 kB / 413.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.01308, allocations: 71.92 kB / 413.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.01441, allocations: 1.649 MB / 415.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01442, allocations: 0 / 415.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/0.01447, allocations: 35.98 kB / 415.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.01453, allocations: 56.89 kB / 415.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.01552, allocations: 1.1 MB / 416.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.01778, allocations: 2.751 MB / 419.4 MB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.01855, allocations: 0.9149 MB / 420.3 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.01919, allocations: 0.822 MB / 421.1 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.01922, allocations: 15.94 kB / 421.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009386/0.02016, allocations: 1.235 MB / 422.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 1.513e-06/0.02016, allocations: 0 / 422.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.002466/0.02263, allocations: 3.067 MB / 425.4 MB, free: 2.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/0.02284, allocations: 0.6157 MB / 426 MB, free: 1.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.0231, allocations: 396 kB / 426.4 MB, free: 1.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.02315, allocations: 61.69 kB / 426.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.02327, allocations: 257.1 kB / 426.7 MB, free: 1.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.02339, allocations: 202.5 kB / 426.9 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.02356, allocations: 214.6 kB / 427.1 MB, free: 0.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.02367, allocations: 378.8 kB / 427.5 MB, free: 336 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.02411, allocations: 0.6414 MB / 428.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.02473, allocations: 1.139 MB / 429.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.02629, allocations: 2.154 MB / 431.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.0263, allocations: 0 / 431.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001556/0.02786, allocations: 1.905 MB / 433.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.02798, allocations: 342.7 kB / 433.7 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.02799, allocations: 8 kB / 433.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.02802, allocations: 20 kB / 433.7 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02822, allocations: 119.7 kB / 433.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.02823, allocations: 23.88 kB / 433.8 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.02847, allocations: 119.2 kB / 434 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.02853, allocations: 52 kB / 434 MB, free: 8.953 MB / 410.7 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.0005051/0.02904, allocations: 0.7371 MB / 434.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.02912, allocations: 71.67 kB / 434.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.03093, allocations: 2.063 MB / 436.9 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.03094, allocations: 15.98 kB / 436.9 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.03094, allocations: 0 / 436.9 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03095, allocations: 7.875 kB / 436.9 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.03359, allocations: 2.843 MB / 439.8 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.0336, allocations: 0 / 439.8 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.03366, allocations: 23.98 kB / 439.8 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.03366, allocations: 7.938 kB / 439.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.03371, allocations: 43.91 kB / 439.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.03372, allocations: 0 / 439.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.03372, allocations: 0 / 439.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.03573, allocations: 2.594 MB / 442.4 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.03578, allocations: 51.53 kB / 442.5 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.03589, allocations: 75.92 kB / 442.5 MB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.155/0.1909, allocations: 53.34 kB / 442.6 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.1911, allocations: 85.33 kB / 442.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.1912, allocations: 49.66 kB / 442.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1914, allocations: 231.4 kB / 443 MB, free: 80.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 1.969 kB / 443 MB, free: 80.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.1924, allocations: 312.6 kB / 443.3 MB, free: 80.52 MB / 410.7 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.002806/0.1952, allocations: 3.443 MB / 446.7 MB, free: 79.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.197, allocations: 2.455 MB / 449.2 MB, free: 77.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.197, allocations: 0 / 449.2 MB, free: 77.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.1978, allocations: 1.522 MB / 450.7 MB, free: 76.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1982, allocations: 106.4 kB / 450.8 MB, free: 76.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006151/0.2044, allocations: 8.928 MB / 459.7 MB, free: 70.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.2046, allocations: 312.7 kB / 460 MB, free: 70.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.2048, allocations: 136.9 kB / 460.2 MB, free: 70.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.205, allocations: 177.5 kB / 460.3 MB, free: 69.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.205, allocations: 2.344 kB / 460.3 MB, free: 69.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2313, allocations: 17.46 MB / 477.8 MB, free: 67.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.496, allocations: 8.406 kB / 477.8 MB, free: 67.11 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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: 9.290578476153314]