Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001399/0.001399, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001857/0.001857, allocations: 210.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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.003579/0.003579, allocations: 0.5728 MB / 313 MB, free: 2.312 MB / 238.1 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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 435.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 53.53 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.002423/0.1161, allocations: 0.5145 MB / 489.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.1163, allocations: 23.92 kB / 489.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.1164, allocations: 4 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.1164, allocations: 3.938 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.1164, allocations: 3.938 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.1166, allocations: 11.98 kB / 489.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.1167, allocations: 19.97 kB / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.1167, allocations: 416 / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.1168, allocations: 11.94 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.1169, allocations: 7.984 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1169, allocations: 4 kB / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.1169, allocations: 3.938 kB / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.1169, allocations: 11.97 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.117, allocations: 11.94 kB / 489.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.139e-05/0.1171, allocations: 11.92 kB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1171, allocations: 0 / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1171, allocations: 0 / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1171, allocations: 0 / 489.8 MB, free: 10.13 MB / 350.1 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.0005185/0.1176, allocations: 258.4 kB / 490 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1176, allocations: 8.031 kB / 490 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.1177, allocations: 12.81 kB / 490 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1178, allocations: 110.5 kB / 490.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1178, allocations: 4.375 kB / 490.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.1179, allocations: 4.375 kB / 490.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1181, allocations: 54.25 kB / 490.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1181, allocations: 192 / 490.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1181, allocations: 3.938 kB / 490.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1181, allocations: 0 / 490.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.1182, allocations: 11.98 kB / 490.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1185, allocations: 208.4 kB / 490.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1187, allocations: 50.62 kB / 490.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1188, allocations: 20.98 kB / 490.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1188, allocations: 0 / 490.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.1188, allocations: 38.5 kB / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1188, allocations: 0 / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000993/0.1198, allocations: 355.9 kB / 490.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1199, allocations: 51.41 kB / 490.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.12, allocations: 97.86 kB / 491 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.12, allocations: 29.7 kB / 491.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1201, allocations: 84.08 kB / 491.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.1202, allocations: 35.72 kB / 491.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.1202, allocations: 25.72 kB / 491.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1204, allocations: 322.8 kB / 491.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.1205, allocations: 12 kB / 491.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1205, allocations: 37.64 kB / 491.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.121, allocations: 97.62 kB / 491.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.121, allocations: 0 / 491.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.1211, allocations: 69.69 kB / 491.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1212, allocations: 8 kB / 491.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1212, allocations: 0 / 491.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1212, allocations: 0 / 491.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1213, allocations: 32.73 kB / 491.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1214, allocations: 4.391 kB / 491.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.1214, allocations: 0 / 491.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1214, allocations: 4 kB / 491.8 MB, free: 7.887 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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 0.000228/0.1216, allocations: 118 kB / 491.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.1217, allocations: 7.953 kB / 491.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.1217, allocations: 12.05 kB / 491.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1217, allocations: 0 / 491.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.1217, allocations: 8 kB / 491.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1218, allocations: 0 / 491.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.1224, allocations: 317.5 kB / 492.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1224, allocations: 0 / 492.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1225, allocations: 11.98 kB / 492.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.1226, allocations: 32.72 kB / 492.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1226, allocations: 0 / 492.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.1242, allocations: 1.249 MB / 493.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1242, allocations: 8.188 kB / 493.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.1246, allocations: 234.8 kB / 493.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.1247, allocations: 7.984 kB / 493.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1247, allocations: 0 / 493.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1248, allocations: 4 kB / 493.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1248, allocations: 16.06 kB / 493.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1248, allocations: 0 / 493.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1249, allocations: 83.27 kB / 493.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 493.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.1254, allocations: 12 kB / 493.9 MB, free: 5.582 MB / 350.1 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 0.0001451/0.1255, allocations: 99.3 kB / 494 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1257, allocations: 43.92 kB / 494 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.1257, allocations: 96 / 494 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.126, allocations: 146.5 kB / 494.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1264, allocations: 8 kB / 494.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1268, allocations: 177 kB / 494.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.1269, allocations: 67.53 kB / 494.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.1269, allocations: 7.938 kB / 494.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.127, allocations: 11.44 kB / 494.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.127, allocations: 0 / 494.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Templates: time 0.004645/0.1316, allocations: 0.6141 MB / 495 MB, free: 4.398 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.690778456628323] Failed to read output from testmodel.py, exit status != 0: 0.14113878831267357 0.16274559300000002 0.040778927 Calling exit ...