Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001514/0.001514, allocations: 102.1 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.00146/0.00146, allocations: 219 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002693/0.002693, allocations: 0.5803 MB / 313.8 MB, free: 2.512 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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.14 kB / 436.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08504, allocations: 53.52 MB / 490 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001675/0.08671, allocations: 0.5196 MB / 490.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.08687, allocations: 35.89 kB / 490.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.0869, allocations: 0 / 490.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.08691, allocations: 4 kB / 490.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.08694, allocations: 3.938 kB / 490.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.08705, allocations: 4 kB / 490.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.08712, allocations: 15.98 kB / 490.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.08717, allocations: 416 / 490.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.0872, allocations: 23.91 kB / 490.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.08725, allocations: 7.875 kB / 490.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.08727, allocations: 4 kB / 490.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.08727, allocations: 0 / 490.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.08729, allocations: 11.98 kB / 490.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.08732, allocations: 7.938 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.831e-05/0.08737, allocations: 23.78 kB / 490.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.08738, allocations: 4 kB / 490.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08738, allocations: 0 / 490.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.08738, allocations: 4 kB / 490.6 MB, free: 10.31 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.0003715/0.08776, allocations: 258.3 kB / 490.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.08779, allocations: 8.031 kB / 490.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.08782, allocations: 4.938 kB / 490.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.08792, allocations: 102.5 kB / 491 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.08794, allocations: 8.375 kB / 491 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.08796, allocations: 4.375 kB / 491 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.08806, allocations: 50.25 kB / 491 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.08807, allocations: 192 / 491 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.08808, allocations: 3.938 kB / 491 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.08808, allocations: 0 / 491 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.08813, allocations: 19.92 kB / 491.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.08841, allocations: 223.9 kB / 491.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.08851, allocations: 54.61 kB / 491.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.08855, allocations: 20.92 kB / 491.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.08856, allocations: 0 / 491.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.08859, allocations: 38.5 kB / 491.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.08859, allocations: 0 / 491.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006417/0.08923, allocations: 363.9 kB / 491.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.08928, allocations: 51.41 kB / 491.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.08935, allocations: 97.8 kB / 491.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.08937, allocations: 29.7 kB / 491.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.08942, allocations: 80.14 kB / 492 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.08945, allocations: 31.73 kB / 492 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.0895, allocations: 29.72 kB / 492.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.08964, allocations: 318.8 kB / 492.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.08967, allocations: 16 kB / 492.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.08972, allocations: 33.7 kB / 492.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.08997, allocations: 94.25 kB / 492.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.08997, allocations: 0 / 492.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.09009, allocations: 85.62 kB / 492.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.0901, allocations: 4 kB / 492.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.0901, allocations: 0 / 492.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.09012, allocations: 0 / 492.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.09021, allocations: 20.08 kB / 492.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.09023, allocations: 7.938 kB / 492.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.09025, allocations: 0 / 492.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.09026, allocations: 7.938 kB / 492.6 MB, free: 8.035 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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.0001288/0.09039, allocations: 117.8 kB / 492.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.09041, allocations: 7.953 kB / 492.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.09044, allocations: 8.062 kB / 492.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.09044, allocations: 0 / 492.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.09045, allocations: 0 / 492.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09045, allocations: 4 kB / 492.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.09089, allocations: 348.8 kB / 493.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.09089, allocations: 3.938 kB / 493.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.09094, allocations: 8 kB / 493.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.09104, allocations: 24.84 kB / 493.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.09105, allocations: 0 / 493.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.09211, allocations: 1.288 MB / 494.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.09211, allocations: 3.938 kB / 494.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.09235, allocations: 222.9 kB / 494.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.09237, allocations: 19.86 kB / 494.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.09237, allocations: 0 / 494.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.09244, allocations: 4 kB / 494.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.09245, allocations: 3.984 kB / 494.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.09246, allocations: 8 kB / 494.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.801e-05/0.09251, allocations: 83.33 kB / 494.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09251, allocations: 4 kB / 494.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.09275, allocations: 12 kB / 494.8 MB, free: 5.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.655e-05/0.09284, allocations: 95.19 kB / 494.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.09296, allocations: 44.39 kB / 494.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.09296, allocations: 0 / 494.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.09318, allocations: 142.9 kB / 495.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.0934, allocations: 11.94 kB / 495.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.09368, allocations: 190.5 kB / 495.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.09398, allocations: 0.6884 MB / 496 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.094, allocations: 11.44 kB / 496 MB, free: 4.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09401, allocations: 4 kB / 496 MB, free: 4.391 MB / 350.1 MB Notification: Performance of Templates: time 0.00232/0.09633, allocations: 0.7905 MB / 496.8 MB, free: 3.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.359351063845679] Failed to read output from testmodel.py, exit status != 0: 0.10361634683795273 0.118319144 0.028080188000000002 Calling exit ...