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.0007223/0.0007223, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009986/0.001721, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006785/0.0006785, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008785/0.001557, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9377/0.9377, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07829/1.016, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.001497/0.001497, allocations: 427.2 kB / 244.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.002531, allocations: 0.5736 MB / 245.1 MB, free: 13.78 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 1.413e-06/1.413e-06, allocations: 0 / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.442e-05, allocations: 6.25 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002624/0.002638, allocations: 1.719 MB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002032/0.002841, allocations: 99.56 kB / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.00289, allocations: 0 / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.002943, allocations: 19.84 kB / 248.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.003032, allocations: 35.66 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.674e-05/0.003109, allocations: 23.97 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.003236, allocations: 107.5 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003342, allocations: 27.97 kB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.003463, allocations: 71.8 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.003553, allocations: 23.97 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.003583, allocations: 12 kB / 248.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.003602, allocations: 11.94 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.003627, allocations: 12 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.003666, allocations: 31.94 kB / 248.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003799, allocations: 63.77 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.00381, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003811, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.00382, allocations: 3.938 kB / 248.7 MB, free: 10.21 MB / 250.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.0004529/0.004272, allocations: 332.4 kB / 249 MB, free: 9.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.004305, allocations: 12.03 kB / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.00435, allocations: 16.92 kB / 249 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.004489, allocations: 125.6 kB / 249.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.004502, allocations: 12.56 kB / 249.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.004531, allocations: 8.375 kB / 249.2 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.00465, allocations: 74.66 kB / 249.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.004664, allocations: 3.984 kB / 249.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004675, allocations: 7.984 kB / 249.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.004683, allocations: 4 kB / 249.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.004747, allocations: 26.98 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.005129, allocations: 240 kB / 249.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.005247, allocations: 62.53 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.005284, allocations: 24.86 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.005294, allocations: 4 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.005317, allocations: 34.69 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.005319, allocations: 0 / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009241/0.006243, allocations: 476.8 kB / 250.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.006273, allocations: 51.41 kB / 250.2 MB, free: 8.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.006349, allocations: 118.7 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.006362, allocations: 25.7 kB / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.006409, allocations: 104 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.006448, allocations: 59.47 kB / 250.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.006498, allocations: 37.69 kB / 250.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.006592, allocations: 326.8 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.006619, allocations: 8 kB / 250.8 MB, free: 7.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.006665, allocations: 42.55 kB / 250.9 MB, free: 7.812 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.006752, allocations: 74.33 kB / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.006753, allocations: 0 / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001824/0.006935, allocations: 110.4 kB / 251.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.006952, allocations: 7.938 kB / 251.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006956, allocations: 0 / 251.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.007078, allocations: 24.84 kB / 251.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.007189, allocations: 32.02 kB / 251.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.00815, allocations: 1.368 MB / 252.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.008193, allocations: 11.94 kB / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.0082, allocations: 3.938 kB / 252.5 MB, free: 6.078 MB / 250.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 7.469e-05/0.008275, allocations: 121.8 kB / 252.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.008306, allocations: 12 kB / 252.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.008335, allocations: 20.8 kB / 252.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.008339, allocations: 4 kB / 252.7 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008342, allocations: 4.062 kB / 252.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008345, allocations: 0 / 252.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.008787, allocations: 321.9 kB / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.00879, allocations: 0 / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.008917, allocations: 39.86 kB / 253 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.00893, allocations: 7.953 kB / 253 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.008999, allocations: 24.94 kB / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.009008, allocations: 0 / 253 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006746/0.009682, allocations: 1.162 MB / 254.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.009684, allocations: 0 / 254.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.009917, allocations: 242.9 kB / 254.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009934, allocations: 8 kB / 254.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.01001, allocations: 0 / 254.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.01003, allocations: 23.92 kB / 254.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.01004, allocations: 0 / 254.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.01007, allocations: 20.83 kB / 254.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01007, allocations: 0 / 254.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.01034, allocations: 32 kB / 254.5 MB, free: 3.891 MB / 250.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 9.301e-05/0.01044, allocations: 84.39 kB / 254.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.01073, allocations: 195.3 kB / 254.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.01074, allocations: 0 / 254.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.0109, allocations: 163.4 kB / 255 MB, free: 3.418 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.0112, allocations: 202.2 kB / 255.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01249, allocations: 295.5 kB / 255.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.01252, allocations: 71.83 kB / 255.5 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.01256, allocations: 8.656 kB / 255.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.01262, allocations: 71.36 kB / 255.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01262, allocations: 0 / 255.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of Templates: time 0.002822/0.01544, allocations: 1.605 MB / 257.2 MB, free: 1.16 MB / 250.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.1851823525503278]