Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.0006292/0.0006292, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008349/0.001464, 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.000663/0.000663, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001563, 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.8924/0.8924, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07498/0.9674, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.002536/0.002536, allocations: 419.5 kB / 244.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.00356, allocations: 0.5775 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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.788e-06, allocations: 6.25 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0008773/0.000887, allocations: 0.5752 MB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.692e-05/0.000934, allocations: 27.89 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.000948, allocations: 0 / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-06/0.0009528, allocations: 3.938 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.0009598, allocations: 0 / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.063e-05/0.001, allocations: 3.984 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.633e-05/0.001047, allocations: 15.94 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.00108, allocations: 7.984 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.001125, allocations: 15.98 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.001174, allocations: 11.92 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.001189, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.001197, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.001209, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.001223, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.05e-05/0.001273, allocations: 11.92 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.001282, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.001283, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.001289, allocations: 0 / 247.1 MB, free: 11.79 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.0002525/0.001542, allocations: 252.5 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.001567, allocations: 8.031 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.001593, allocations: 8.922 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.128e-05/0.001654, allocations: 105.8 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.001661, allocations: 384 / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.001683, allocations: 4.375 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.784e-05/0.001741, allocations: 42.25 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.001747, allocations: 192 / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.001752, allocations: 4.375 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.001755, allocations: 384 / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.001774, allocations: 11.92 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.001959, allocations: 180.2 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.002013, allocations: 34.55 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.002026, allocations: 8.859 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.002031, allocations: 0 / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.002049, allocations: 34.56 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.82e-07/0.00205, allocations: 0 / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001988/0.002248, allocations: 82.53 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.00227, allocations: 55.41 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.00231, allocations: 98.72 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.002317, allocations: 29.7 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.002342, allocations: 88.06 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.002359, allocations: 19.89 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.00238, allocations: 13.72 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.002437, allocations: 318.8 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.002444, allocations: 7.938 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.00246, allocations: 25.64 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.002485, allocations: 21.7 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.002486, allocations: 0 / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.176e-05/0.002548, allocations: 70.41 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.002558, allocations: 6.344 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.002562, allocations: 0 / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.834e-05/0.00265, allocations: 16.86 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.16e-05/0.002682, allocations: 11.98 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004833/0.003165, allocations: 1.155 MB / 249.8 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-06/0.003175, allocations: 0 / 249.8 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-06/0.003177, allocations: 0 / 249.8 MB, free: 8.84 MB / 250.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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 4.792e-05/0.003225, allocations: 121.7 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.003238, allocations: 8.109 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.003251, allocations: 7.672 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003252, allocations: 4 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.003254, allocations: 0 / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.003256, allocations: 0 / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.144e-05/0.003328, allocations: 81.8 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003329, allocations: 4 kB / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.003349, allocations: 4 kB / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.003354, allocations: 7.984 kB / 250 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.55e-05/0.003399, allocations: 12.86 kB / 250 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.003404, allocations: 3.984 kB / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/0.003795, allocations: 1.151 MB / 251.2 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.003796, allocations: 3.938 kB / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.021e-05/0.003876, allocations: 156.3 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-06/0.003881, allocations: 0 / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.003906, allocations: 7.984 kB / 251.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.003918, allocations: 7.938 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.00392, allocations: 0 / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.165e-06/0.003928, allocations: 4.859 kB / 251.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.003928, allocations: 0 / 251.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.00405, allocations: 8 kB / 251.4 MB, free: 7.109 MB / 250.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 5.743e-05/0.004107, allocations: 84.5 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.004244, allocations: 147.4 kB / 251.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.004248, allocations: 0 / 251.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.004307, allocations: 127.8 kB / 251.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.882e-05/0.004396, allocations: 11.92 kB / 251.7 MB, free: 6.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001625/0.004558, allocations: 140.5 kB / 251.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.004585, allocations: 63.34 kB / 251.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.098e-05/0.004596, allocations: 0 / 251.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.004623, allocations: 51.38 kB / 252 MB, free: 6.41 MB / 250.7 MB Notification: Performance of SimCode: time 3.3e-07/0.004623, allocations: 0 / 252 MB, free: 6.41 MB / 250.7 MB Notification: Performance of Templates: time 0.001774/0.006397, allocations: 0.6444 MB / 252.6 MB, free: 5.816 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.0927699329331517]