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.000669/0.000669, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008712/0.00154, allocations: 435.8 kB / 10.33 MB, free: 368 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.9145/0.9145, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1567/1.071, allocations: 53.64 MB / 241.9 MB, free: 2.742 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.0008045/0.0008045, allocations: 148.5 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001925, allocations: 489.1 kB / 243.2 MB, free: 1.422 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.4376/0.4376, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05104/0.4886, allocations: 30.21 MB / 363.2 MB, free: 3.219 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 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.273e-06/1.273e-06, allocations: 0 / 364.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.056e-05, allocations: 2.312 kB / 364.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.002613/0.002633, allocations: 1.695 MB / 366.1 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.003582, allocations: 0.6068 MB / 366.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.003644, allocations: 0 / 366.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.003675, allocations: 11.86 kB / 366.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.003771, allocations: 36.59 kB / 366.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.004265, allocations: 83.72 kB / 366.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004427, allocations: 151.5 kB / 367 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.004523, allocations: 21.88 kB / 367 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.004701, allocations: 95.84 kB / 367.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.00478, allocations: 43.83 kB / 367.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.004802, allocations: 12 kB / 367.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.00486, allocations: 12 kB / 367.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.004886, allocations: 23.92 kB / 367.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.004918, allocations: 27.88 kB / 367.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.005048, allocations: 83.73 kB / 367.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.005062, allocations: 4 kB / 367.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005063, allocations: 3.938 kB / 367.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.005076, allocations: 0 / 367.3 MB, free: 15.07 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.0004536/0.005529, allocations: 346.7 kB / 367.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005563, allocations: 8.75 kB / 367.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.005685, allocations: 102 kB / 367.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.005836, allocations: 160.6 kB / 367.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.005888, allocations: 63.97 kB / 368 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.005906, allocations: 8.375 kB / 368 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.006015, allocations: 82.17 kB / 368.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.006022, allocations: 192 / 368.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.006033, allocations: 8.125 kB / 368.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.006038, allocations: 4 kB / 368.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.006094, allocations: 39.94 kB / 368.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.006439, allocations: 256 kB / 368.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.006533, allocations: 54.55 kB / 368.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.006562, allocations: 24.84 kB / 368.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.006579, allocations: 0 / 368.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.006735, allocations: 135.1 kB / 368.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 9.52e-07/0.006736, allocations: 0 / 368.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001606/0.006897, allocations: 119.5 kB / 368.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.006926, allocations: 55.41 kB / 368.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.006998, allocations: 146.6 kB / 368.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.007012, allocations: 29.7 kB / 368.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.007047, allocations: 96.11 kB / 369 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.007085, allocations: 51.75 kB / 369.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.007128, allocations: 41.69 kB / 369.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.007203, allocations: 322.8 kB / 369.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.00723, allocations: 23.98 kB / 369.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.00726, allocations: 29.14 kB / 369.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.007319, allocations: 59.3 kB / 369.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007321, allocations: 0 / 369.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 9.118e-05/0.007412, allocations: 100.6 kB / 369.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.007422, allocations: 8 kB / 369.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007427, allocations: 4 kB / 369.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.007433, allocations: 0 / 369.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.007553, allocations: 41.73 kB / 369.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007559, allocations: 7.984 kB / 369.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.007619, allocations: 23.92 kB / 369.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007626, allocations: 8 kB / 369.7 MB, free: 12.48 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 6.599e-05/0.007692, allocations: 123.8 kB / 369.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.00771, allocations: 19.92 kB / 369.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.007738, allocations: 29.11 kB / 369.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.007739, allocations: 0 / 369.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.00774, allocations: 0 / 369.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.007743, allocations: 0 / 369.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.028e-05/0.007834, allocations: 117.7 kB / 370 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007835, allocations: 0 / 370 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.007916, allocations: 34.94 kB / 370 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.007927, allocations: 11.89 kB / 370.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.00793, allocations: 4 kB / 370.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.007938, allocations: 3.984 kB / 370.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.007939, allocations: 4 kB / 370.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007941, allocations: 3.984 kB / 370.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.008101, allocations: 167.1 kB / 370.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.008114, allocations: 8 kB / 370.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.008171, allocations: 19.98 kB / 370.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.008221, allocations: 27.95 kB / 370.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.008236, allocations: 7.984 kB / 370.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.462e-05/0.008261, allocations: 32.83 kB / 370.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008261, allocations: 0 / 370.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001136/0.008374, allocations: 32.03 kB / 370.4 MB, free: 11.8 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 8.096e-05/0.008455, allocations: 89.02 kB / 370.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.008578, allocations: 80.77 kB / 370.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.008582, allocations: 4 kB / 370.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.008642, allocations: 58.83 kB / 370.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.679e-05/0.008738, allocations: 35.78 kB / 370.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.009501, allocations: 279.5 kB / 370.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.009544, allocations: 68.08 kB / 371 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.009595, allocations: 13.48 kB / 371 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.009675, allocations: 75.36 kB / 371 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009676, allocations: 0 / 371 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003749/0.01342, allocations: 2.309 MB / 373.4 MB, free: 8.773 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: 2.9560467721894383]