Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.0006529/0.0006529, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000884/0.001537, 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.0006688/0.0006688, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009077/0.001577, 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.9165/0.9165, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07361/0.9901, allocations: 53.66 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.001778/0.001778, allocations: 422.7 kB / 244.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.003068, allocations: 0.5847 MB / 245.1 MB, free: 13.76 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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.265e-05, allocations: 2.312 kB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0009047/0.0009174, allocations: 0.5906 MB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.833e-05/0.0009657, allocations: 27.89 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.0009794, allocations: 0 / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-06/0.000983, allocations: 4 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.0009914, allocations: 3.938 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.301e-05/0.001034, allocations: 7.984 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.001082, allocations: 19.92 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.001117, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.001162, allocations: 11.98 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.00122, allocations: 15.92 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.001237, allocations: 0 / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.001244, allocations: 4 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.001256, allocations: 0 / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.00127, allocations: 8 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.627e-05/0.001326, allocations: 19.91 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.001336, allocations: 0 / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.001336, allocations: 0 / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.001343, allocations: 0 / 247.2 MB, free: 11.74 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.0002658/0.001609, allocations: 244.6 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.001634, allocations: 8.031 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.001658, allocations: 4.938 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.001739, allocations: 105.7 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.001748, allocations: 4.375 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.00177, allocations: 12.38 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.74e-05/0.001838, allocations: 42.23 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.001846, allocations: 4.172 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.001853, allocations: 4.375 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.001858, allocations: 384 / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.001878, allocations: 11.94 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.002034, allocations: 152.2 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.002095, allocations: 42.55 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.002113, allocations: 12.86 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.002118, allocations: 0 / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.002137, allocations: 38.75 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.002138, allocations: 4 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004344/0.002572, allocations: 351.8 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.002595, allocations: 51.41 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.002642, allocations: 106.6 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.002653, allocations: 29.7 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.002674, allocations: 84.14 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.0027, allocations: 35.72 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.002726, allocations: 25.66 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.002792, allocations: 322.8 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.002802, allocations: 4 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.002823, allocations: 29.7 kB / 248.8 MB, free: 9.84 MB / 250.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.002929, allocations: 66.56 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.002931, allocations: 8 kB / 248.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.37e-05/0.003014, allocations: 74.41 kB / 249 MB, free: 9.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.003025, allocations: 8 kB / 249 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.003029, allocations: 7.984 kB / 249 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.134e-05/0.003121, allocations: 12.86 kB / 249 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.00316, allocations: 15.98 kB / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000536/0.003696, allocations: 1.178 MB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.003706, allocations: 0 / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.00371, allocations: 4 kB / 250.2 MB, free: 8.359 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 5.322e-05/0.003763, allocations: 117.9 kB / 250.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.003777, allocations: 3.984 kB / 250.3 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.003791, allocations: 12.12 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-07/0.003791, allocations: 0 / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.003794, allocations: 3.938 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.003796, allocations: 0 / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.004011, allocations: 266 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.004012, allocations: 0 / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.004058, allocations: 20.08 kB / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.004061, allocations: 0 / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/0.004108, allocations: 24.84 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.004113, allocations: 0 / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/0.004545, allocations: 1.179 MB / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.004547, allocations: 4 kB / 251.8 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.004651, allocations: 202.8 kB / 252 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-06/0.004658, allocations: 4 kB / 252 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.004689, allocations: 7.938 kB / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.004702, allocations: 7.984 kB / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.004704, allocations: 0 / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.109e-05/0.004716, allocations: 20.77 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004716, allocations: 0 / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.004842, allocations: 12 kB / 252.1 MB, free: 6.32 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 6.041e-05/0.004903, allocations: 80.36 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.00506, allocations: 159.5 kB / 252.3 MB, free: 6.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.005064, allocations: 4 kB / 252.3 MB, free: 6.055 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.829e-05/0.005152, allocations: 147.4 kB / 252.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.005261, allocations: 15.98 kB / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.005443, allocations: 170.4 kB / 252.7 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.005472, allocations: 63.34 kB / 252.7 MB, free: 5.598 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.005486, allocations: 8.281 kB / 252.7 MB, free: 5.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.005523, allocations: 55.39 kB / 252.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.005523, allocations: 0 / 252.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of Templates: time 0.002066/0.007589, allocations: 0.8661 MB / 253.6 MB, free: 4.734 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.2210730966180563]