Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001381/0.001381, allocations: 110 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.001505/0.001505, allocations: 190 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13 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.003488/0.003488, allocations: 0.5748 MB / 306.8 MB, free: 8.125 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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial")
translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 68.06 kB / 427.2 MB, free: 23.52 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08986, allocations: 52.34 MB / 479.5 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001757/0.09162, allocations: 0.5201 MB / 480 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001751/0.09179, allocations: 31.89 kB / 480.1 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.09182, allocations: 0 / 480.1 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.09183, allocations: 3.938 kB / 480.1 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.09186, allocations: 0 / 480.1 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.09197, allocations: 0 / 480.1 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.09202, allocations: 19.92 kB / 480.1 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.09208, allocations: 12.39 kB / 480.1 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.09211, allocations: 11.94 kB / 480.1 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.09217, allocations: 19.91 kB / 480.1 MB, free: 2.473 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.09218, allocations: 0 / 480.1 MB, free: 2.473 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.09219, allocations: 0 / 480.1 MB, free: 2.473 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.09221, allocations: 4 kB / 480.1 MB, free: 2.469 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.09224, allocations: 7.938 kB / 480.1 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 6.086e-05/0.0923, allocations: 15.86 kB / 480.1 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0923, allocations: 0 / 480.1 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.0923, allocations: 0 / 480.1 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.508e-06/0.09231, allocations: 4 kB / 480.2 MB, free: 2.441 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.0003961/0.0927, allocations: 262.3 kB / 480.4 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.09274, allocations: 8.031 kB / 480.4 MB, free: 2.145 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.09277, allocations: 12.83 kB / 480.4 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.09288, allocations: 110.5 kB / 480.5 MB, free: 2 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.09289, allocations: 4.375 kB / 480.5 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.09291, allocations: 384 / 480.5 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.09303, allocations: 58.19 kB / 480.6 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.09304, allocations: 4.188 kB / 480.6 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.09305, allocations: 3.938 kB / 480.6 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.09305, allocations: 4 kB / 480.6 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.09309, allocations: 11.98 kB / 480.6 MB, free: 1.91 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.0934, allocations: 220.1 kB / 480.8 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.09351, allocations: 50.5 kB / 480.9 MB, free: 1.594 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.09355, allocations: 20.92 kB / 480.9 MB, free: 1.57 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.09356, allocations: 0 / 480.9 MB, free: 1.57 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.09358, allocations: 34.56 kB / 480.9 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.09358, allocations: 0 / 480.9 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007462/0.09433, allocations: 359.9 kB / 481.3 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.09437, allocations: 51.41 kB / 481.3 MB, free: 1.055 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.09446, allocations: 101.9 kB / 481.4 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.09449, allocations: 25.7 kB / 481.5 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.09453, allocations: 80.14 kB / 481.5 MB, free: 0.832 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.09458, allocations: 46.2 kB / 481.6 MB, free: 0.7891 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.09462, allocations: 21.72 kB / 481.6 MB, free: 0.7617 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001505/0.09477, allocations: 326.7 kB / 481.9 MB, free: 444 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.0948, allocations: 12 kB / 481.9 MB, free: 432 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.09485, allocations: 33.7 kB / 482 MB, free: 392 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.0951, allocations: 94.41 kB / 482.1 MB, free: 292 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.0951, allocations: 0 / 482.1 MB, free: 292 kB / 334.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.09528, allocations: 94.66 kB / 482.2 MB, free: 188 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.0953, allocations: 8 kB / 482.2 MB, free: 180 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.0953, allocations: 4.297 kB / 482.2 MB, free: 176 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.09542, allocations: 21.02 kB / 482.2 MB, free: 152 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.09548, allocations: 16 kB / 482.2 MB, free: 136 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.09677, allocations: 1.288 MB / 483.5 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.09679, allocations: 4.031 kB / 483.5 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.0968, allocations: 0 / 483.5 MB, free: 14.72 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:
         x1 = 0.0
         v1 = 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 (8):
 * Single equations (assignments): 7
 * 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 prepare postOptimizeDAE: time 0.000168/0.09697, allocations: 121.7 kB / 483.6 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.097, allocations: 4.094 kB / 483.6 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.09702, allocations: 15.98 kB / 483.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.09702, allocations: 0 / 483.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.09703, allocations: 64 / 483.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.09703, allocations: 4 kB / 483.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.09752, allocations: 340.9 kB / 484 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.09752, allocations: 0 / 484 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.09757, allocations: 8 kB / 484 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-05/0.09765, allocations: 28.78 kB / 484 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.09766, allocations: 4.094 kB / 484 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.09881, allocations: 1.287 MB / 485.3 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.09881, allocations: 4.062 kB / 485.3 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.09909, allocations: 226.8 kB / 485.5 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.0991, allocations: 4.031 kB / 485.5 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.09911, allocations: 4 kB / 485.5 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.09917, allocations: 8 kB / 485.5 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.0992, allocations: 11.92 kB / 485.6 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.0992, allocations: 4 kB / 485.6 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 9.39e-05/0.0993, allocations: 83.28 kB / 485.6 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.0993, allocations: 3.938 kB / 485.6 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002538/0.09955, allocations: 12 kB / 485.7 MB, free: 12.35 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 0.0001044/0.09966, allocations: 101.3 kB / 485.8 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003253/0.09998, allocations: 162.6 kB / 485.9 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.09998, allocations: 0 / 485.9 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.1002, allocations: 146.6 kB / 486.1 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1005, allocations: 8 kB / 486.1 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.1008, allocations: 180.8 kB / 486.2 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1012, allocations: 0.6885 MB / 486.9 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.766e-05/0.1012, allocations: 0 / 486.9 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1012, allocations: 11.44 kB / 486.9 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.1012, allocations: 0 / 486.9 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of Templates: time 0.00348/0.1047, allocations: 0.7248 MB / 487.7 MB, free: 10.29 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile [Timeout 660]
(rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.274988118559122]
Failed to read output from testmodel.py, exit status != 0:
0.11190842743963003 0.12754811300000002 0.032042578
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1bd30997b0>