Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.0009216/0.0009216, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009007/0.0009007, allocations: 173 kB / 23.5 MB, free: 1.051 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.933/0.933, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.002062/0.002062, allocations: 427 kB / 260.7 MB, free: 12.7 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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 330.1 MB, free: 19.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.703e-05, allocations: 4.844 kB / 330.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0008881/0.0009051, allocations: 0.5187 MB / 330.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.001036, allocations: 23.8 kB / 330.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.001059, allocations: 0 / 330.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.001074, allocations: 3.938 kB / 330.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.0011, allocations: 0 / 330.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.001208, allocations: 15.97 kB / 330.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.001256, allocations: 11.98 kB / 330.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.001291, allocations: 4 kB / 330.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.001326, allocations: 15.92 kB / 330.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.001378, allocations: 11.92 kB / 330.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.001395, allocations: 0 / 330.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.001403, allocations: 4 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.001417, allocations: 3.984 kB / 330.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.001435, allocations: 11.94 kB / 330.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.095e-05/0.001486, allocations: 7.969 kB / 330.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.001488, allocations: 4 kB / 330.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001488, allocations: 0 / 330.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.001492, allocations: 0 / 330.8 MB, free: 19.02 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.0002347/0.001726, allocations: 356.4 kB / 331.1 MB, free: 18.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.001758, allocations: 8.031 kB / 331.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.001797, allocations: 13.23 kB / 331.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.001859, allocations: 112.5 kB / 331.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.001869, allocations: 4.375 kB / 331.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.001887, allocations: 384 / 331.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.001954, allocations: 42.25 kB / 331.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.001963, allocations: 8.125 kB / 331.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.001972, allocations: 4.375 kB / 331.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.001979, allocations: 4.375 kB / 331.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.002003, allocations: 19.92 kB / 331.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.002239, allocations: 263.8 kB / 331.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.002307, allocations: 50.98 kB / 331.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.002325, allocations: 15.67 kB / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.002331, allocations: 0 / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.002345, allocations: 33.39 kB / 331.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.002347, allocations: 0 / 331.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.002604, allocations: 93.31 kB / 331.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.002619, allocations: 51.41 kB / 331.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.861e-05/0.002658, allocations: 165.9 kB / 332 MB, free: 17.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.002663, allocations: 29.7 kB / 332 MB, free: 17.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.002686, allocations: 126.9 kB / 332.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.002702, allocations: 23.8 kB / 332.2 MB, free: 17.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.002725, allocations: 19.38 kB / 332.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.002759, allocations: 0.4884 MB / 332.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.00277, allocations: 4 kB / 332.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.00279, allocations: 31.36 kB / 332.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.002822, allocations: 31.38 kB / 332.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.002823, allocations: 0 / 332.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.789e-05/0.002891, allocations: 81.25 kB / 332.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.002902, allocations: 7.984 kB / 332.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.002906, allocations: 0 / 332.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.003021, allocations: 19.62 kB / 332.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.003058, allocations: 8 kB / 332.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/0.00349, allocations: 1.72 MB / 334.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.0035, allocations: 8 kB / 334.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-06/0.003504, allocations: 0 / 334.6 MB, free: 14.85 MB / 266.7 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 3.649e-05/0.00354, allocations: 156.6 kB / 334.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.003553, allocations: 432 / 334.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.003564, allocations: 15.67 kB / 334.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-07/0.003565, allocations: 0 / 334.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.003567, allocations: 7.922 kB / 334.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.003569, allocations: 64 / 334.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.161e-05/0.003631, allocations: 116.8 kB / 334.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.003632, allocations: 4 kB / 334.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.003656, allocations: 4 kB / 334.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.082e-05/0.003706, allocations: 19.67 kB / 334.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.003713, allocations: 0 / 334.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003186/0.004031, allocations: 1.74 MB / 336.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004032, allocations: 0 / 336.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.004117, allocations: 231.4 kB / 336.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-06/0.004119, allocations: 3.984 kB / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-06/0.004124, allocations: 0 / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.004149, allocations: 0 / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.004164, allocations: 7.938 kB / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.004166, allocations: 0 / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.004182, allocations: 131.2 kB / 337 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004182, allocations: 0 / 337 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.004329, allocations: 8.094 kB / 337 MB, free: 12.22 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 4.8e-05/0.004377, allocations: 91.25 kB / 337.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.00454, allocations: 205.5 kB / 337.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.004542, allocations: 0 / 337.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.004592, allocations: 189.5 kB / 337.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.004732, allocations: 7.875 kB / 337.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.004906, allocations: 144.6 kB / 337.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.257e-05/0.004929, allocations: 67.22 kB / 337.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.004944, allocations: 4 kB / 337.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.004958, allocations: 8.5 kB / 337.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.004959, allocations: 0 / 337.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Templates: time 0.001987/0.006946, allocations: 0.621 MB / 338.3 MB, free: 10.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6596866650506854]