Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.00131/0.00131, allocations: 113 kB / 17.08 MB, free: 5.832 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.001304/0.001304, allocations: 187.7 kB / 20.03 MB, free: 2.93 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.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.316 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.1196/0.1196, allocations: 0.5548 MB / 298.5 MB, free: 4.672 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 411.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 49.59 MB / 461.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002309/0.2952, allocations: 1.643 MB / 463 MB, free: 22.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000236/0.2955, allocations: 102.9 kB / 463.1 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.2956, allocations: 0 / 463.1 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.2956, allocations: 18.05 kB / 463.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.2957, allocations: 28.84 kB / 463.2 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2958, allocations: 29.27 kB / 463.2 MB, free: 22.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.2959, allocations: 102.9 kB / 463.3 MB, free: 22.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2961, allocations: 49.3 kB / 463.4 MB, free: 22.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.2961, allocations: 35.75 kB / 463.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.2962, allocations: 50.56 kB / 463.4 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2962, allocations: 9.375 kB / 463.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.2963, allocations: 8.875 kB / 463.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.2963, allocations: 18.53 kB / 463.5 MB, free: 22.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.2963, allocations: 47.42 kB / 463.5 MB, free: 22.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2965, allocations: 107.9 kB / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2965, allocations: 0 / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2965, allocations: 3.094 kB / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2965, allocations: 4 kB / 463.6 MB, free: 22.37 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004076/0.2969, allocations: 400.9 kB / 464 MB, free: 21.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2969, allocations: 16.5 kB / 464 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.297, allocations: 11.02 kB / 464.1 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2971, allocations: 186.4 kB / 464.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2971, allocations: 7.25 kB / 464.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2972, allocations: 14.09 kB / 464.3 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2973, allocations: 93.7 kB / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2973, allocations: 0 / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2974, allocations: 6.844 kB / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2974, allocations: 0 / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2975, allocations: 63.59 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.2979, allocations: 378.6 kB / 464.8 MB, free: 21.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.2981, allocations: 111.6 kB / 464.9 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.2981, allocations: 32.02 kB / 464.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2981, allocations: 3.562 kB / 464.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.2982, allocations: 37.81 kB / 465 MB, free: 21.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2982, allocations: 0 / 465 MB, free: 21.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008921/0.2991, allocations: 0.6831 MB / 465.7 MB, free: 20.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.2991, allocations: 54.56 kB / 465.7 MB, free: 20.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.2992, allocations: 121.7 kB / 465.8 MB, free: 20.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.2992, allocations: 29.7 kB / 465.9 MB, free: 20.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2992, allocations: 98.16 kB / 465.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2993, allocations: 60.7 kB / 466 MB, free: 20.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.2993, allocations: 35.12 kB / 466 MB, free: 20.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.2994, allocations: 325.4 kB / 466.4 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.2994, allocations: 31.22 kB / 466.4 MB, free: 19.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.2995, allocations: 61.47 kB / 466.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.2996, allocations: 102.9 kB / 466.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2996, allocations: 0 / 466.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002057/0.2998, allocations: 180.1 kB / 466.7 MB, free: 19.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2998, allocations: 3.125 kB / 466.7 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2998, allocations: 6.984 kB / 466.7 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.3, allocations: 25.16 kB / 466.8 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3001, allocations: 28.62 kB / 466.8 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/0.3009, allocations: 1.615 MB / 468.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.3009, allocations: 0 / 468.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.301, allocations: 10.72 kB / 468.4 MB, free: 18.08 MB / 350.1 MB 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.301, allocations: 128.9 kB / 468.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3011, allocations: 9.828 kB / 468.6 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3011, allocations: 19.16 kB / 468.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3011, allocations: 0 / 468.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3011, allocations: 0 / 468.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3011, allocations: 3.312 kB / 468.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3016, allocations: 0.5562 MB / 469.1 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3016, allocations: 3.938 kB / 469.1 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3017, allocations: 23.83 kB / 469.2 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/0.3018, allocations: 18.2 kB / 469.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3018, allocations: 7.062 kB / 469.2 MB, free: 17.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000551/0.3023, allocations: 1.37 MB / 470.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3024, allocations: 7.312 kB / 470.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3026, allocations: 301.1 kB / 470.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.3026, allocations: 90.39 kB / 470.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3027, allocations: 4 kB / 470.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3027, allocations: 7.062 kB / 471 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3028, allocations: 17.39 kB / 471 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3028, allocations: 3.094 kB / 471 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.264e-05/0.3028, allocations: 95.94 kB / 471.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 3 kB / 471.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.3031, allocations: 32.12 kB / 471.1 MB, free: 15.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 6.681e-05/0.3032, allocations: 102.3 kB / 471.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.3036, allocations: 223.4 kB / 471.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3036, allocations: 0 / 471.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3037, allocations: 167.9 kB / 471.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.3041, allocations: 19.64 kB / 471.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3046, allocations: 430.8 kB / 472 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3047, allocations: 0.7075 MB / 472.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.3048, allocations: 13.66 kB / 472.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3048, allocations: 0 / 472.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003463/0.3082, allocations: 1.967 MB / 474.7 MB, free: 13.99 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.358978628064506] Failed to read output from testmodel.py, exit status != 0: 0.31504726700950414 0.324635243 0.026031911 Calling exit ...