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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1302/0.1302, allocations: 0.5537 MB / 298.5 MB, free: 4.738 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001963/0.001964, allocations: 63.89 kB / 411.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 49.61 MB / 461.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001485/0.2597, allocations: 0.5133 MB / 461.9 MB, free: 23.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.2599, allocations: 29.61 kB / 461.9 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.2599, allocations: 0 / 461.9 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.2599, allocations: 3.938 kB / 461.9 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.26, allocations: 2.938 kB / 461.9 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.2601, allocations: 11.28 kB / 462 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.2602, allocations: 24.36 kB / 462 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.2602, allocations: 3.094 kB / 462 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.2602, allocations: 13.44 kB / 462 MB, free: 23.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.2603, allocations: 10.52 kB / 462 MB, free: 23.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2603, allocations: 4 kB / 462 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.2603, allocations: 3.125 kB / 462 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2604, allocations: 11.25 kB / 462 MB, free: 23.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.2604, allocations: 11 kB / 462 MB, free: 23.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.679e-05/0.2605, allocations: 10 kB / 462 MB, free: 23.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2605, allocations: 2.969 kB / 462.1 MB, free: 23.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2605, allocations: 0 / 462.1 MB, free: 23.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2605, allocations: 0 / 462.1 MB, free: 23.65 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.0003176/0.2608, allocations: 341.5 kB / 462.4 MB, free: 23.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2608, allocations: 13.39 kB / 462.4 MB, free: 23.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.2609, allocations: 8.891 kB / 462.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.236e-05/0.261, allocations: 170.5 kB / 462.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.261, allocations: 3.5 kB / 462.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.261, allocations: 2.969 kB / 462.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.2611, allocations: 48 kB / 462.6 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2611, allocations: 192 / 462.6 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2611, allocations: 6.781 kB / 462.6 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2611, allocations: 0 / 462.6 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.2612, allocations: 16.48 kB / 462.6 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.2614, allocations: 248.9 kB / 462.9 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.2615, allocations: 56.03 kB / 462.9 MB, free: 22.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.2615, allocations: 19.23 kB / 463 MB, free: 22.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2616, allocations: 3.156 kB / 463 MB, free: 22.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.2616, allocations: 30.56 kB / 463 MB, free: 22.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2616, allocations: 4 kB / 463 MB, free: 22.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000579/0.2622, allocations: 0.498 MB / 463.5 MB, free: 22.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.2622, allocations: 58.28 kB / 463.6 MB, free: 22.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.2623, allocations: 92.67 kB / 463.6 MB, free: 22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2623, allocations: 25.7 kB / 463.7 MB, free: 21.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.2623, allocations: 90.92 kB / 463.8 MB, free: 21.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.2623, allocations: 33.77 kB / 463.8 MB, free: 21.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2624, allocations: 22.52 kB / 463.8 MB, free: 21.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.2624, allocations: 321.5 kB / 464.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.2624, allocations: 15.98 kB / 464.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.2625, allocations: 27.83 kB / 464.2 MB, free: 21.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.2627, allocations: 251.1 kB / 464.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2627, allocations: 7.875 kB / 464.4 MB, free: 21.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.264e-05/0.2628, allocations: 82.88 kB / 464.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2628, allocations: 5 kB / 464.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2628, allocations: 0 / 464.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2629, allocations: 7.062 kB / 464.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.263, allocations: 21.97 kB / 464.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.263, allocations: 3 kB / 464.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.263, allocations: 0.875 kB / 464.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.263, allocations: 10.97 kB / 464.6 MB, free: 21.18 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.0001045/0.2631, allocations: 120.6 kB / 464.7 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.2632, allocations: 3.953 kB / 464.7 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2632, allocations: 11.06 kB / 464.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2632, allocations: 0 / 464.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2632, allocations: 0 / 464.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2632, allocations: 3.422 kB / 464.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.2635, allocations: 374.5 kB / 465.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2635, allocations: 3.234 kB / 465.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.2636, allocations: 9.125 kB / 465.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-05/0.2637, allocations: 17.02 kB / 465.1 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2637, allocations: 6.938 kB / 465.1 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006485/0.2644, allocations: 1.38 MB / 466.5 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2644, allocations: 6.906 kB / 466.5 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2646, allocations: 234.3 kB / 466.7 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.2646, allocations: 88 kB / 466.8 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.2646, allocations: 3.062 kB / 466.8 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.2647, allocations: 4 kB / 466.8 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.2647, allocations: 17.47 kB / 466.8 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2647, allocations: 2.969 kB / 466.8 MB, free: 18.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.797e-05/0.2647, allocations: 75.28 kB / 466.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2647, allocations: 0 / 466.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.265, allocations: 13.03 kB / 466.9 MB, free: 18.85 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 6.698e-05/0.265, allocations: 94.28 kB / 467 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.2652, allocations: 49.69 kB / 467 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2652, allocations: 4 kB / 467.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2654, allocations: 151.4 kB / 467.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2656, allocations: 6.938 kB / 467.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.2658, allocations: 210.1 kB / 467.4 MB, free: 18.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.2659, allocations: 0.6873 MB / 468.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.2659, allocations: 14.38 kB / 468.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2659, allocations: 0 / 468.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of Templates: time 0.002123/0.2681, allocations: 0.7897 MB / 468.9 MB, free: 17.66 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: 7.047532427008264] Failed to read output from testmodel.py, exit status != 0: 0.2750229050870985 0.28506777199999994 0.02224489 Calling exit ...