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.0007592/0.0007592, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009561/0.001715, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006894/0.0006894, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008906/0.00158, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.999/0.999, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.00179/0.00179, allocations: 427.7 kB / 244.4 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002985, allocations: 0.5731 MB / 245 MB, free: 13.87 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.853e-06/1.853e-06, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.275e-05, allocations: 6.25 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001521/0.001544, allocations: 0.5674 MB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 9.172e-05/0.001635, allocations: 23.83 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.001657, allocations: 0 / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.172e-06/0.001663, allocations: 8 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.196e-05/0.001675, allocations: 0 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.179e-05/0.001747, allocations: 15.86 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.001812, allocations: 15.98 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.001856, allocations: 4 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.001924, allocations: 19.91 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.001985, allocations: 3.984 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.002009, allocations: 4 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.002018, allocations: 0 / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002033, allocations: 4 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.00206, allocations: 11.94 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.885e-05/0.002139, allocations: 4 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.969e-05/0.002159, allocations: 0 / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00216, allocations: 0 / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.002187, allocations: 3.984 kB / 246.9 MB, free: 11.92 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.0004897/0.002677, allocations: 244.6 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.002723, allocations: 8.031 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.002765, allocations: 8.938 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.002889, allocations: 109.8 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.002903, allocations: 384 / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.002932, allocations: 12.31 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.003029, allocations: 42.25 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.003041, allocations: 192 / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.003049, allocations: 384 / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.003055, allocations: 384 / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.003095, allocations: 15.92 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.00332, allocations: 144.3 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.003431, allocations: 50.5 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.003462, allocations: 12.86 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.003472, allocations: 3.984 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.003502, allocations: 42.55 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.003503, allocations: 0 / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008167/0.00432, allocations: 351.9 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.004348, allocations: 55.41 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.004406, allocations: 98.7 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.004418, allocations: 29.7 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.004441, allocations: 84.14 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.004469, allocations: 31.73 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.004502, allocations: 25.7 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.004584, allocations: 314.8 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.004594, allocations: 8 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.004619, allocations: 33.62 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.004733, allocations: 69.81 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.004733, allocations: 0 / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.823e-05/0.004832, allocations: 74.41 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004845, allocations: 4 kB / 248.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.004852, allocations: 7.984 kB / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.756e-05/0.004949, allocations: 24.8 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.004994, allocations: 16.86 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006536/0.005647, allocations: 1.19 MB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.00566, allocations: 0 / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.005663, allocations: 0 / 250 MB, free: 8.531 MB / 250.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 7.271e-05/0.005736, allocations: 117.9 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.005751, allocations: 7.984 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.005773, allocations: 8.125 kB / 250.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.005774, allocations: 0 / 250.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005777, allocations: 7.938 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00578, allocations: 0 / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.00606, allocations: 262 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.006063, allocations: 0 / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.006106, allocations: 11.98 kB / 250.4 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-06/0.006111, allocations: 12.03 kB / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.006167, allocations: 16.84 kB / 250.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.006174, allocations: 4 kB / 250.4 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005465/0.00672, allocations: 1.179 MB / 251.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006722, allocations: 0 / 251.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006847, allocations: 198.8 kB / 251.8 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.006855, allocations: 12.06 kB / 251.8 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.00689, allocations: 4 kB / 251.8 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.00691, allocations: 11.98 kB / 251.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.006915, allocations: 8 kB / 251.8 MB, free: 6.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.728e-06/0.006925, allocations: 8.844 kB / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006925, allocations: 0 / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.007048, allocations: 12 kB / 251.8 MB, free: 6.496 MB / 250.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.848e-05/0.007127, allocations: 76.42 kB / 251.9 MB, free: 6.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.007386, allocations: 163.3 kB / 252.1 MB, free: 6.234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.007391, allocations: 4 kB / 252.1 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.007478, allocations: 143.4 kB / 252.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.007589, allocations: 8 kB / 252.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.007804, allocations: 174.8 kB / 252.4 MB, free: 5.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.007838, allocations: 59.34 kB / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.505e-05/0.007853, allocations: 4.188 kB / 252.5 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.007882, allocations: 59.36 kB / 252.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.007883, allocations: 0 / 252.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of Templates: time 0.002373/0.01026, allocations: 0.8116 MB / 253.3 MB, free: 4.961 MB / 250.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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.306788094341755]