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.001069/0.001069, allocations: 80.88 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.001077/0.001077, allocations: 181 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 1.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.002349/0.002349, allocations: 432.2 kB / 260.7 MB, free: 12.5 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 9.52e-07/9.52e-07, allocations: 0 / 277.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.325e-05, allocations: 5.688 kB / 277.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0009865/0.0009997, allocations: 0.5287 MB / 277.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.001155, allocations: 31.83 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001177, allocations: 0 / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.00119, allocations: 0 / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.001222, allocations: 3.938 kB / 277.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.395e-05/0.001316, allocations: 7.984 kB / 277.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.001367, allocations: 15.94 kB / 277.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.001405, allocations: 11.97 kB / 277.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.001444, allocations: 11.98 kB / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.0015, allocations: 4 kB / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.001517, allocations: 0 / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.001525, allocations: 0 / 277.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.001543, allocations: 15.97 kB / 277.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.001559, allocations: 11.94 kB / 277.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.478e-05/0.001604, allocations: 3.984 kB / 277.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.001606, allocations: 4 kB / 277.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.001606, allocations: 0 / 277.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.001609, allocations: 0 / 277.9 MB, free: 11.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000257/0.001866, allocations: 236.9 kB / 278.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.0019, allocations: 8.031 kB / 278.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.001927, allocations: 8.922 kB / 278.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.002007, allocations: 109.7 kB / 278.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.002016, allocations: 4.375 kB / 278.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/0.005041, allocations: 8.375 kB / 278.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.00512, allocations: 38.25 kB / 278.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.00513, allocations: 192 / 278.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.005138, allocations: 8.359 kB / 278.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005147, allocations: 4.359 kB / 278.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.005172, allocations: 11.94 kB / 278.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.005366, allocations: 152.3 kB / 278.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.005446, allocations: 46.44 kB / 278.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.005471, allocations: 21.05 kB / 278.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.005477, allocations: 0 / 278.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.005503, allocations: 34.56 kB / 278.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 6.41e-07/0.005504, allocations: 0 / 278.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005289/0.006033, allocations: 339.9 kB / 279 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002976/0.00633, allocations: 55.41 kB / 279 MB, free: 10 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.006384, allocations: 106.7 kB / 279.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.006397, allocations: 33.7 kB / 279.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.006421, allocations: 80.14 kB / 279.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.006448, allocations: 23.81 kB / 279.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.006482, allocations: 29.69 kB / 279.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.006562, allocations: 314.8 kB / 279.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.006576, allocations: 15.92 kB / 279.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.006599, allocations: 17.72 kB / 279.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.006703, allocations: 73.72 kB / 279.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006704, allocations: 0 / 279.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001031/0.006807, allocations: 79.22 kB / 279.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006818, allocations: 11.94 kB / 279.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006823, allocations: 4 kB / 279.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.692e-05/0.00692, allocations: 16.84 kB / 279.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.006969, allocations: 8 kB / 279.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005851/0.007554, allocations: 1.182 MB / 281 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.007568, allocations: 0 / 281 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.007572, allocations: 4 kB / 281 MB, free: 7.871 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: 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 6.707e-05/0.007639, allocations: 121.8 kB / 281.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.00766, allocations: 4 kB / 281.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.007674, allocations: 8.125 kB / 281.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007676, allocations: 4 kB / 281.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007678, allocations: 0 / 281.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.007681, allocations: 3.938 kB / 281.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.01095, allocations: 258.1 kB / 281.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01095, allocations: 11.97 kB / 281.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.01098, allocations: 11.94 kB / 281.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/0.01104, allocations: 20.84 kB / 281.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.01105, allocations: 4 kB / 281.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.01163, allocations: 1.174 MB / 282.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01163, allocations: 0 / 282.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.01178, allocations: 207 kB / 282.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.01179, allocations: 12.02 kB / 282.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.0118, allocations: 7.984 kB / 282.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.01185, allocations: 0 / 282.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.01187, allocations: 15.92 kB / 282.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01187, allocations: 0 / 282.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.083e-05/0.01188, allocations: 8.859 kB / 282.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01188, allocations: 0 / 282.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000207/0.01209, allocations: 12 kB / 282.9 MB, free: 5.832 MB / 266.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.47e-05/0.01216, allocations: 84.36 kB / 282.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.01235, allocations: 167.3 kB / 283.1 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01235, allocations: 3.938 kB / 283.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01246, allocations: 143.4 kB / 283.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.01259, allocations: 4 kB / 283.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.01282, allocations: 170.9 kB / 283.4 MB, free: 5.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.01286, allocations: 63.34 kB / 283.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.42e-05/0.01287, allocations: 4.188 kB / 283.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.0129, allocations: 55.38 kB / 283.5 MB, free: 5.051 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0129, allocations: 0 / 283.5 MB, free: 5.051 MB / 266.7 MB Notification: Performance of Templates: time 0.005368/0.01827, allocations: 0.8169 MB / 284.4 MB, free: 4.297 MB / 266.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.87128202104941]