Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.0009623/0.0009623, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009809/0.0009809, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9543/0.9543, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.002449/0.002449, allocations: 438.4 kB / 260.7 MB, free: 12.5 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 277.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.934e-05, allocations: 2.312 kB / 277.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002186/0.002205, allocations: 1.694 MB / 279 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.002505, allocations: 95.62 kB / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.00256, allocations: 0 / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.002608, allocations: 15.86 kB / 279.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.002715, allocations: 43.58 kB / 279.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.002836, allocations: 23.97 kB / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.002949, allocations: 107.5 kB / 279.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.00307, allocations: 23.98 kB / 279.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.003181, allocations: 59.88 kB / 279.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.003289, allocations: 31.91 kB / 279.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.003321, allocations: 11.98 kB / 279.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.003339, allocations: 8 kB / 279.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.003368, allocations: 19.92 kB / 279.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.003412, allocations: 39.91 kB / 279.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003541, allocations: 75.73 kB / 279.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003543, allocations: 0 / 279.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003543, allocations: 0 / 279.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.003548, allocations: 0 / 279.5 MB, free: 9.652 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003716/0.00392, allocations: 300.8 kB / 279.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003954, allocations: 8.031 kB / 279.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.003988, allocations: 16.92 kB / 279.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.00413, allocations: 129.6 kB / 280 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.004145, allocations: 12.56 kB / 280 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.004169, allocations: 4.375 kB / 280 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.004272, allocations: 82.64 kB / 280.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.004287, allocations: 3.953 kB / 280.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004296, allocations: 4 kB / 280.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004302, allocations: 0 / 280.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.004347, allocations: 31.97 kB / 280.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.004665, allocations: 228 kB / 280.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.004761, allocations: 62.53 kB / 280.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.004789, allocations: 21.08 kB / 280.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.0048, allocations: 11.92 kB / 280.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.004822, allocations: 38.67 kB / 280.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.004823, allocations: 0 / 280.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007193/0.005542, allocations: 463.6 kB / 280.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.005574, allocations: 55.41 kB / 281 MB, free: 8.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.005648, allocations: 126.6 kB / 281.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.00566, allocations: 29.7 kB / 281.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.005713, allocations: 95.98 kB / 281.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.005743, allocations: 63.47 kB / 281.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.005777, allocations: 29.69 kB / 281.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.005859, allocations: 330.8 kB / 281.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.005876, allocations: 12 kB / 281.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.005908, allocations: 38.55 kB / 281.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.00597, allocations: 78.39 kB / 281.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005971, allocations: 0 / 281.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001227/0.006094, allocations: 98.45 kB / 281.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.006108, allocations: 15.92 kB / 281.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006112, allocations: 3.938 kB / 281.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.006228, allocations: 24.84 kB / 281.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.006291, allocations: 20 kB / 281.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007694/0.007061, allocations: 1.368 MB / 283.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.007085, allocations: 0 / 283.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.007093, allocations: 11.94 kB / 283.3 MB, free: 5.566 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.007161, allocations: 117.8 kB / 283.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.007212, allocations: 11.98 kB / 283.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.007236, allocations: 12.78 kB / 283.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007238, allocations: 8.031 kB / 283.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007241, allocations: 0 / 283.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007245, allocations: 3.984 kB / 283.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.007554, allocations: 325.9 kB / 283.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.007558, allocations: 3.984 kB / 283.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.007623, allocations: 27.94 kB / 283.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.981e-05/0.007673, allocations: 24.88 kB / 283.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007681, allocations: 8.062 kB / 283.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004977/0.008179, allocations: 1.154 MB / 285 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008181, allocations: 0 / 285 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.008345, allocations: 242.4 kB / 285.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.008353, allocations: 8.109 kB / 285.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.008362, allocations: 8 kB / 285.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.008397, allocations: 4 kB / 285.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.008419, allocations: 15.92 kB / 285.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.008424, allocations: 4 kB / 285.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.008441, allocations: 20.83 kB / 285.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.008442, allocations: 0 / 285.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.00862, allocations: 32 kB / 285.3 MB, free: 3.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * 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 7.811e-05/0.008698, allocations: 84.3 kB / 285.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.008923, allocations: 198.4 kB / 285.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008926, allocations: 0 / 285.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.957e-05/0.009015, allocations: 159.4 kB / 285.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.009193, allocations: 19.97 kB / 285.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.009608, allocations: 336.6 kB / 286.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.009655, allocations: 67.84 kB / 286.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.009687, allocations: 8.641 kB / 286.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.009748, allocations: 63.38 kB / 286.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.009749, allocations: 4 kB / 286.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of Templates: time 0.003233/0.01298, allocations: 1.559 MB / 287.8 MB, free: 0.8945 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.878871003165841]