Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001101, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 239.7 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009801, allocations: 106.4 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003158/0.003158, allocations: 0.5678 MB / 340.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009548/0.0009548, allocations: 59.14 kB / 400.9 MB, free: 66.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.0884, allocations: 49.6 MB / 450.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00135/0.08979, allocations: 0.5684 MB / 451.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 8.714e-05/0.08989, allocations: 31.89 kB / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.171e-05/0.08991, allocations: 0 / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.313e-06/0.08993, allocations: 0 / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.581e-05/0.08995, allocations: 3.938 kB / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.85e-05/0.09002, allocations: 7.984 kB / 451.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.802e-05/0.09005, allocations: 19.98 kB / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.443e-05/0.09008, allocations: 0 / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.116e-05/0.0901, allocations: 15.92 kB / 451.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.09013, allocations: 7.938 kB / 451.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.09015, allocations: 4 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.09016, allocations: 0 / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.09017, allocations: 11.98 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.09019, allocations: 7.922 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.956e-05/0.09023, allocations: 11.92 kB / 451.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.09024, allocations: 0 / 451.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09024, allocations: 0 / 451.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.09025, allocations: 0 / 451.2 MB, free: 15.81 MB / 298.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.0003156/0.09057, allocations: 339.7 kB / 451.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.09062, allocations: 8.031 kB / 451.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.09066, allocations: 8.938 kB / 451.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.09074, allocations: 168.3 kB / 451.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.09076, allocations: 8.312 kB / 451.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.09078, allocations: 4.281 kB / 451.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.0909, allocations: 48.61 kB / 451.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.09092, allocations: 4.188 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.09094, allocations: 3.938 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09095, allocations: 0 / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.09099, allocations: 15.98 kB / 451.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.0913, allocations: 286.6 kB / 452.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.09139, allocations: 50.5 kB / 452.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.09141, allocations: 12.86 kB / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.09143, allocations: 0 / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.09145, allocations: 30.56 kB / 452.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.09145, allocations: 0 / 452.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003223/0.09178, allocations: 163.7 kB / 452.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.09181, allocations: 51.41 kB / 452.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.09187, allocations: 102.2 kB / 452.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.09188, allocations: 33.64 kB / 452.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.09191, allocations: 88.03 kB / 452.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.09193, allocations: 15.75 kB / 452.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.09196, allocations: 21.72 kB / 452.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.09202, allocations: 326.8 kB / 453 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.09204, allocations: 8 kB / 453 MB, free: 13.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.09207, allocations: 21.72 kB / 453 MB, free: 13.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.09211, allocations: 41.67 kB / 453.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.09212, allocations: 0 / 453.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.849e-05/0.09219, allocations: 57.69 kB / 453.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.09221, allocations: 8.031 kB / 453.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.09222, allocations: 3.938 kB / 453.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.09224, allocations: 4 kB / 453.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.09232, allocations: 8 kB / 453.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.09233, allocations: 0 / 453.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.09235, allocations: 7.984 kB / 453.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.09236, allocations: 0 / 453.1 MB, free: 13.64 MB / 298.7 MB 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 (6): * Single equations (assignments): 6 * 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 4.424e-05/0.09241, allocations: 121.7 kB / 453.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.09244, allocations: 3.906 kB / 453.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.09247, allocations: 7.5 kB / 453.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.09247, allocations: 0 / 453.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.09248, allocations: 4 kB / 453.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09249, allocations: 3.938 kB / 453.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.09261, allocations: 161.6 kB / 453.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.09262, allocations: 4.125 kB / 453.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.09266, allocations: 4 kB / 453.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.09278, allocations: 16.84 kB / 453.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.0928, allocations: 3.938 kB / 453.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005943/0.0934, allocations: 1.241 MB / 454.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.09341, allocations: 3.938 kB / 454.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.09462, allocations: 2.385 MB / 457.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.09464, allocations: 77.11 kB / 457.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.09466, allocations: 8.219 kB / 457.2 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.09471, allocations: 3.938 kB / 457.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.09473, allocations: 12.02 kB / 457.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.09474, allocations: 3.938 kB / 457.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.777e-05/0.09476, allocations: 79.28 kB / 457.3 MB, free: 9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09477, allocations: 0 / 457.3 MB, free: 9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.09508, allocations: 8 kB / 457.3 MB, free: 8.992 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.465e-05/0.09515, allocations: 99.25 kB / 457.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.09524, allocations: 27.92 kB / 457.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09525, allocations: 0 / 457.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.0954, allocations: 127 kB / 457.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.09561, allocations: 7.547 kB / 457.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.09592, allocations: 374.6 kB / 457.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.09604, allocations: 0.6887 MB / 458.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.09607, allocations: 3.906 kB / 458.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.09609, allocations: 11.44 kB / 458.6 MB, free: 7.566 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09609, allocations: 0 / 458.6 MB, free: 7.566 MB / 298.7 MB Notification: Performance of Templates: time 0.002264/0.09836, allocations: 0.6477 MB / 459.3 MB, free: 6.957 MB / 298.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)