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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 111.5 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 194.2 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1382/0.1382, allocations: 0.5579 MB / 298.5 MB, free: 4.727 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002068/0.002068, allocations: 72.12 kB / 411.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2836, allocations: 49.59 MB / 461.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001535/0.2852, allocations: 0.5328 MB / 461.9 MB, free: 23.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.2854, allocations: 22.97 kB / 461.9 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.2854, allocations: 0 / 461.9 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.2854, allocations: 0 / 461.9 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.2855, allocations: 7.156 kB / 461.9 MB, free: 23.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2856, allocations: 5.453 kB / 462 MB, free: 23.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.2857, allocations: 17.75 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.2858, allocations: 8.078 kB / 462 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.2858, allocations: 16.53 kB / 462 MB, free: 23.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.2858, allocations: 6.766 kB / 462 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2859, allocations: 7.312 kB / 462 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.2859, allocations: 0 / 462 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2859, allocations: 4.141 kB / 462 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.2859, allocations: 13.33 kB / 462 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.608e-05/0.286, allocations: 13.94 kB / 462 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.286, allocations: 0 / 462 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.224e-05/0.286, allocations: 0 / 462 MB, free: 23.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.286, allocations: 4.609 kB / 462 MB, free: 23.44 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.0003527/0.2864, allocations: 338.2 kB / 462.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2864, allocations: 12.92 kB / 462.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2865, allocations: 8.047 kB / 462.4 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2866, allocations: 166.7 kB / 462.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2866, allocations: 7.5 kB / 462.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2866, allocations: 3.469 kB / 462.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2868, allocations: 49.2 kB / 462.6 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2868, allocations: 4.188 kB / 462.6 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2868, allocations: 7.938 kB / 462.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2868, allocations: 0 / 462.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.816e-05/0.2868, allocations: 10.09 kB / 462.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.2871, allocations: 247.5 kB / 462.9 MB, free: 22.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.2872, allocations: 50.92 kB / 462.9 MB, free: 22.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2872, allocations: 25.53 kB / 463 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2872, allocations: 4 kB / 463 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.2873, allocations: 30.56 kB / 463 MB, free: 22.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2873, allocations: 3.125 kB / 463 MB, free: 22.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006218/0.2879, allocations: 0.4884 MB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2879, allocations: 61.89 kB / 463.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.288, allocations: 104.9 kB / 463.6 MB, free: 21.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.288, allocations: 25.7 kB / 463.7 MB, free: 21.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.288, allocations: 91.81 kB / 463.8 MB, free: 21.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2881, allocations: 30.25 kB / 463.8 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2881, allocations: 19.84 kB / 463.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.2882, allocations: 322 kB / 464.1 MB, free: 21.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.2882, allocations: 17.11 kB / 464.1 MB, free: 21.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.2882, allocations: 37.56 kB / 464.2 MB, free: 21.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.2885, allocations: 240.7 kB / 464.4 MB, free: 21.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2885, allocations: 3.094 kB / 464.4 MB, free: 21.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.2887, allocations: 106.3 kB / 464.5 MB, free: 20.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2887, allocations: 3 kB / 464.5 MB, free: 20.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2887, allocations: 3.344 kB / 464.5 MB, free: 20.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.2888, allocations: 25.98 kB / 464.5 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.2889, allocations: 9.562 kB / 464.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/0.2896, allocations: 1.388 MB / 465.9 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.2896, allocations: 2.938 kB / 465.9 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2897, allocations: 3.641 kB / 466 MB, free: 19.54 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.0001516/0.2898, allocations: 117.4 kB / 466.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2898, allocations: 0 / 466.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.2899, allocations: 7.969 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2899, allocations: 7.281 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2899, allocations: 3.422 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2899, allocations: 0 / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.2903, allocations: 369.6 kB / 466.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2903, allocations: 0 / 466.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.2903, allocations: 13.38 kB / 466.5 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.2904, allocations: 29.5 kB / 466.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2904, allocations: 3.328 kB / 466.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006076/0.291, allocations: 1.389 MB / 467.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2911, allocations: 0 / 467.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.2912, allocations: 238.7 kB / 468.1 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.2913, allocations: 77.23 kB / 468.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2913, allocations: 14.12 kB / 468.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.2913, allocations: 6.562 kB / 468.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.2914, allocations: 2.562 kB / 468.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2914, allocations: 6.469 kB / 468.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.2914, allocations: 85.3 kB / 468.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2914, allocations: 0 / 468.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.2917, allocations: 11.22 kB / 468.3 MB, free: 17.21 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 7.515e-05/0.2918, allocations: 108.1 kB / 468.4 MB, free: 17.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.292, allocations: 167.5 kB / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.292, allocations: 0 / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.2922, allocations: 146.8 kB / 468.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2924, allocations: 7.062 kB / 468.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2927, allocations: 206.7 kB / 468.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2928, allocations: 0.687 MB / 469.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.2929, allocations: 10.53 kB / 469.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 1.81e-07/0.2929, allocations: 0 / 469.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002573/0.2955, allocations: 0.9386 MB / 470.6 MB, free: 15.9 MB / 350.1 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.319562767981552] Failed to read output from testmodel.py, exit status != 0: 0.3024620949290693 0.31434758299999993 0.025738309999999938 Calling exit ...