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.001661/0.001661, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001529/0.001529, allocations: 166.1 kB / 22.46 MB, free: 5.375 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.45/1.45, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.002855/0.002855, allocations: 420.3 kB / 259.6 MB, free: 280 kB / 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 1.523e-06/1.523e-06, allocations: 0 / 382.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.31e-05, allocations: 9.656 kB / 382.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001423/0.001446, allocations: 0.5091 MB / 382.8 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000152/0.001598, allocations: 21.78 kB / 382.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.001629, allocations: 3.938 kB / 382.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.001645, allocations: 0 / 382.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.544e-05/0.00167, allocations: 7.938 kB / 382.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.001774, allocations: 7.984 kB / 382.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.001832, allocations: 19.92 kB / 382.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.00188, allocations: 3.984 kB / 382.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.001917, allocations: 11.98 kB / 382.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.001965, allocations: 0 / 382.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.001989, allocations: 0 / 382.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.001997, allocations: 4 kB / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.002019, allocations: 15.91 kB / 382.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.002037, allocations: 4 kB / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.525e-05/0.002092, allocations: 15.92 kB / 382.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002094, allocations: 0 / 382.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002095, allocations: 0 / 382.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.002102, allocations: 0 / 382.9 MB, free: 3.594 MB / 302.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.0003827/0.002485, allocations: 258.4 kB / 383.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.002517, allocations: 8.031 kB / 383.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.002554, allocations: 12.88 kB / 383.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.00267, allocations: 105.7 kB / 383.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.002688, allocations: 8.312 kB / 383.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.002714, allocations: 4.375 kB / 383.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.002821, allocations: 50.25 kB / 383.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.002832, allocations: 4.188 kB / 383.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.00284, allocations: 384 / 383.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.002843, allocations: 384 / 383.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.002888, allocations: 19.92 kB / 383.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.003253, allocations: 216.5 kB / 383.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.003358, allocations: 46.55 kB / 383.6 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.003383, allocations: 8.859 kB / 383.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.003396, allocations: 4 kB / 383.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.003424, allocations: 34.56 kB / 383.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.003425, allocations: 0 / 383.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003851/0.00381, allocations: 90.48 kB / 383.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.003852, allocations: 51.41 kB / 383.8 MB, free: 2.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.003931, allocations: 97.84 kB / 383.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.00395, allocations: 33.7 kB / 383.9 MB, free: 2.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.004, allocations: 80.14 kB / 384 MB, free: 2.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.004022, allocations: 15.86 kB / 384 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.00406, allocations: 25.7 kB / 384.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.004197, allocations: 310.8 kB / 384.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.00422, allocations: 8 kB / 384.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.004253, allocations: 29.64 kB / 384.4 MB, free: 1.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.00431, allocations: 33.66 kB / 384.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004312, allocations: 0 / 384.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001037/0.004415, allocations: 61.62 kB / 384.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.004429, allocations: 8 kB / 384.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004433, allocations: 0 / 384.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004444, allocations: 0 / 384.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.004534, allocations: 19.92 kB / 384.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.004538, allocations: 0 / 384.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.004563, allocations: 11.97 kB / 384.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00457, allocations: 4 kB / 384.5 MB, free: 1.773 MB / 302.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.463e-05/0.004644, allocations: 105.8 kB / 384.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.004676, allocations: 11.89 kB / 384.6 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.004704, allocations: 7.688 kB / 384.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.004705, allocations: 0 / 384.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.004709, allocations: 0 / 384.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004712, allocations: 0 / 384.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.004854, allocations: 109.3 kB / 384.8 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.004855, allocations: 0 / 384.8 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.004895, allocations: 4 kB / 384.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.005044, allocations: 24.72 kB / 384.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.005054, allocations: 8 kB / 384.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.006129, allocations: 1.225 MB / 386 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.006132, allocations: 4.031 kB / 386 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.006354, allocations: 172.3 kB / 386.2 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006361, allocations: 4.25 kB / 386.2 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-06/0.006369, allocations: 4 kB / 386.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.006425, allocations: 4 kB / 386.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.006451, allocations: 7.922 kB / 386.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.006457, allocations: 4 kB / 386.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.006497, allocations: 75.28 kB / 386.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006497, allocations: 0 / 386.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.006739, allocations: 12 kB / 386.3 MB, free: 15.83 MB / 318.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 0.000104/0.006843, allocations: 91.25 kB / 386.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.006938, allocations: 27.92 kB / 386.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00694, allocations: 4 kB / 386.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.007143, allocations: 126.6 kB / 386.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.00736, allocations: 8.594 kB / 386.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.007605, allocations: 124.7 kB / 386.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.007673, allocations: 75.27 kB / 386.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.007688, allocations: 0 / 386.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.007709, allocations: 12.44 kB / 386.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.00771, allocations: 4.062 kB / 386.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of Templates: time 0.003036/0.01075, allocations: 0.494 MB / 387.3 MB, free: 14.86 MB / 318.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.176099602133036] Failed to read output from testmodel.py, exit status != 0: 0.018854260444641113 0.044122027 0.037370684 Calling exit ...