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.001456/0.001456, allocations: 92.5 kB / 19.94 MB, free: 4.602 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.9842/0.9842, allocations: 177.2 MB / 200.2 MB, free: 5.953 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.001481/0.001481, allocations: 164.6 kB / 256.7 MB, free: 13.34 MB / 250.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.3088/0.3088, allocations: 89.08 MB / 402.2 MB, free: 9.895 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 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 2.224e-06/2.224e-06, allocations: 0 / 0.5697 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.879e-05, allocations: 2.281 kB / 0.5697 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.003493/0.003532, allocations: 1.609 MB / 0.5713 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004781, allocations: 0.5842 MB / 0.5719 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.004879, allocations: 0 / 0.5719 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.004923, allocations: 7.875 kB / 0.5719 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.005088, allocations: 31.83 kB / 0.5719 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.005538, allocations: 79.7 kB / 0.572 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.005818, allocations: 155.5 kB / 0.5721 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.00595, allocations: 17.22 kB / 0.5721 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.006245, allocations: 91.75 kB / 0.5722 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.006365, allocations: 47.86 kB / 0.5723 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.006396, allocations: 12 kB / 0.5723 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.006463, allocations: 20 kB / 0.5723 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.006508, allocations: 31.89 kB / 0.5723 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.006578, allocations: 35.84 kB / 0.5724 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.006838, allocations: 127.6 kB / 0.5725 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.006843, allocations: 0 / 0.5725 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.156e-06/0.006847, allocations: 0 / 0.5725 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.006855, allocations: 0 / 0.5725 GB, free: 10.66 MB / 0.4948 GB 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.0008833/0.007738, allocations: 379.5 kB / 0.5729 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.007798, allocations: 12.03 kB / 0.5729 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.008006, allocations: 24.83 kB / 0.5729 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.008286, allocations: 152.1 kB / 0.573 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.008391, allocations: 67.91 kB / 0.5731 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.008426, allocations: 8.375 kB / 0.5731 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.0087, allocations: 106.2 kB / 0.5732 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008712, allocations: 4.188 kB / 0.5732 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.008738, allocations: 8.125 kB / 0.5732 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008745, allocations: 4 kB / 0.5732 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.008976, allocations: 83.92 kB / 0.5733 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.009772, allocations: 352.2 kB / 0.5736 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.01002, allocations: 93.42 kB / 0.5737 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.01015, allocations: 56.77 kB / 0.5738 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.01018, allocations: 4 kB / 0.5738 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.01051, allocations: 167.2 kB / 0.5739 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.01051, allocations: 0 / 0.5739 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0005849/0.0111, allocations: 229.5 kB / 0.5742 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.01115, allocations: 67.33 kB / 0.5742 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01131, allocations: 144.4 kB / 0.5744 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.01134, allocations: 29.7 kB / 0.5744 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.0114, allocations: 96.12 kB / 0.5745 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.01147, allocations: 55.72 kB / 0.5745 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.01154, allocations: 41.7 kB / 0.5746 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.01167, allocations: 322.8 kB / 0.5749 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.01183, allocations: 59.97 kB / 0.5749 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.01195, allocations: 59.97 kB / 0.575 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.01217, allocations: 98.88 kB / 0.5751 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01217, allocations: 3.938 kB / 0.5751 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003265/0.0125, allocations: 177.3 kB / 0.5753 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.01253, allocations: 6.656 kB / 0.5753 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01253, allocations: 0 / 0.5753 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.01256, allocations: 0 / 0.5753 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01272, allocations: 31.91 kB / 0.5753 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01273, allocations: 4 kB / 0.5753 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.01288, allocations: 31.97 kB / 0.5753 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.0129, allocations: 11.98 kB / 0.5754 GB, free: 7.543 MB / 0.4948 GB 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.0001261/0.01303, allocations: 123.8 kB / 0.5755 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.01306, allocations: 19.84 kB / 0.5755 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.0131, allocations: 17.12 kB / 0.5755 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.01311, allocations: 4 kB / 0.5755 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.01311, allocations: 0 / 0.5755 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.01312, allocations: 3.984 kB / 0.5755 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.01332, allocations: 169.2 kB / 0.5757 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.01332, allocations: 7.938 kB / 0.5757 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01346, allocations: 23.92 kB / 0.5757 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01346, allocations: 0 / 0.5757 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01348, allocations: 4 kB / 0.5757 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01349, allocations: 0 / 0.5757 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01349, allocations: 3.984 kB / 0.5757 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.01408, allocations: 299.5 kB / 0.576 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01411, allocations: 11.94 kB / 0.576 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01414, allocations: 8 kB / 0.576 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.01429, allocations: 39.97 kB / 0.5761 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.0144, allocations: 27.95 kB / 0.5761 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.01443, allocations: 4 kB / 0.5761 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.01451, allocations: 111.2 kB / 0.5762 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01452, allocations: 0 / 0.5762 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002615/0.01478, allocations: 32 kB / 0.5762 GB, free: 6.59 MB / 0.4948 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: 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.0001523/0.01493, allocations: 107.2 kB / 0.5763 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01528, allocations: 148.4 kB / 0.5765 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01528, allocations: 4 kB / 0.5765 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.01542, allocations: 82.66 kB / 0.5765 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.01563, allocations: 19.88 kB / 0.5766 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.01627, allocations: 311.8 kB / 0.5769 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.01635, allocations: 105.9 kB / 0.577 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.01642, allocations: 20.5 kB / 0.577 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01643, allocations: 0 / 0.577 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of Templates: time 0.005139/0.02156, allocations: 1.961 MB / 0.5789 GB, free: 3.789 MB / 0.4948 GB " [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 > OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.31510348431766]