Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.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.0006536/0.0006536, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001621, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.8445/0.8445, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1481/0.9926, allocations: 53.64 MB / 242 MB, free: 2.641 MB / 234.7 MB " [Timeout remaining time 179] 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.0007784/0.0007784, allocations: 155.6 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009907/0.001769, allocations: 475 kB / 243.4 MB, free: 1.301 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4269/0.4269, allocations: 89.2 MB / 333.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04439/0.4713, allocations: 30.22 MB / 363.5 MB, free: 3.059 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 364.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.438e-05, allocations: 9.125 kB / 364.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.003242/0.003267, allocations: 1.7 MB / 366.5 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004516, allocations: 0.6028 MB / 367.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.004596, allocations: 4 kB / 367.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.004632, allocations: 11.88 kB / 367.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.004744, allocations: 26.69 kB / 367.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.005049, allocations: 88.41 kB / 367.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.005298, allocations: 145.4 kB / 367.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005407, allocations: 17.94 kB / 367.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.005721, allocations: 107.7 kB / 367.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005848, allocations: 41.62 kB / 367.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.005881, allocations: 12 kB / 367.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.005959, allocations: 24 kB / 367.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.006, allocations: 23.94 kB / 367.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.006045, allocations: 27.88 kB / 367.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.006226, allocations: 79.67 kB / 367.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.006241, allocations: 0 / 367.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006242, allocations: 4 kB / 367.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.006254, allocations: 0 / 367.7 MB, free: 14.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006536/0.006908, allocations: 342.7 kB / 368.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.006944, allocations: 8.031 kB / 368.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.007143, allocations: 106 kB / 368.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.007368, allocations: 158.2 kB / 368.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.00745, allocations: 63.97 kB / 368.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.007483, allocations: 16.36 kB / 368.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.007657, allocations: 82.12 kB / 368.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007667, allocations: 192 / 368.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.007688, allocations: 8.125 kB / 368.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.007695, allocations: 0 / 368.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.007795, allocations: 35.95 kB / 368.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.00833, allocations: 244.1 kB / 368.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.008495, allocations: 66.47 kB / 368.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.008542, allocations: 16.86 kB / 368.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.008564, allocations: 4 kB / 368.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.008793, allocations: 134.9 kB / 369 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.445e-06/0.008795, allocations: 4 kB / 369 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002684/0.009063, allocations: 127.5 kB / 369.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.009097, allocations: 51.41 kB / 369.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.009208, allocations: 153 kB / 369.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.009233, allocations: 29.7 kB / 369.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.009276, allocations: 92.12 kB / 369.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.009336, allocations: 47.75 kB / 369.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.009417, allocations: 41.69 kB / 369.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.009514, allocations: 330.8 kB / 369.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.009568, allocations: 19.98 kB / 369.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.009621, allocations: 22.02 kB / 369.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.009727, allocations: 66.69 kB / 370 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.009729, allocations: 0 / 370 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001702/0.0099, allocations: 107.8 kB / 370.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.009918, allocations: 7.438 kB / 370.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.009923, allocations: 0 / 370.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.009939, allocations: 0 / 370.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.01017, allocations: 35.97 kB / 370.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01017, allocations: 3.984 kB / 370.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01028, allocations: 23.94 kB / 370.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.0103, allocations: 12 kB / 370.2 MB, free: 12.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (lagLimWindupGuard.inputLow,lagLimWindupGuard.inputBelow,lagLimWindupGuard.stateLow,lagLimWindupGuard.inputHigh,lagLimWindupGuard.inputAbove,lagLimWindupGuard.stateHigh,lagLimWindupGuard.atMin,$PRE.lagLimWindupGuard.atMin,lagLimWindupGuard.atMax,$PRE.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001071/0.01041, allocations: 123.8 kB / 370.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.01044, allocations: 19.92 kB / 370.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.01049, allocations: 21.12 kB / 370.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.0105, allocations: 4 kB / 370.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0105, allocations: 0 / 370.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.0105, allocations: 0 / 370.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.01067, allocations: 113.7 kB / 370.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.01067, allocations: 4 kB / 370.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.01086, allocations: 31.91 kB / 370.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.01089, allocations: 23.88 kB / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01089, allocations: 0 / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01091, allocations: 4 kB / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01092, allocations: 0 / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01092, allocations: 0 / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.01121, allocations: 163.2 kB / 370.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.01124, allocations: 12 kB / 370.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01136, allocations: 27.91 kB / 370.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.01144, allocations: 27.95 kB / 370.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.01146, allocations: 8.031 kB / 370.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.0115, allocations: 28.83 kB / 370.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0115, allocations: 0 / 370.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.01168, allocations: 35.94 kB / 370.8 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simpleLagLim.state,lagLimWindupGuard.state) * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,lagLimWindupGuard.atMax,lagLimWindupGuard.atMin,lagLimWindupGuard.stateHigh,lagLimWindupGuard.inputAbove,lagLimWindupGuard.inputHigh,lagLimWindupGuard.stateLow,lagLimWindupGuard.inputBelow,lagLimWindupGuard.inputLow) * Number of discrete states: 2 (lagLimWindupGuard.atMax,lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001188/0.0118, allocations: 92.8 kB / 370.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.01198, allocations: 84.3 kB / 371 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.01199, allocations: 0 / 371 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.01211, allocations: 68.69 kB / 371 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.0123, allocations: 91.19 kB / 371.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.01351, allocations: 278.4 kB / 371.4 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.01356, allocations: 68.08 kB / 371.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.01364, allocations: 17.48 kB / 371.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.01375, allocations: 67.36 kB / 371.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01375, allocations: 4 kB / 371.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.00586/0.01961, allocations: 2.314 MB / 373.9 MB, free: 8.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8471213718876243]