Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001182/0.001182, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001418/0.001418, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.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.002989/0.002989, allocations: 439.8 kB / 260.7 MB, free: 12.49 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 277.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.835e-05, allocations: 2.312 kB / 277.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.001903/0.001921, allocations: 1.679 MB / 279 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002392/0.00216, allocations: 99.61 kB / 279.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.002214, allocations: 0 / 279.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.002258, allocations: 15.86 kB / 279.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.002356, allocations: 35.59 kB / 279.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.002469, allocations: 27.95 kB / 279.2 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.002568, allocations: 107.5 kB / 279.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.002672, allocations: 27.97 kB / 279.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.002767, allocations: 67.8 kB / 279.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.00285, allocations: 27.97 kB / 279.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.002875, allocations: 8 kB / 279.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.002898, allocations: 8 kB / 279.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.002926, allocations: 31.91 kB / 279.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.00296, allocations: 27.94 kB / 279.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003083, allocations: 75.72 kB / 279.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003084, allocations: 0 / 279.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.003085, allocations: 0 / 279.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003089, allocations: 4 kB / 279.5 MB, free: 9.625 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003512/0.00344, allocations: 296.8 kB / 279.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.003484, allocations: 8.031 kB / 279.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.003521, allocations: 20.92 kB / 279.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.003673, allocations: 129.6 kB / 280 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.003686, allocations: 8.562 kB / 280 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.003711, allocations: 8.375 kB / 280 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.003804, allocations: 77.66 kB / 280.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.003816, allocations: 11.94 kB / 280.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.003824, allocations: 0 / 280.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.00383, allocations: 3.984 kB / 280.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.003877, allocations: 35.91 kB / 280.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.004171, allocations: 228 kB / 280.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.004262, allocations: 70.47 kB / 280.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.004289, allocations: 24.84 kB / 280.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.004296, allocations: 0 / 280.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.004317, allocations: 38.69 kB / 280.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.004318, allocations: 0 / 280.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007272/0.005046, allocations: 474.9 kB / 280.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005075, allocations: 55.41 kB / 281 MB, free: 8.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.005138, allocations: 126.6 kB / 281.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.005154, allocations: 25.7 kB / 281.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.005195, allocations: 99.97 kB / 281.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.005227, allocations: 63.47 kB / 281.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.005266, allocations: 37.64 kB / 281.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.00535, allocations: 318.8 kB / 281.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.005368, allocations: 19.98 kB / 281.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.005405, allocations: 38.55 kB / 281.7 MB, free: 7.25 MB / 266.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.005597, allocations: 135.1 kB / 281.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005598, allocations: 0 / 281.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.567e-05/0.005694, allocations: 93.59 kB / 281.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005705, allocations: 4 kB / 281.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.00571, allocations: 0 / 281.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.005722, allocations: 4 kB / 281.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.005824, allocations: 43.89 kB / 282 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005829, allocations: 0 / 282 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.005852, allocations: 4 kB / 282 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.005859, allocations: 4 kB / 282 MB, free: 6.953 MB / 266.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * 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 7.225e-05/0.005931, allocations: 125.8 kB / 282.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.005948, allocations: 7.984 kB / 282.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.005984, allocations: 20.78 kB / 282.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.005985, allocations: 0 / 282.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.005989, allocations: 3.938 kB / 282.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.005994, allocations: 8 kB / 282.1 MB, free: 6.781 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.006312, allocations: 324.8 kB / 282.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006314, allocations: 0 / 282.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.006389, allocations: 27.92 kB / 282.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-05/0.006472, allocations: 12.86 kB / 282.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.006482, allocations: 12.19 kB / 282.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008509/0.007333, allocations: 1.162 MB / 283.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.007335, allocations: 4 kB / 283.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.007508, allocations: 238.7 kB / 283.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007517, allocations: 11.91 kB / 283.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.007526, allocations: 0 / 283.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.007564, allocations: 8 kB / 283.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.007594, allocations: 20.06 kB / 284 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.007602, allocations: 4 kB / 284 MB, free: 4.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.954e-05/0.007622, allocations: 16.84 kB / 284 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007622, allocations: 0 / 284 MB, free: 4.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.007855, allocations: 28 kB / 284 MB, free: 4.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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 9.879e-05/0.007953, allocations: 80.36 kB / 284.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.008093, allocations: 72.75 kB / 284.2 MB, free: 4.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.008096, allocations: 8.062 kB / 284.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.008269, allocations: 155.4 kB / 284.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.008491, allocations: 23.97 kB / 284.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.00891, allocations: 311.6 kB / 284.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.00896, allocations: 67.84 kB / 284.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.08e-05/0.009, allocations: 12.64 kB / 284.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.009079, allocations: 71.36 kB / 284.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.00908, allocations: 0 / 284.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of Templates: time 0.003674/0.01275, allocations: 1.561 MB / 286.3 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9012060882523656]