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.001356/0.001356, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001497/0.001497, allocations: 192.1 kB / 22.23 MB, free: 5.105 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.42/1.42, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.002999/0.002999, allocations: 0.5805 MB / 306.8 MB, free: 8.066 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.002036/0.002036, allocations: 71.83 kB / 427.2 MB, free: 23.39 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08464, allocations: 52.33 MB / 479.5 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001648/0.08629, allocations: 0.5279 MB / 480 MB, free: 2.434 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001615/0.08645, allocations: 27.91 kB / 480.1 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.08648, allocations: 0 / 480.1 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.08649, allocations: 0 / 480.1 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.08652, allocations: 3.938 kB / 480.1 MB, free: 2.402 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.08664, allocations: 11.98 kB / 480.1 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.0867, allocations: 15.98 kB / 480.1 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.08675, allocations: 416 / 480.1 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.08677, allocations: 23.91 kB / 480.1 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.08683, allocations: 7.938 kB / 480.1 MB, free: 2.344 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.08685, allocations: 4 kB / 480.1 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.08686, allocations: 0 / 480.1 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.08688, allocations: 7.984 kB / 480.1 MB, free: 2.332 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.0869, allocations: 7.938 kB / 480.1 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.08697, allocations: 19.84 kB / 480.2 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.08697, allocations: 0 / 480.2 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.08697, allocations: 0 / 480.2 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.042e-05/0.08698, allocations: 4 kB / 480.2 MB, free: 2.301 MB / 334.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.0004095/0.08739, allocations: 262.4 kB / 480.4 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.08743, allocations: 8.031 kB / 480.4 MB, free: 2.004 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.08746, allocations: 8.891 kB / 480.4 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.08757, allocations: 114.4 kB / 480.5 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.08759, allocations: 4.375 kB / 480.5 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.08761, allocations: 4.375 kB / 480.6 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.08775, allocations: 46.25 kB / 480.6 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.08777, allocations: 4.188 kB / 480.6 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.08778, allocations: 3.938 kB / 480.6 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.08779, allocations: 4 kB / 480.6 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.08783, allocations: 15.98 kB / 480.6 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.08814, allocations: 220 kB / 480.8 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.08825, allocations: 46.56 kB / 480.9 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.0883, allocations: 24.91 kB / 480.9 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.08831, allocations: 0 / 480.9 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.08834, allocations: 34.56 kB / 480.9 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.08834, allocations: 3.984 kB / 480.9 MB, free: 1.387 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006935/0.08903, allocations: 359.9 kB / 481.3 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.08907, allocations: 51.41 kB / 481.3 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.08915, allocations: 101.8 kB / 481.4 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.08917, allocations: 29.7 kB / 481.5 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.08922, allocations: 80.14 kB / 481.6 MB, free: 0.6875 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.08926, allocations: 38.22 kB / 481.6 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.0893, allocations: 25.72 kB / 481.6 MB, free: 0.6211 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001963/0.0895, allocations: 318.8 kB / 481.9 MB, free: 308 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.08953, allocations: 24.5 kB / 482 MB, free: 284 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.08959, allocations: 37.7 kB / 482 MB, free: 240 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.08985, allocations: 89.69 kB / 482.1 MB, free: 144 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.08985, allocations: 0 / 482.1 MB, free: 144 kB / 334.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.08997, allocations: 81.62 kB / 482.2 MB, free: 56 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.08998, allocations: 4 kB / 482.2 MB, free: 52 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.08999, allocations: 0 / 482.2 MB, free: 52 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.09, allocations: 0 / 482.2 MB, free: 52 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.09011, allocations: 23.92 kB / 482.2 MB, free: 28 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.09012, allocations: 8.391 kB / 482.2 MB, free: 20 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.09014, allocations: 0 / 482.2 MB, free: 20 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.09014, allocations: 3.938 kB / 482.2 MB, free: 16 kB / 334.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.0001554/0.0903, allocations: 117.8 kB / 482.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.09033, allocations: 7.953 kB / 482.3 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.09036, allocations: 12.14 kB / 482.3 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09037, allocations: 3.938 kB / 482.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.09037, allocations: 0 / 482.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.09037, allocations: 8 kB / 482.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.09085, allocations: 340.8 kB / 482.7 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.09085, allocations: 0 / 482.7 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.0909, allocations: 8 kB / 482.7 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.09102, allocations: 28.78 kB / 482.7 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.09103, allocations: 4.406 kB / 482.7 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.09218, allocations: 1.285 MB / 484 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.09219, allocations: 15.92 kB / 484 MB, free: 14 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.09244, allocations: 218.9 kB / 484.2 MB, free: 13.76 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.09245, allocations: 7.969 kB / 484.2 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.09246, allocations: 4 kB / 484.2 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.09252, allocations: 8.062 kB / 484.2 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.09254, allocations: 3.984 kB / 484.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.09255, allocations: 4 kB / 484.3 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.99e-05/0.0926, allocations: 83.28 kB / 484.3 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.0926, allocations: 0 / 484.3 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002348/0.09283, allocations: 11.94 kB / 484.3 MB, free: 13.64 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 9.425e-05/0.09293, allocations: 103.2 kB / 484.5 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001245/0.09305, allocations: 39.92 kB / 484.5 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09305, allocations: 4 kB / 484.5 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.0933, allocations: 150.5 kB / 484.6 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.09352, allocations: 7.938 kB / 484.6 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.09381, allocations: 176.8 kB / 484.8 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.09415, allocations: 0.6846 MB / 485.5 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.95e-05/0.09417, allocations: 3.984 kB / 485.5 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.09419, allocations: 11.44 kB / 485.5 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.09419, allocations: 0 / 485.5 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of Templates: time 0.003192/0.09738, allocations: 0.6386 MB / 486.2 MB, free: 11.79 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: 4.218054063618183]
Failed to read output from testmodel.py, exit status != 0:
0.10429408121854067 0.11932848900000001 0.029372971
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f980a6d97b0>