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.0009385/0.0009385, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001018/0.001018, allocations: 169 kB / 23.02 MB, free: 1.547 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.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.002201/0.002201, allocations: 419.1 kB / 260.4 MB, free: 12.64 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 2.504e-06/2.504e-06, allocations: 0 / 330.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.359e-05, allocations: 5.406 kB / 330.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.002082/0.002116, allocations: 0.5225 MB / 330.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002179/0.002334, allocations: 23.84 kB / 330.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002367, allocations: 0 / 330.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.002391, allocations: 7.938 kB / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.002428, allocations: 0 / 330.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.002578, allocations: 7.984 kB / 330.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.002642, allocations: 23.91 kB / 330.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.002691, allocations: 7.938 kB / 330.7 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.002735, allocations: 11.98 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.002803, allocations: 7.984 kB / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.002824, allocations: 0 / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.002834, allocations: 0 / 330.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.002852, allocations: 7.984 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.002873, allocations: 11.94 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.501e-05/0.002948, allocations: 7.984 kB / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00295, allocations: 0 / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.002952, allocations: 4 kB / 330.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.002958, allocations: 0 / 330.8 MB, free: 18.67 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.0003307/0.003289, allocations: 356.3 kB / 331.1 MB, free: 18.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.003336, allocations: 8.031 kB / 331.1 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.003378, allocations: 9.234 kB / 331.1 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.003451, allocations: 116.6 kB / 331.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.003465, allocations: 384 / 331.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.003498, allocations: 4.375 kB / 331.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.003595, allocations: 50.19 kB / 331.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.003608, allocations: 4.188 kB / 331.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.003619, allocations: 4.375 kB / 331.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.003627, allocations: 384 / 331.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.003662, allocations: 19.91 kB / 331.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.00391, allocations: 255.8 kB / 331.6 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.004016, allocations: 54.92 kB / 331.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.004045, allocations: 23.8 kB / 331.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.004054, allocations: 4 kB / 331.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.004071, allocations: 37.39 kB / 331.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.004072, allocations: 0 / 331.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006235/0.004696, allocations: 359.7 kB / 332 MB, free: 17.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.004718, allocations: 55.41 kB / 332.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.004776, allocations: 161.9 kB / 332.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.004786, allocations: 25.7 kB / 332.3 MB, free: 16.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.004816, allocations: 126.9 kB / 332.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.004858, allocations: 31.7 kB / 332.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.004899, allocations: 35.36 kB / 332.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.004956, allocations: 496.1 kB / 332.9 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.004983, allocations: 15.98 kB / 333 MB, free: 16.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.005021, allocations: 35.36 kB / 333 MB, free: 16.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.005207, allocations: 75.92 kB / 333.1 MB, free: 16.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.00521, allocations: 3.938 kB / 333.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001619/0.005372, allocations: 89.55 kB / 333.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.00539, allocations: 11.98 kB / 333.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.005397, allocations: 4 kB / 333.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.005551, allocations: 23.67 kB / 333.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.005612, allocations: 12 kB / 333.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007038/0.006316, allocations: 1.752 MB / 335 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.006337, allocations: 4 kB / 335 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.006342, allocations: 0 / 335 MB, free: 14.04 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 7.902e-05/0.006421, allocations: 168.5 kB / 335.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.006447, allocations: 4 kB / 335.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.006465, allocations: 16.09 kB / 335.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006467, allocations: 0 / 335.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.006472, allocations: 4 kB / 335.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006475, allocations: 0 / 335.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.006802, allocations: 376 kB / 335.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.006805, allocations: 3.938 kB / 335.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.006851, allocations: 8 kB / 335.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.462e-05/0.006926, allocations: 23.67 kB / 335.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.006936, allocations: 12.08 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005271/0.007464, allocations: 1.76 MB / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.007466, allocations: 4 kB / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.007629, allocations: 282.5 kB / 337.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-06/0.007634, allocations: 0 / 337.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.007646, allocations: 11.94 kB / 337.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.007704, allocations: 0 / 337.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.007729, allocations: 8.047 kB / 337.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.007734, allocations: 8 kB / 337.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.007754, allocations: 123.2 kB / 337.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007754, allocations: 0 / 337.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.008013, allocations: 12 kB / 337.8 MB, free: 11.01 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 8.425e-05/0.008097, allocations: 103.2 kB / 337.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.008351, allocations: 221.4 kB / 338.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.008353, allocations: 0 / 338.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.008467, allocations: 213.4 kB / 338.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.008699, allocations: 11.94 kB / 338.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.008985, allocations: 183.2 kB / 338.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.00902, allocations: 63.34 kB / 338.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.009041, allocations: 3.984 kB / 338.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.009065, allocations: 12.5 kB / 338.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009066, allocations: 3.938 kB / 338.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003283/0.01235, allocations: 0.7719 MB / 339.3 MB, free: 9.379 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.851619584020227]