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.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.0006291/0.0006291, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008416/0.001471, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006546/0.0006546, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008349/0.001489, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.973/0.973, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09634/1.069, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.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.001552/0.001552, allocations: 415.4 kB / 244.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002726, allocations: 0.5814 MB / 245.1 MB, free: 13.77 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.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 1.663e-06/1.663e-06, allocations: 0 / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.29e-05, allocations: 2.312 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0008982/0.0009112, allocations: 0.5675 MB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.967e-05/0.0009608, allocations: 23.91 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.0009754, allocations: 0 / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.527e-06/0.0009789, allocations: 4 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.000986, allocations: 3.938 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.604e-05/0.001032, allocations: 11.98 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.001081, allocations: 19.91 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.001113, allocations: 0 / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.001161, allocations: 15.98 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.001214, allocations: 11.97 kB / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.001231, allocations: 0 / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.001239, allocations: 4 kB / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.001255, allocations: 3.938 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.001269, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.498e-05/0.001324, allocations: 19.92 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.001335, allocations: 0 / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001335, allocations: 0 / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.001341, allocations: 0 / 247.1 MB, free: 11.78 MB / 250.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.0002723/0.001614, allocations: 236.6 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.001643, allocations: 12.03 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.001671, allocations: 8.875 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.001746, allocations: 113.8 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.001758, allocations: 8.375 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.00178, allocations: 4.375 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.903e-05/0.00185, allocations: 42.25 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.001857, allocations: 192 / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.001865, allocations: 4.375 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.001869, allocations: 4.375 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.00189, allocations: 11.92 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.002033, allocations: 148.3 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.002096, allocations: 46.61 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.002112, allocations: 12.84 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.002119, allocations: 4 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.002135, allocations: 34.56 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.002135, allocations: 0 / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004487/0.002584, allocations: 355.9 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.00261, allocations: 59.34 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.709e-05/0.002657, allocations: 102.7 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.002665, allocations: 25.7 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.002683, allocations: 84.14 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.002709, allocations: 31.73 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.002734, allocations: 25.7 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.002803, allocations: 318.8 kB / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.002813, allocations: 8 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.002834, allocations: 25.64 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/0.002922, allocations: 70.38 kB / 248.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.002923, allocations: 0 / 248.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.47e-05/0.003008, allocations: 82.64 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.003019, allocations: 6.344 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.003024, allocations: 4 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.893e-05/0.003113, allocations: 24.84 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.003151, allocations: 12 kB / 249 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005579/0.003709, allocations: 1.186 MB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.00372, allocations: 0 / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.003723, allocations: 0 / 250.2 MB, free: 8.395 MB / 250.7 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 6.26e-05/0.003786, allocations: 121.9 kB / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.003799, allocations: 4 kB / 250.3 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.418e-05/0.003813, allocations: 8.125 kB / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003815, allocations: 4 kB / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.003818, allocations: 7.875 kB / 250.3 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.003821, allocations: 0 / 250.3 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.004035, allocations: 266 kB / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.004037, allocations: 0 / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.004068, allocations: 8 kB / 250.6 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-06/0.004072, allocations: 8.094 kB / 250.6 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.975e-05/0.004121, allocations: 16.84 kB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.004127, allocations: 4.094 kB / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004425/0.004569, allocations: 1.183 MB / 251.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00457, allocations: 0 / 251.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.004683, allocations: 210.8 kB / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-06/0.004688, allocations: 0 / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.004729, allocations: 12 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.004743, allocations: 7.984 kB / 252 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.004747, allocations: 4 kB / 252 MB, free: 6.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.111e-05/0.004758, allocations: 12.8 kB / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.004758, allocations: 0 / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001258/0.004884, allocations: 12 kB / 252.1 MB, free: 6.352 MB / 250.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 5.952e-05/0.004943, allocations: 72.42 kB / 252.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.005098, allocations: 163.4 kB / 252.3 MB, free: 6.094 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.005102, allocations: 0 / 252.3 MB, free: 6.094 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.005194, allocations: 155.4 kB / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.005303, allocations: 11.98 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.005489, allocations: 166.9 kB / 252.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.941e-05/0.005518, allocations: 63.34 kB / 252.7 MB, free: 5.633 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.005532, allocations: 0 / 252.7 MB, free: 5.633 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.005568, allocations: 59.66 kB / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005568, allocations: 0 / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of Templates: time 0.002104/0.007672, allocations: 0.8748 MB / 253.6 MB, free: 4.762 MB / 250.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.185408261604607]