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.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.0009708/0.0009708, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0008942/0.0008942, allocations: 173 kB / 23.28 MB, free: 1.219 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.9786/0.9786, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001922/0.001922, allocations: 419.7 kB / 260.7 MB, free: 12.46 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.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 2.023e-06/2.023e-06, allocations: 0 / 330.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.573e-05, allocations: 2.312 kB / 330.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002795/0.00282, allocations: 1.672 MB / 332.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.003147, allocations: 99.56 kB / 332.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.00322, allocations: 0 / 332.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.486e-05/0.003275, allocations: 19.84 kB / 332.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003393, allocations: 31.66 kB / 332.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.003522, allocations: 23.97 kB / 332.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.003651, allocations: 111.5 kB / 332.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.003774, allocations: 27.97 kB / 332.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003884, allocations: 59.89 kB / 332.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.003982, allocations: 35.89 kB / 332.6 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.004006, allocations: 8 kB / 332.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.004025, allocations: 12 kB / 332.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.004055, allocations: 23.91 kB / 332.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.004099, allocations: 31.92 kB / 332.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.004234, allocations: 67.75 kB / 332.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004236, allocations: 0 / 332.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004236, allocations: 0 / 332.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.00424, allocations: 0 / 332.7 MB, free: 1.871 MB / 298.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.0004531/0.004693, allocations: 436.3 kB / 333.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.004738, allocations: 12.03 kB / 333.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.004784, allocations: 24.84 kB / 333.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004929, allocations: 128.5 kB / 333.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.004944, allocations: 8.562 kB / 333.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.004973, allocations: 16.36 kB / 333.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.005097, allocations: 77.66 kB / 333.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.005109, allocations: 0 / 333.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005117, allocations: 0 / 333.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005125, allocations: 4 kB / 333.4 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.005184, allocations: 27.97 kB / 333.5 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.005596, allocations: 340.1 kB / 333.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.005715, allocations: 70.97 kB / 333.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.005753, allocations: 23.67 kB / 333.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.005765, allocations: 4.188 kB / 333.9 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.005794, allocations: 49.27 kB / 333.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.005796, allocations: 0 / 333.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007737/0.006569, allocations: 463.7 kB / 334.4 MB, free: 32 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.006624, allocations: 63.39 kB / 334.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.006734, allocations: 181.7 kB / 334.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006749, allocations: 29.7 kB / 334.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.006835, allocations: 146.6 kB / 334.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.006878, allocations: 59.47 kB / 334.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.006931, allocations: 39.36 kB / 334.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.00708, allocations: 0.4884 MB / 335.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.007108, allocations: 19.94 kB / 335.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.007159, allocations: 47.03 kB / 335.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/0.007246, allocations: 78.47 kB / 335.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007247, allocations: 0 / 335.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001905/0.007438, allocations: 141.2 kB / 335.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.007453, allocations: 11.94 kB / 335.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007458, allocations: 0 / 335.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.007594, allocations: 23.67 kB / 335.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.007685, allocations: 23.98 kB / 335.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.009042, allocations: 2.009 MB / 337.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.009088, allocations: 11.94 kB / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.009097, allocations: 0 / 337.8 MB, free: 12.46 MB / 314.7 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 0.0001077/0.009204, allocations: 164.5 kB / 337.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.009239, allocations: 15.95 kB / 337.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.009268, allocations: 16.78 kB / 337.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.00927, allocations: 0 / 337.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.009276, allocations: 0 / 337.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.009284, allocations: 7.922 kB / 338 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.009893, allocations: 444.6 kB / 338.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.009898, allocations: 3.938 kB / 338.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.009998, allocations: 31.92 kB / 338.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-05/0.01008, allocations: 23.66 kB / 338.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01009, allocations: 7.938 kB / 338.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009648/0.01105, allocations: 1.717 MB / 340.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01106, allocations: 0 / 340.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.01137, allocations: 317.1 kB / 340.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.01139, allocations: 7.953 kB / 340.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.0114, allocations: 0 / 340.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.01147, allocations: 8 kB / 340.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.0115, allocations: 20.06 kB / 340.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.0115, allocations: 4 kB / 340.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.899e-05/0.01156, allocations: 135.2 kB / 340.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01156, allocations: 0 / 340.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.01189, allocations: 32 kB / 340.7 MB, free: 9.316 MB / 314.7 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 0.0001088/0.01199, allocations: 99.19 kB / 340.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.01235, allocations: 260.4 kB / 341 MB, free: 8.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01235, allocations: 4.062 kB / 341 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.0125, allocations: 211.7 kB / 341.2 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01284, allocations: 24.7 kB / 341.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.01369, allocations: 346.3 kB / 341.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.01375, allocations: 75.83 kB / 341.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.01381, allocations: 4.656 kB / 341.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.0139, allocations: 86.19 kB / 341.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0139, allocations: 0 / 341.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of Templates: time 0.004669/0.01857, allocations: 1.565 MB / 343.3 MB, free: 6.633 MB / 314.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.883989891037345]