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.001471/0.001471, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001635/0.001635, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.003091/0.003091, allocations: 0.5839 MB / 313.8 MB, free: 2.531 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.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 0.001812/0.001812, allocations: 67.91 kB / 436.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09403, allocations: 53.52 MB / 490 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001775/0.09581, allocations: 0.5277 MB / 490.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.09598, allocations: 31.89 kB / 490.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.096, allocations: 0 / 490.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.09602, allocations: 3.938 kB / 490.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.09605, allocations: 0 / 490.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.09617, allocations: 15.92 kB / 490.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.09623, allocations: 12 kB / 490.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.09628, allocations: 7.984 kB / 490.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.0963, allocations: 11.94 kB / 490.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.09638, allocations: 19.91 kB / 490.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.09639, allocations: 0 / 490.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.0964, allocations: 4 kB / 490.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.09642, allocations: 0 / 490.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.09645, allocations: 11.94 kB / 490.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.615e-05/0.09651, allocations: 15.86 kB / 490.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09652, allocations: 0 / 490.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.09652, allocations: 0 / 490.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.09652, allocations: 0 / 490.6 MB, free: 10.21 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.0004099/0.09693, allocations: 266.3 kB / 490.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.09697, allocations: 11.98 kB / 490.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.097, allocations: 4.938 kB / 490.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.09712, allocations: 106.5 kB / 491 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.09713, allocations: 8.312 kB / 491 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.09716, allocations: 8.375 kB / 491 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.09727, allocations: 42.25 kB / 491.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09728, allocations: 192 / 491.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.09729, allocations: 7.922 kB / 491.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0973, allocations: 4 kB / 491.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.09734, allocations: 15.98 kB / 491.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.09767, allocations: 223.9 kB / 491.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.09777, allocations: 50.56 kB / 491.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.09781, allocations: 20.92 kB / 491.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.09783, allocations: 4 kB / 491.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.09787, allocations: 42.55 kB / 491.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.09787, allocations: 0 / 491.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006864/0.09855, allocations: 352 kB / 491.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.0986, allocations: 51.41 kB / 491.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.09867, allocations: 97.86 kB / 491.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.09869, allocations: 37.64 kB / 491.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.09874, allocations: 84.08 kB / 492 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.09878, allocations: 35.72 kB / 492.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.09882, allocations: 25.7 kB / 492.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.09896, allocations: 318.8 kB / 492.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.09899, allocations: 15.98 kB / 492.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.09903, allocations: 33.66 kB / 492.4 MB, free: 8.141 MB / 350.1 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.0003026/0.09933, allocations: 89.69 kB / 492.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.09933, allocations: 0 / 492.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.0995, allocations: 94.47 kB / 492.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.09951, allocations: 4 kB / 492.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09951, allocations: 4 kB / 492.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.09963, allocations: 28.78 kB / 492.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.0997, allocations: 19.92 kB / 492.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.1008, allocations: 1.277 MB / 494 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.1008, allocations: 4 kB / 494 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1008, allocations: 8.031 kB / 494 MB, free: 6.48 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: 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 0.0001085/0.1009, allocations: 121.8 kB / 494.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1009, allocations: 3.953 kB / 494.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.101, allocations: 8.062 kB / 494.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.101, allocations: 4.062 kB / 494.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.101, allocations: 4 kB / 494.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.101, allocations: 0 / 494.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.1014, allocations: 336.9 kB / 494.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1014, allocations: 0 / 494.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.1015, allocations: 8 kB / 494.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.1015, allocations: 24.88 kB / 494.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1015, allocations: 4 kB / 494.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009893/0.1025, allocations: 1.283 MB / 495.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1025, allocations: 7.969 kB / 495.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1028, allocations: 226.9 kB / 496 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.1028, allocations: 4.062 kB / 496 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1028, allocations: 11.94 kB / 496 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.1028, allocations: 3.938 kB / 496 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.1029, allocations: 11.98 kB / 496 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1029, allocations: 4 kB / 496 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.1029, allocations: 79.36 kB / 496.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1029, allocations: 3.938 kB / 496.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1031, allocations: 16 kB / 496.1 MB, free: 4.113 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 9.542e-05/0.1032, allocations: 96.94 kB / 496.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1035, allocations: 170.6 kB / 496.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1035, allocations: 0 / 496.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.1037, allocations: 142.6 kB / 496.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1039, allocations: 4 kB / 496.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.1042, allocations: 210.2 kB / 496.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1046, allocations: 0.6846 MB / 497.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.1046, allocations: 11.44 kB / 497.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1046, allocations: 3.938 kB / 497.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Templates: time 0.002582/0.1072, allocations: 0.9339 MB / 498.4 MB, free: 1.777 MB / 350.1 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.528648657957092] Failed to read output from testmodel.py, exit status != 0: 0.11446852679364383 0.129799838 0.0303468 Calling exit ...