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.0009706/0.0009706, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009442/0.0009442, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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.9361/0.9361, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.002191/0.002191, allocations: 422.6 kB / 260.7 MB, free: 12.7 MB / 250.7 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 1.152e-06/1.152e-06, allocations: 0 / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.544e-05, allocations: 5.406 kB / 330.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001126/0.001151, allocations: 0.5147 MB / 330.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.001314, allocations: 31.84 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.00134, allocations: 0 / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.001357, allocations: 3.938 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.001388, allocations: 0 / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.00151, allocations: 3.984 kB / 330.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.078e-05/0.001571, allocations: 23.97 kB / 330.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.001614, allocations: 3.938 kB / 330.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.856e-05/0.001653, allocations: 19.92 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.001716, allocations: 7.969 kB / 330.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.001736, allocations: 4 kB / 330.7 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.001746, allocations: 4 kB / 330.7 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.001764, allocations: 4 kB / 330.7 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.001785, allocations: 7.938 kB / 330.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.179e-05/0.001847, allocations: 11.97 kB / 330.8 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.001849, allocations: 4 kB / 330.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.001849, allocations: 0 / 330.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.001854, allocations: 3.984 kB / 330.8 MB, free: 18.99 MB / 266.7 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.0002631/0.002117, allocations: 352.4 kB / 331.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.00215, allocations: 8.031 kB / 331.1 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.002186, allocations: 13.23 kB / 331.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/0.002246, allocations: 116.6 kB / 331.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.002257, allocations: 384 / 331.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.002279, allocations: 8.375 kB / 331.3 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.002353, allocations: 42.19 kB / 331.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.002362, allocations: 4.172 kB / 331.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.002371, allocations: 4.375 kB / 331.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.002377, allocations: 384 / 331.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.002405, allocations: 11.94 kB / 331.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.00262, allocations: 251.8 kB / 331.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.002701, allocations: 59.05 kB / 331.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.002726, allocations: 23.8 kB / 331.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.002734, allocations: 4 kB / 331.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.002747, allocations: 33.39 kB / 331.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.002747, allocations: 3.938 kB / 331.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004846/0.003232, allocations: 367.7 kB / 332 MB, free: 17.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.00325, allocations: 55.41 kB / 332.1 MB, free: 17.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.634e-05/0.003296, allocations: 165.9 kB / 332.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.003302, allocations: 25.7 kB / 332.3 MB, free: 17.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.003321, allocations: 130.9 kB / 332.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.003345, allocations: 35.69 kB / 332.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.00337, allocations: 31.38 kB / 332.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.003411, allocations: 496.1 kB / 333 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.003428, allocations: 11.98 kB / 333 MB, free: 16.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.003452, allocations: 35.36 kB / 333 MB, free: 16.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.003567, allocations: 75.3 kB / 333.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003568, allocations: 3.938 kB / 333.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.052e-05/0.003629, allocations: 78.44 kB / 333.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.003638, allocations: 4 kB / 333.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.003643, allocations: 0 / 333.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.003654, allocations: 8 kB / 333.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.003724, allocations: 19.98 kB / 333.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.00373, allocations: 0 / 333.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.003743, allocations: 64 / 333.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.003747, allocations: 8 kB / 333.2 MB, free: 16.27 MB / 266.7 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 5.3e-05/0.0038, allocations: 172.4 kB / 333.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.003814, allocations: 7.953 kB / 333.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.003836, allocations: 8.125 kB / 333.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003837, allocations: 0 / 333.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.003842, allocations: 4 kB / 333.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.003845, allocations: 0 / 333.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.004074, allocations: 376 kB / 333.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.004076, allocations: 4 kB / 333.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.004106, allocations: 11.98 kB / 333.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.004208, allocations: 23.67 kB / 333.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.004216, allocations: 4 kB / 333.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004692/0.004685, allocations: 1.756 MB / 335.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.004687, allocations: 0 / 335.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.004802, allocations: 282.5 kB / 335.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.004807, allocations: 4 kB / 335.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-06/0.004812, allocations: 4 kB / 335.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.004843, allocations: 4 kB / 335.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.004869, allocations: 15.86 kB / 335.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.004873, allocations: 4 kB / 335.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.004888, allocations: 123.2 kB / 336 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004888, allocations: 0 / 336 MB, free: 13.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.005033, allocations: 12 kB / 336 MB, free: 13.24 MB / 266.7 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 6.248e-05/0.005096, allocations: 103.2 kB / 336.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.005178, allocations: 51.67 kB / 336.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00518, allocations: 0 / 336.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.005326, allocations: 213.4 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.00547, allocations: 8.188 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.005656, allocations: 183.3 kB / 336.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.564e-05/0.005681, allocations: 60 kB / 336.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.005696, allocations: 4 kB / 336.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.005716, allocations: 12.5 kB / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005717, allocations: 0 / 336.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.002266/0.007982, allocations: 0.6511 MB / 337.3 MB, free: 11.93 MB / 266.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.736449629999697]