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.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.002431/0.002431, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003036/0.003036, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.004829/0.004829, allocations: 427.1 kB / 260 MB, free: 12.68 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.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 1.633e-06/1.633e-06, allocations: 0 / 329.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.3e-05, allocations: 2.312 kB / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001245/0.001268, allocations: 0.5132 MB / 329.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.001424, allocations: 27.89 kB / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.001452, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.001464, allocations: 0 / 329.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.001505, allocations: 7.875 kB / 329.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.001612, allocations: 4 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.001656, allocations: 15.97 kB / 330 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.001693, allocations: 4 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.001731, allocations: 11.98 kB / 330 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.001788, allocations: 15.92 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.001804, allocations: 0 / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.001813, allocations: 4 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.001827, allocations: 3.984 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.001845, allocations: 8 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.147e-05/0.001897, allocations: 11.86 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.001898, allocations: 4 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001899, allocations: 0 / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.001902, allocations: 0 / 330 MB, free: 19.02 MB / 266.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.0003039/0.002206, allocations: 356.3 kB / 330.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.002239, allocations: 8.031 kB / 330.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.00228, allocations: 16.83 kB / 330.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.002353, allocations: 112.6 kB / 330.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.002366, allocations: 4.375 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.002387, allocations: 4.375 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.002473, allocations: 42.25 kB / 330.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.002484, allocations: 192 / 330.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.002492, allocations: 4.375 kB / 330.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.002496, allocations: 384 / 330.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.002538, allocations: 15.92 kB / 330.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.002834, allocations: 275.7 kB / 330.8 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.002918, allocations: 51.11 kB / 330.9 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.002941, allocations: 15.69 kB / 330.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.002953, allocations: 0 / 330.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.002971, allocations: 41.47 kB / 330.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.002972, allocations: 0 / 330.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003639/0.003336, allocations: 89.42 kB / 331 MB, free: 17.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.003357, allocations: 51.41 kB / 331.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/0.003412, allocations: 161.9 kB / 331.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.00342, allocations: 29.7 kB / 331.3 MB, free: 17.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.003447, allocations: 130.9 kB / 331.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.003466, allocations: 23.84 kB / 331.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.003496, allocations: 23.38 kB / 331.4 MB, free: 17.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.003558, allocations: 496.1 kB / 331.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.003577, allocations: 8 kB / 331.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.003602, allocations: 35.3 kB / 332 MB, free: 16.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.003645, allocations: 35.38 kB / 332 MB, free: 16.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003646, allocations: 3.938 kB / 332 MB, free: 16.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.282e-05/0.003719, allocations: 69.56 kB / 332.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.00373, allocations: 4 kB / 332.1 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003734, allocations: 4.031 kB / 332.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.003748, allocations: 0 / 332.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.00383, allocations: 15.98 kB / 332.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.003835, allocations: 0 / 332.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.003854, allocations: 7.938 kB / 332.1 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003858, allocations: 4 kB / 332.1 MB, free: 16.7 MB / 266.7 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 4.21e-05/0.0039, allocations: 156.6 kB / 332.3 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.003924, allocations: 7.891 kB / 332.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.003948, allocations: 15.61 kB / 332.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.003949, allocations: 4 kB / 332.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.003953, allocations: 4 kB / 332.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.003955, allocations: 0 / 332.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.849e-05/0.004044, allocations: 112.6 kB / 332.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004045, allocations: 0 / 332.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.004077, allocations: 7.984 kB / 332.4 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.004228, allocations: 19.62 kB / 332.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.004237, allocations: 0 / 332.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006549/0.004892, allocations: 1.744 MB / 334.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.004893, allocations: 4.109 kB / 334.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.005031, allocations: 243.7 kB / 334.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-06/0.005036, allocations: 4 kB / 334.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.005044, allocations: 3.984 kB / 334.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.005099, allocations: 0 / 334.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.005122, allocations: 7.938 kB / 334.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.005126, allocations: 4 kB / 334.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.185e-05/0.005148, allocations: 127.3 kB / 334.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005148, allocations: 0 / 334.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.00536, allocations: 8 kB / 334.6 MB, free: 14.04 MB / 266.7 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 6.672e-05/0.005426, allocations: 91.25 kB / 334.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.005518, allocations: 35.61 kB / 334.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.00552, allocations: 4 kB / 334.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.005695, allocations: 193.5 kB / 334.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.005895, allocations: 4.062 kB / 334.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.006102, allocations: 143.8 kB / 335 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.006137, allocations: 63.34 kB / 335.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.578e-05/0.006153, allocations: 7.984 kB / 335.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.006173, allocations: 8.5 kB / 335.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006173, allocations: 0 / 335.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003034/0.009207, allocations: 0.5214 MB / 335.6 MB, free: 12.95 MB / 266.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.445742213982157]