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.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.001446/0.001446, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001575/0.001575, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.437/1.437, allocations: 225.6 MB / 251 MB, free: 13.02 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.002908/0.002908, allocations: 0.5775 MB / 306.8 MB, free: 8.039 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.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 0.002136/0.002136, allocations: 67.83 kB / 427.2 MB, free: 23.37 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09126, allocations: 52.34 MB / 479.5 MB, free: 2.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001791/0.09305, allocations: 0.5193 MB / 480 MB, free: 2.422 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001765/0.09323, allocations: 27.84 kB / 480 MB, free: 2.395 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.09326, allocations: 4 kB / 480.1 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.09328, allocations: 0 / 480.1 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.09331, allocations: 3.938 kB / 480.1 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.09342, allocations: 7.984 kB / 480.1 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.09349, allocations: 19.97 kB / 480.1 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.09354, allocations: 416 / 480.1 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.09356, allocations: 11.94 kB / 480.1 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.09362, allocations: 11.92 kB / 480.1 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.09364, allocations: 0 / 480.1 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.09365, allocations: 4 kB / 480.1 MB, free: 2.332 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.09367, allocations: 8 kB / 480.1 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.09371, allocations: 15.91 kB / 480.1 MB, free: 2.309 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 6.876e-05/0.09378, allocations: 11.88 kB / 480.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.09378, allocations: 0 / 480.1 MB, free: 2.297 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.124e-06/0.09378, allocations: 3.938 kB / 480.2 MB, free: 2.293 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.36e-06/0.09379, allocations: 0 / 480.2 MB, free: 2.293 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.0004848/0.09427, allocations: 262.3 kB / 480.4 MB, free: 2.004 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.09431, allocations: 8.031 kB / 480.4 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.09435, allocations: 8.891 kB / 480.4 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.09451, allocations: 106.5 kB / 480.5 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.09452, allocations: 8.375 kB / 480.5 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.09455, allocations: 4.375 kB / 480.5 MB, free: 1.848 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.09466, allocations: 46.25 kB / 480.6 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.09468, allocations: 4.188 kB / 480.6 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.09469, allocations: 3.938 kB / 480.6 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.0947, allocations: 0 / 480.6 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.09474, allocations: 15.98 kB / 480.6 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.09517, allocations: 247.9 kB / 480.8 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.09526, allocations: 42.5 kB / 480.9 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.09529, allocations: 15.39 kB / 480.9 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.0953, allocations: 7.984 kB / 480.9 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.09533, allocations: 30.56 kB / 480.9 MB, free: 1.375 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.09533, allocations: 0 / 480.9 MB, free: 1.375 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.000368/0.0957, allocations: 86.55 kB / 481 MB, free: 1.281 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.09574, allocations: 51.41 kB / 481.1 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.09583, allocations: 101.8 kB / 481.2 MB, free: 1.109 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.09585, allocations: 25.7 kB / 481.2 MB, free: 1.078 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.0959, allocations: 84.14 kB / 481.3 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.09592, allocations: 15.86 kB / 481.3 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.09596, allocations: 21.7 kB / 481.3 MB, free: 0.9492 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001563/0.09612, allocations: 318.7 kB / 481.6 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.09614, allocations: 16 kB / 481.6 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.09617, allocations: 21.7 kB / 481.7 MB, free: 0.5859 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.615e-05/0.09623, allocations: 33.66 kB / 481.7 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.09623, allocations: 4 kB / 481.7 MB, free: 0.543 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.09634, allocations: 61.62 kB / 481.8 MB, free: 488 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.09635, allocations: 4 kB / 481.8 MB, free: 484 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.09636, allocations: 0 / 481.8 MB, free: 484 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.09637, allocations: 4.031 kB / 481.8 MB, free: 480 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.09646, allocations: 15.98 kB / 481.8 MB, free: 464 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.09646, allocations: 0 / 481.8 MB, free: 464 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.09648, allocations: 4.125 kB / 481.8 MB, free: 460 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.09649, allocations: 4 kB / 481.8 MB, free: 456 kB / 334.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.977e-05/0.09657, allocations: 117.7 kB / 481.9 MB, free: 328 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.0966, allocations: 7.953 kB / 481.9 MB, free: 320 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.09663, allocations: 3.688 kB / 481.9 MB, free: 312 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.09664, allocations: 7.938 kB / 481.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.09664, allocations: 0 / 481.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.09664, allocations: 0 / 481.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.09682, allocations: 140.6 kB / 482.1 MB, free: 120 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.09682, allocations: 0 / 482.1 MB, free: 120 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.09685, allocations: 7.984 kB / 482.1 MB, free: 112 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.09698, allocations: 16.8 kB / 482.1 MB, free: 92 kB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.09699, allocations: 3.984 kB / 482.1 MB, free: 88 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.09809, allocations: 1.241 MB / 483.3 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.0981, allocations: 3.938 kB / 483.3 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.09831, allocations: 180.5 kB / 483.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.09831, allocations: 0 / 483.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.09832, allocations: 0 / 483.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.09837, allocations: 0 / 483.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.0984, allocations: 8.016 kB / 483.5 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.0984, allocations: 4 kB / 483.5 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.686e-05/0.09845, allocations: 79.34 kB / 483.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.09845, allocations: 4 kB / 483.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002305/0.09868, allocations: 4 kB / 483.6 MB, free: 14.43 MB / 350.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 9.681e-05/0.09878, allocations: 95.19 kB / 483.7 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001009/0.09888, allocations: 27.92 kB / 483.7 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.09888, allocations: 0 / 483.7 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.09909, allocations: 134.6 kB / 483.9 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.09929, allocations: 8 kB / 483.9 MB, free: 14.15 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.09956, allocations: 138 kB / 484 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.09993, allocations: 0.6846 MB / 484.7 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.932e-05/0.09995, allocations: 4 kB / 484.7 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.09997, allocations: 7.438 kB / 484.7 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.09997, allocations: 0 / 484.7 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of Templates: time 0.002937/0.1029, allocations: 0.4951 MB / 485.2 MB, free: 12.81 MB / 350.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.306438651867211]
Failed to read output from testmodel.py, exit status != 0:
0.11050553992390633 0.126274525 0.029325011
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feb852257b0>