Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.001519/0.001519, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001877/0.001877, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003565/0.003565, allocations: 0.5837 MB / 313 MB, free: 2.305 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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 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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.91 kB / 435.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 53.53 MB / 489.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001638/0.1151, allocations: 0.5106 MB / 489.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.1152, allocations: 27.91 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.1152, allocations: 4 kB / 489.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1153, allocations: 0 / 489.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.1153, allocations: 3.938 kB / 489.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.1154, allocations: 3.984 kB / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.1155, allocations: 23.91 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.1155, allocations: 4.406 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.1155, allocations: 8 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.1156, allocations: 11.92 kB / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1156, allocations: 4 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.1156, allocations: 0 / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1156, allocations: 0 / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1157, allocations: 11.92 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.586e-05/0.1157, allocations: 19.86 kB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1157, allocations: 3.938 kB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1157, allocations: 0 / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1157, allocations: 0 / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000386/0.1161, allocations: 262.3 kB / 490 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1162, allocations: 12.03 kB / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1162, allocations: 0.9375 kB / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1163, allocations: 106.5 kB / 490.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1163, allocations: 4.375 kB / 490.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1163, allocations: 4.375 kB / 490.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1164, allocations: 46.25 kB / 490.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1165, allocations: 192 / 490.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1165, allocations: 3.938 kB / 490.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1165, allocations: 0 / 490.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.1165, allocations: 23.92 kB / 490.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1169, allocations: 220.5 kB / 490.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.117, allocations: 38.56 kB / 490.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.117, allocations: 16.8 kB / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.117, allocations: 0 / 490.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1171, allocations: 38.48 kB / 490.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1171, allocations: 0 / 490.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003576/0.1174, allocations: 78.61 kB / 490.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1174, allocations: 59.34 kB / 490.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.1175, allocations: 101.8 kB / 490.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1176, allocations: 29.7 kB / 490.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1176, allocations: 92.03 kB / 490.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1176, allocations: 15.89 kB / 490.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1177, allocations: 21.7 kB / 490.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1178, allocations: 314.8 kB / 491.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.1178, allocations: 11.94 kB / 491.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.1179, allocations: 25.7 kB / 491.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1179, allocations: 29.72 kB / 491.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1179, allocations: 0 / 491.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.436e-05/0.118, allocations: 65.62 kB / 491.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.118, allocations: 8 kB / 491.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.118, allocations: 0 / 491.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1181, allocations: 0 / 491.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.1181, allocations: 15.98 kB / 491.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1182, allocations: 0 / 491.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.1182, allocations: 3.953 kB / 491.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1182, allocations: 4 kB / 491.4 MB, free: 8.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.783e-05/0.1183, allocations: 113.8 kB / 491.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1183, allocations: 7.938 kB / 491.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.1183, allocations: 7.719 kB / 491.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1183, allocations: 0 / 491.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1183, allocations: 0 / 491.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1183, allocations: 3.984 kB / 491.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1185, allocations: 113.2 kB / 491.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1185, allocations: 0 / 491.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1185, allocations: 4 kB / 491.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.1186, allocations: 20.84 kB / 491.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1186, allocations: 0 / 491.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1197, allocations: 1.237 MB / 492.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1197, allocations: 3.938 kB / 492.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1199, allocations: 164.4 kB / 493 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.1199, allocations: 7.984 kB / 493.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1199, allocations: 11.88 kB / 493.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.12, allocations: 0 / 493.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.12, allocations: 7.984 kB / 493.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.12, allocations: 0 / 493.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.12, allocations: 87.44 kB / 493.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.12, allocations: 0 / 493.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1203, allocations: 8 kB / 493.2 MB, free: 6.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.922e-05/0.1204, allocations: 95.23 kB / 493.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.1205, allocations: 23.94 kB / 493.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1205, allocations: 0 / 493.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1207, allocations: 130.6 kB / 493.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1209, allocations: 4.062 kB / 493.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.1211, allocations: 138.2 kB / 493.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.1212, allocations: 67.34 kB / 493.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.1212, allocations: 0 / 493.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1212, allocations: 7.438 kB / 493.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1212, allocations: 0 / 493.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of Templates: time 0.003023/0.1242, allocations: 495.8 kB / 494.1 MB, free: 5.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.653162278234959] Failed to read output from testmodel.py, exit status != 0: 0.1317180823534727 0.14847172 0.029218403 Calling exit ...