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.0008775/0.0008775, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.9695/0.9695, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.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.001171/0.001171, allocations: 221.9 kB / 309.2 MB, free: 1.969 MB / 234.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.4492/0.4492, allocations: 112 MB / 477.7 MB, free: 5.273 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.001144/0.001144, allocations: 87.88 kB / 0.6402 GB, free: 4.523 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1327, allocations: 81.39 MB / 0.7197 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.00209/0.1348, allocations: 1.596 MB / 0.7212 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.1355, allocations: 0.5271 MB / 0.7217 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.1356, allocations: 3.938 kB / 0.7217 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.1356, allocations: 11.92 kB / 0.7217 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.1357, allocations: 19.81 kB / 0.7218 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1359, allocations: 63.84 kB / 0.7218 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1361, allocations: 107.7 kB / 0.7219 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1362, allocations: 12.22 kB / 0.7219 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1363, allocations: 51.89 kB / 0.722 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.1364, allocations: 59.69 kB / 0.722 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1364, allocations: 8 kB / 0.7221 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.1365, allocations: 12 kB / 0.7221 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.1365, allocations: 31.91 kB / 0.7221 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.1366, allocations: 35.84 kB / 0.7221 GB, free: 452 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1367, allocations: 103.7 kB / 0.7222 GB, free: 348 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1367, allocations: 0 / 0.7222 GB, free: 348 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1368, allocations: 0 / 0.7222 GB, free: 348 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1368, allocations: 0 / 0.7222 GB, free: 348 kB / 0.4948 GB 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.0006115/0.1374, allocations: 359.7 kB / 0.7226 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1374, allocations: 12.03 kB / 0.7226 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.1374, allocations: 38.73 kB / 0.7226 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1376, allocations: 20.83 kB / 0.7226 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1378, allocations: 147.7 kB / 0.7228 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.1379, allocations: 59.97 kB / 0.7228 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1379, allocations: 384 / 0.7228 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1381, allocations: 93.56 kB / 0.7229 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1381, allocations: 4 kB / 0.7229 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1381, allocations: 7.984 kB / 0.7229 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1381, allocations: 0 / 0.7229 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1382, allocations: 47.97 kB / 0.723 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1386, allocations: 335.6 kB / 0.7233 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1389, allocations: 110.6 kB / 0.7234 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.139, allocations: 32.84 kB / 0.7234 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.139, allocations: 3.984 kB / 0.7234 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1391, allocations: 119.2 kB / 0.7236 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.1391, allocations: 0 / 0.7236 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0003123/0.1395, allocations: 161.6 kB / 0.7237 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1395, allocations: 55.41 kB / 0.7238 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.1396, allocations: 147.7 kB / 0.7239 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1396, allocations: 29.7 kB / 0.7239 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.1396, allocations: 92.14 kB / 0.724 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1397, allocations: 23.84 kB / 0.724 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1397, allocations: 25.7 kB / 0.7241 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000368/0.1401, allocations: 326.8 kB / 0.7244 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.1401, allocations: 35.98 kB / 0.7244 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.1402, allocations: 47.91 kB / 0.7245 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1403, allocations: 76.83 kB / 0.7245 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1403, allocations: 0 / 0.7245 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001887/0.1405, allocations: 133.5 kB / 0.7247 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1405, allocations: 4 kB / 0.7247 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1405, allocations: 0 / 0.7247 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1406, allocations: 4.281 kB / 0.7247 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.1406, allocations: 23.97 kB / 0.7247 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1406, allocations: 4 kB / 0.7247 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1407, allocations: 31.81 kB / 0.7247 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1407, allocations: 11.88 kB / 0.7247 GB, free: 13.55 MB / 0.5105 GB 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.553e-05/0.1408, allocations: 121.8 kB / 0.7249 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1408, allocations: 7.953 kB / 0.7249 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.1408, allocations: 16.72 kB / 0.7249 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1408, allocations: 0 / 0.7249 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1408, allocations: 0 / 0.7249 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1408, allocations: 0 / 0.7249 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1409, allocations: 172.6 kB / 0.725 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1409, allocations: 4 kB / 0.725 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.141, allocations: 23.97 kB / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.141, allocations: 4 kB / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.141, allocations: 0 / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.141, allocations: 0 / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.141, allocations: 0 / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1413, allocations: 208.8 kB / 0.7253 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.1413, allocations: 7.984 kB / 0.7253 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1413, allocations: 4.062 kB / 0.7253 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.1414, allocations: 23.97 kB / 0.7253 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1414, allocations: 11.97 kB / 0.7253 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1415, allocations: 8 kB / 0.7253 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.1415, allocations: 117.1 kB / 0.7254 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.1415, allocations: 0 / 0.7254 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001395/0.1416, allocations: 16 kB / 0.7255 GB, free: 12.75 MB / 0.5105 GB 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.0004199/0.1421, allocations: 0.7302 MB / 0.7262 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1423, allocations: 92.41 kB / 0.7263 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1423, allocations: 0 / 0.7263 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.1423, allocations: 51.91 kB / 0.7263 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1425, allocations: 11.98 kB / 0.7263 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1439, allocations: 1.678 MB / 0.728 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.144, allocations: 91.17 kB / 0.728 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.144, allocations: 8 kB / 0.7281 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1441, allocations: 31.42 kB / 0.7281 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.1441, allocations: 3.938 kB / 0.7281 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07756/0.2216, allocations: 3.325 MB / 0.7313 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.218, allocations: 21.06 kB / 0.7314 GB, free: 6.695 MB / 0.5105 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.139102082699537]