Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.001846/0.001846, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] 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.003153/0.003153, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8565/0.8565, allocations: 134 MB / 447.2 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: IDEAS 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.001991/0.001991, allocations: 66.16 kB / 0.6197 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2301, allocations: 85.9 MB / 0.7036 GB, free: 0.9688 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006843/0.237, allocations: 4.376 MB / 0.7079 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.2417, allocations: 1.656 MB / 0.7095 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.2431, allocations: 39.69 kB / 0.7096 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.2438, allocations: 174.1 kB / 0.7097 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.2453, allocations: 230.2 kB / 0.7099 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2475, allocations: 0.7036 MB / 0.7106 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.2499, allocations: 1.237 MB / 0.7118 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2509, allocations: 340.8 kB / 0.7122 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.252, allocations: 493.9 kB / 0.7126 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.253, allocations: 469.4 kB / 0.7131 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003325/0.2533, allocations: 104 kB / 0.7132 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.2537, allocations: 116 kB / 0.7133 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.254, allocations: 235.1 kB / 0.7135 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.2547, allocations: 497 kB / 0.714 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.2565, allocations: 1.174 MB / 0.7151 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2565, allocations: 0 / 0.7151 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2565, allocations: 4 kB / 0.7151 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.532e-05/0.2566, allocations: 0 / 0.7151 GB, free: 5.117 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003263/0.2598, allocations: 1.48 MB / 0.7166 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.2599, allocations: 8.031 kB / 0.7166 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.2603, allocations: 136.1 kB / 0.7167 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.2618, allocations: 0.7029 MB / 0.7174 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.2619, allocations: 106 kB / 0.7175 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.262, allocations: 68.38 kB / 0.7176 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2635, allocations: 0.7532 MB / 0.7183 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.2635, allocations: 0 / 0.7183 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.2636, allocations: 28 kB / 0.7183 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.2636, allocations: 16 kB / 0.7184 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2648, allocations: 0.5243 MB / 0.7189 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.2687, allocations: 2.194 MB / 0.721 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.2703, allocations: 0.6064 MB / 0.7216 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.2708, allocations: 258.2 kB / 0.7219 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.2709, allocations: 16.42 kB / 0.7219 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/0.2716, allocations: 322.2 kB / 0.7222 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.2716, allocations: 4 kB / 0.7222 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001818/0.2735, allocations: 0.7699 MB / 0.7229 GB, free: 12.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.2736, allocations: 107.3 kB / 0.723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.2748, allocations: 0.7673 MB / 0.7238 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.2748, allocations: 33.7 kB / 0.7238 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.2753, allocations: 445 kB / 0.7242 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.2755, allocations: 214.1 kB / 0.7244 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.2757, allocations: 114.3 kB / 0.7246 GB, free: 11.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.2759, allocations: 326 kB / 0.7249 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.2764, allocations: 211.4 kB / 0.7251 GB, free: 10.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.2771, allocations: 317.4 kB / 0.7254 GB, free: 10.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2782, allocations: 0.5009 MB / 0.7259 GB, free: 9.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.2782, allocations: 7.984 kB / 0.7259 GB, free: 9.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001479/0.2797, allocations: 0.6645 MB / 0.7265 GB, free: 9.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2797, allocations: 4 kB / 0.7265 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2797, allocations: 4 kB / 0.7265 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2797, allocations: 4 kB / 0.7265 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.2805, allocations: 147.8 kB / 0.7267 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.2806, allocations: 11.94 kB / 0.7267 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.2811, allocations: 75.73 kB / 0.7267 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.2812, allocations: 23.98 kB / 0.7268 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007044/0.2819, allocations: 361.4 kB / 0.7271 GB, free: 8.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000552/0.2824, allocations: 305.3 kB / 0.7274 GB, free: 8.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009842/0.2834, allocations: 496.9 kB / 0.7279 GB, free: 7.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.2834, allocations: 4 kB / 0.7279 GB, free: 7.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001294/0.2847, allocations: 0.6371 MB / 0.7285 GB, free: 7.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2847, allocations: 8 kB / 0.7285 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2847, allocations: 4.25 kB / 0.7285 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2847, allocations: 12 kB / 0.7285 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.2854, allocations: 135.8 kB / 0.7287 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.2855, allocations: 7.938 kB / 0.7287 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.286, allocations: 71.58 kB / 0.7287 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.286, allocations: 19.98 kB / 0.7288 GB, free: 6.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002498/0.2862, allocations: 220.1 kB / 0.729 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2864, allocations: 99.34 kB / 0.7291 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.2866, allocations: 97.3 kB / 0.7292 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2866, allocations: 8 kB / 0.7292 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.2867, allocations: 3.938 kB / 0.7292 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2867, allocations: 3.984 kB / 0.7292 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.2893, allocations: 1.425 MB / 0.7306 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2893, allocations: 3.938 kB / 0.7306 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.2899, allocations: 107.8 kB / 0.7307 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.2899, allocations: 96 / 0.7307 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.29, allocations: 15.98 kB / 0.7307 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.29, allocations: 4 kB / 0.7307 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.29, allocations: 7.984 kB / 0.7307 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.2919, allocations: 0.9742 MB / 0.7316 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.2923, allocations: 155.1 kB / 0.7318 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.2924, allocations: 16 kB / 0.7318 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.2929, allocations: 35.95 kB / 0.7318 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.293, allocations: 36.44 kB / 0.7319 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.2931, allocations: 19.98 kB / 0.7319 GB, free: 3.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008252/0.2939, allocations: 0.5185 MB / 0.7324 GB, free: 2.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2939, allocations: 7.938 kB / 0.7324 GB, free: 2.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008817/0.2948, allocations: 275.4 kB / 0.7327 GB, free: 2.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001976/0.295, allocations: 111.2 kB / 0.7328 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2969, allocations: 0.7646 MB / 0.7335 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2969, allocations: 0 / 0.7335 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.2975, allocations: 259.3 kB / 0.7338 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.2987, allocations: 270.4 kB / 0.734 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.3024, allocations: 1.6 MB / 0.7356 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/0.3032, allocations: 0.9977 MB / 0.7366 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.3035, allocations: 67.42 kB / 0.7366 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.3035, allocations: 0 / 0.7366 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.0235/0.327, allocations: 11.23 MB / 0.7476 GB, free: 3.41 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.085433979984373] Failed to read output from testmodel.py, exit status != 0: 0.3365525018889457 0.755514345 0.496042539 Calling exit ...