Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.000975/0.000975, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.9343/0.9343, allocations: 177.1 MB / 201.2 MB, free: 5.297 MB / 186.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.001213/0.001213, allocations: 167 kB / 257.9 MB, free: 12.75 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4002/0.4002, allocations: 83.85 MB / 345 MB, free: 6.102 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 389.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.223e-05, allocations: 2.312 kB / 389.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.002494/0.002516, allocations: 1.676 MB / 391.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.003382, allocations: 0.5428 MB / 391.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.003443, allocations: 4 kB / 391.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.003485, allocations: 11.92 kB / 391.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.003586, allocations: 15.81 kB / 391.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.003814, allocations: 63.73 kB / 391.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.003961, allocations: 115.7 kB / 392.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.004055, allocations: 8.234 kB / 392.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.004237, allocations: 71.88 kB / 392.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.004325, allocations: 43.88 kB / 392.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.004348, allocations: 8 kB / 392.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.004412, allocations: 23.98 kB / 392.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.004442, allocations: 23.91 kB / 392.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.004481, allocations: 35.91 kB / 392.3 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.004639, allocations: 91.64 kB / 392.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.004644, allocations: 3.984 kB / 392.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004645, allocations: 0 / 392.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004649, allocations: 0 / 392.4 MB, free: 7.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005276/0.005177, allocations: 308.5 kB / 392.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.005215, allocations: 12.03 kB / 392.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.005343, allocations: 20.91 kB / 392.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.005543, allocations: 154.2 kB / 392.8 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.005606, allocations: 55.97 kB / 392.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.005625, allocations: 4.375 kB / 392.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.00576, allocations: 74.17 kB / 393 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.005766, allocations: 192 / 393 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005777, allocations: 8.125 kB / 393 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005783, allocations: 0 / 393 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.005825, allocations: 19.92 kB / 393 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.006205, allocations: 216.2 kB / 393.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.006389, allocations: 54.55 kB / 393.3 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.006417, allocations: 12.86 kB / 393.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.006429, allocations: 0 / 393.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.006561, allocations: 95.33 kB / 393.4 MB, free: 6.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.006562, allocations: 4 kB / 393.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001637/0.006726, allocations: 77.83 kB / 393.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.006754, allocations: 51.41 kB / 393.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.006836, allocations: 149.7 kB / 393.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.006851, allocations: 25.7 kB / 393.7 MB, free: 5.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.006888, allocations: 88.12 kB / 393.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.006922, allocations: 27.78 kB / 393.8 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.006969, allocations: 29.69 kB / 393.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.007051, allocations: 318.8 kB / 394.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.00708, allocations: 12 kB / 394.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.007107, allocations: 11.98 kB / 394.1 MB, free: 5.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.007172, allocations: 36.78 kB / 394.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007174, allocations: 0 / 394.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000105/0.007279, allocations: 73.55 kB / 394.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.007293, allocations: 7.984 kB / 394.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007296, allocations: 0 / 394.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.007305, allocations: 0 / 394.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.007473, allocations: 39.95 kB / 394.3 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.007476, allocations: 4.062 kB / 394.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.007536, allocations: 19.94 kB / 394.3 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.007544, allocations: 4 kB / 394.3 MB, free: 4.996 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.552e-05/0.007609, allocations: 109.8 kB / 394.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.00763, allocations: 19.92 kB / 394.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.007655, allocations: 12.78 kB / 394.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007657, allocations: 0 / 394.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.00766, allocations: 0 / 394.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007663, allocations: 0 / 394.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.007764, allocations: 97.84 kB / 394.6 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007766, allocations: 4 kB / 394.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.007913, allocations: 41.11 kB / 394.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.007917, allocations: 11.88 kB / 394.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.007929, allocations: 3.984 kB / 394.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00793, allocations: 0 / 394.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.007932, allocations: 3.984 kB / 394.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.008105, allocations: 109.1 kB / 394.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.008121, allocations: 15.83 kB / 394.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008137, allocations: 4 kB / 394.8 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.008195, allocations: 11.98 kB / 394.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.008237, allocations: 15.97 kB / 394.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.008245, allocations: 8.031 kB / 394.8 MB, free: 4.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.008276, allocations: 32.77 kB / 394.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008276, allocations: 0 / 394.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001494/0.008425, allocations: 16 kB / 394.8 MB, free: 4.441 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 9.333e-05/0.008518, allocations: 76.42 kB / 394.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.008637, allocations: 53.03 kB / 395 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.00864, allocations: 0 / 395 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.008686, allocations: 24.8 kB / 395 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.008795, allocations: 15.98 kB / 395 MB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.009525, allocations: 274.8 kB / 395.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.00956, allocations: 63.34 kB / 395.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.009618, allocations: 12 kB / 395.3 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.009694, allocations: 63.36 kB / 395.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009695, allocations: 0 / 395.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of Templates: time 0.00373/0.01343, allocations: 1.571 MB / 397 MB, free: 2.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.sim & ./OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.122699902392924]