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.001045/0.001045, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0009482/0.0009482, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9457/0.9457, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.002445/0.002445, allocations: 411.8 kB / 260.4 MB, free: 12.84 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.493e-06/1.493e-06, allocations: 0 / 383 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.311e-05, allocations: 6.281 kB / 383 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001019/0.001042, allocations: 0.519 MB / 383.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.001202, allocations: 19.91 kB / 383.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.001227, allocations: 7.875 kB / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.001244, allocations: 0 / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.001274, allocations: 0 / 383.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.001401, allocations: 15.97 kB / 383.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.001457, allocations: 11.98 kB / 383.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.001506, allocations: 3.938 kB / 383.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.001547, allocations: 19.92 kB / 383.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.001614, allocations: 7.969 kB / 383.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.001636, allocations: 8 kB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.001644, allocations: 3.938 kB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.001664, allocations: 8 kB / 383.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.001684, allocations: 7.938 kB / 383.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.677e-05/0.001751, allocations: 15.91 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.001753, allocations: 0 / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.001754, allocations: 0 / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.001759, allocations: 4 kB / 383.7 MB, free: 13.79 MB / 314.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.000321/0.00208, allocations: 258.4 kB / 383.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.002121, allocations: 8.031 kB / 383.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.002154, allocations: 8.891 kB / 383.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.002232, allocations: 109.7 kB / 384.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.002245, allocations: 4.375 kB / 384.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.002267, allocations: 4.375 kB / 384.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.00236, allocations: 46.25 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.002371, allocations: 192 / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.00238, allocations: 384 / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.002385, allocations: 4.312 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.002425, allocations: 19.92 kB / 384.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.002662, allocations: 196.6 kB / 384.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.002754, allocations: 46.56 kB / 384.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.002782, allocations: 24.97 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.002793, allocations: 3.938 kB / 384.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.002815, allocations: 34.56 kB / 384.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.002815, allocations: 0 / 384.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.003392, allocations: 355.9 kB / 384.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.003426, allocations: 51.41 kB / 384.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.003482, allocations: 97.86 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.003492, allocations: 29.64 kB / 385 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.003524, allocations: 96.08 kB / 385 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.003555, allocations: 27.75 kB / 385.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.003585, allocations: 25.7 kB / 385.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.003666, allocations: 318.8 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.003689, allocations: 15.98 kB / 385.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.003719, allocations: 25.72 kB / 385.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.003931, allocations: 93.81 kB / 385.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.003933, allocations: 3.938 kB / 385.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000106/0.004039, allocations: 94.45 kB / 385.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.004053, allocations: 8.094 kB / 385.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004058, allocations: 7.938 kB / 385.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.004151, allocations: 24.84 kB / 385.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.004203, allocations: 8 kB / 385.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007199/0.004923, allocations: 1.265 MB / 386.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.004934, allocations: 0 / 386.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.004939, allocations: 4.031 kB / 387 MB, free: 10.16 MB / 314.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 9.547e-05/0.005035, allocations: 117.9 kB / 387.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.005047, allocations: 3.953 kB / 387.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.005064, allocations: 12.06 kB / 387.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005066, allocations: 4 kB / 387.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005068, allocations: 0 / 387.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005071, allocations: 4.125 kB / 387.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.005351, allocations: 317.5 kB / 387.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.005354, allocations: 4 kB / 387.4 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.005393, allocations: 11.98 kB / 387.4 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.00544, allocations: 20.94 kB / 387.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.005449, allocations: 8 kB / 387.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.006007, allocations: 1.256 MB / 388.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006008, allocations: 0 / 388.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.006152, allocations: 231.2 kB / 388.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-06/0.006156, allocations: 0 / 388.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-06/0.006161, allocations: 7.938 kB / 388.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.006193, allocations: 128 / 388.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.006213, allocations: 16.05 kB / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.006218, allocations: 8 kB / 389 MB, free: 7.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.36e-05/0.006242, allocations: 79.27 kB / 389 MB, free: 7.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.006242, allocations: 0 / 389 MB, free: 7.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000155/0.006397, allocations: 16 kB / 389.1 MB, free: 7.867 MB / 314.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 7.433e-05/0.006471, allocations: 95.47 kB / 389.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.006695, allocations: 162.7 kB / 389.3 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.006697, allocations: 4 kB / 389.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.006794, allocations: 142.6 kB / 389.4 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.006958, allocations: 12.95 kB / 389.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.00723, allocations: 208.6 kB / 389.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.007277, allocations: 71.33 kB / 389.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.007299, allocations: 16.48 kB / 389.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007299, allocations: 192 / 389.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of Templates: time 0.001854/0.009153, allocations: 0.9519 MB / 390.7 MB, free: 6.133 MB / 314.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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4206797713413835] Failed to read output from testmodel.py, exit status != 0: 0.013664363883435726 0.020995941 0.017664478 Calling exit ...