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.0008326/0.0008326, 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/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.9837/0.9837, allocations: 177.2 MB / 199.4 MB, free: 5.941 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.001755/0.001755, allocations: 156.6 kB / 256 MB, free: 13.35 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.3264/0.3264, allocations: 83.88 MB / 396.2 MB, free: 14.89 MB / 330.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_NonElectrical_Continuous_LagLimWindupGuard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_NonElectrical_Continuous_LagLimWindupGuard",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5607 GB, free: 6.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.029e-05, allocations: 2.281 kB / 0.5607 GB, free: 6.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.002073/0.002093, allocations: 1.586 MB / 0.5623 GB, free: 4.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.002811, allocations: 0.5337 MB / 0.5628 GB, free: 4.133 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.002873, allocations: 0 / 0.5628 GB, free: 4.133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.002899, allocations: 7.922 kB / 0.5628 GB, free: 4.125 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.002988, allocations: 15.81 kB / 0.5628 GB, free: 4.109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.003227, allocations: 67.72 kB / 0.5629 GB, free: 4.043 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.003355, allocations: 111.7 kB / 0.563 GB, free: 3.934 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.003447, allocations: 16.2 kB / 0.563 GB, free: 3.914 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.003603, allocations: 71.81 kB / 0.5631 GB, free: 3.844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.003682, allocations: 43.88 kB / 0.5631 GB, free: 3.801 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.0037, allocations: 8 kB / 0.5631 GB, free: 3.793 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.003745, allocations: 12 kB / 0.5631 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.003772, allocations: 27.91 kB / 0.5631 GB, free: 3.754 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.003815, allocations: 35.91 kB / 0.5632 GB, free: 3.719 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.003982, allocations: 107.6 kB / 0.5633 GB, free: 3.613 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003984, allocations: 4 kB / 0.5633 GB, free: 3.609 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003985, allocations: 4 kB / 0.5633 GB, free: 3.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.00399, allocations: 0 / 0.5633 GB, free: 3.605 MB / 490.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.001052/0.005042, allocations: 363.6 kB / 0.5636 GB, free: 3.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.005074, allocations: 8.031 kB / 0.5636 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.005108, allocations: 42.73 kB / 0.5637 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.572e-05/0.005204, allocations: 16.88 kB / 0.5637 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.005393, allocations: 149.6 kB / 0.5638 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.005443, allocations: 55.97 kB / 0.5639 GB, free: 2.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.005464, allocations: 4.375 kB / 0.5639 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005606, allocations: 90.19 kB / 0.564 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.005612, allocations: 192 / 0.564 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005623, allocations: 11.81 kB / 0.564 GB, free: 2.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.005626, allocations: 4 kB / 0.564 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.005728, allocations: 51.91 kB / 0.5641 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.00615, allocations: 335.7 kB / 0.5644 GB, free: 2.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.006392, allocations: 98.59 kB / 0.5645 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.006461, allocations: 40.83 kB / 0.5645 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.006471, allocations: 3.938 kB / 0.5645 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.006631, allocations: 119.4 kB / 0.5646 GB, free: 2.086 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.006633, allocations: 0 / 0.5646 GB, free: 2.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002753/0.006908, allocations: 153.6 kB / 0.5648 GB, free: 1.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.006932, allocations: 51.41 kB / 0.5648 GB, free: 1.867 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.007025, allocations: 144.6 kB / 0.565 GB, free: 1.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.007042, allocations: 29.7 kB / 0.565 GB, free: 1.684 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.007081, allocations: 100.1 kB / 0.5651 GB, free: 1.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.007105, allocations: 27.81 kB / 0.5651 GB, free: 1.555 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.007142, allocations: 25.7 kB / 0.5651 GB, free: 1.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.007228, allocations: 326.8 kB / 0.5654 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.007299, allocations: 35.98 kB / 0.5655 GB, free: 1.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.007366, allocations: 39.97 kB / 0.5655 GB, free: 1.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.007502, allocations: 76.83 kB / 0.5656 GB, free: 1.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007504, allocations: 0 / 0.5656 GB, free: 1.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000183/0.007687, allocations: 133.7 kB / 0.5657 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.007697, allocations: 4 kB / 0.5657 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.007701, allocations: 96 / 0.5657 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.00771, allocations: 3.938 kB / 0.5657 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.007788, allocations: 31.97 kB / 0.5658 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007792, allocations: 0 / 0.5658 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.007859, allocations: 23.86 kB / 0.5658 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.007868, allocations: 7.984 kB / 0.5658 GB, free: 0.8359 MB / 490.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.797e-05/0.007936, allocations: 121.8 kB / 0.5659 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.007949, allocations: 11.94 kB / 0.5659 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.007969, allocations: 12.78 kB / 0.5659 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.007972, allocations: 8 kB / 0.5659 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.007976, allocations: 0 / 0.5659 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.007978, allocations: 3.938 kB / 0.5659 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.0081, allocations: 176.6 kB / 0.5661 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.008101, allocations: 0 / 0.5661 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.008178, allocations: 23.97 kB / 0.5661 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00818, allocations: 0 / 0.5661 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.008189, allocations: 8 kB / 0.5661 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.00819, allocations: 0 / 0.5661 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00819, allocations: 0 / 0.5661 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.008468, allocations: 205.2 kB / 0.5663 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.008483, allocations: 11.98 kB / 0.5663 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.008497, allocations: 0 / 0.5663 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.00856, allocations: 19.97 kB / 0.5664 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.0086, allocations: 20.03 kB / 0.5664 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.008608, allocations: 4 kB / 0.5664 GB, free: 152 kB / 490.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.008662, allocations: 107.2 kB / 0.5665 GB, free: 44 kB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008662, allocations: 4 kB / 0.5665 GB, free: 40 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.008795, allocations: 16 kB / 0.5665 GB, free: 24 kB / 490.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 0.0004512/0.009247, allocations: 0.7411 MB / 0.5672 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.009508, allocations: 88 kB / 0.5673 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009509, allocations: 4 kB / 0.5673 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.009585, allocations: 51.92 kB / 0.5674 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.009706, allocations: 19.2 kB / 0.5674 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.01133, allocations: 1.683 MB / 0.569 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.01137, allocations: 75.33 kB / 0.5691 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.01142, allocations: 23.77 kB / 0.5691 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.01148, allocations: 28.48 kB / 0.5692 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01148, allocations: 0 / 0.5692 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/0.09362, allocations: 3.47 MB / 0.5725 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.185, allocations: 6.391 kB / 0.5725 GB, free: 9.824 MB / 0.4948 GB " [Timeout remaining time 653] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_NonElectrical_Continuous_LagLimWindupGuard_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ../OpenIPSL_dev_OpenIPSL_Tests_NonElectrical_Continuous_LagLimWindupGuard.fmu) > OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 52.5] (rm -f OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../OpenIPSL_dev_OpenIPSL_Tests_NonElectrical_Continuous_LagLimWindupGuard.fmu) > OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.107299634255469]