Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.000806/0.000806, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.001965, allocations: 435.8 kB / 10.33 MB, free: 368 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.001337/0.001337, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002742, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08706/1.132, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001629/0.001629, allocations: 428.1 kB / 244.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.002705, allocations: 0.5683 MB / 245 MB, free: 13.86 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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.566e-05, allocations: 10.05 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00175/0.001775, allocations: 0.5713 MB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 7.979e-05/0.001855, allocations: 27.89 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.001873, allocations: 0 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.191e-06/0.001879, allocations: 3.938 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.065e-05/0.00189, allocations: 0 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.736e-05/0.001947, allocations: 7.922 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.002009, allocations: 12 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.002054, allocations: 15.97 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.002113, allocations: 19.91 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.002172, allocations: 4 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.002194, allocations: 4 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002202, allocations: 0 / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.002215, allocations: 4 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.002237, allocations: 7.938 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.008e-05/0.002307, allocations: 11.92 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.002322, allocations: 0 / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002323, allocations: 0 / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.002338, allocations: 0 / 246.9 MB, free: 11.91 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003713/0.00271, allocations: 244.6 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.002749, allocations: 15.98 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.002778, allocations: 4.938 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.002872, allocations: 105.8 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.002882, allocations: 384 / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.002906, allocations: 4.375 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.002995, allocations: 46.23 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.003005, allocations: 192 / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.003012, allocations: 384 / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003018, allocations: 384 / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.00305, allocations: 19.88 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.003326, allocations: 172.3 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/0.00341, allocations: 38.5 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.003429, allocations: 8.859 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.003436, allocations: 0 / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.003461, allocations: 34.64 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.003462, allocations: 3.938 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002848/0.003747, allocations: 78.45 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.003776, allocations: 55.41 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.003836, allocations: 102.7 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.003847, allocations: 25.7 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.003885, allocations: 88.08 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.003907, allocations: 15.89 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.003943, allocations: 17.7 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.004035, allocations: 318.8 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.004047, allocations: 7.938 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.00407, allocations: 17.72 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.00411, allocations: 25.7 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004112, allocations: 4 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.465e-05/0.004187, allocations: 53.98 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.004201, allocations: 7.938 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.004205, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.004215, allocations: 48 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.004347, allocations: 23.97 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.004351, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.004368, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.004371, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.004432, allocations: 117.8 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.004454, allocations: 7.969 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.004484, allocations: 11.69 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004486, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.004489, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.004492, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.004609, allocations: 77.83 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004611, allocations: 0 / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.004649, allocations: 4 kB / 248.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.004656, allocations: 3.938 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.004793, allocations: 28.72 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.004803, allocations: 0 / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007283/0.005531, allocations: 1.154 MB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005532, allocations: 0 / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.005668, allocations: 164.2 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.005676, allocations: 4 kB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.00572, allocations: 4.156 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.005734, allocations: 3.984 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.005739, allocations: 4 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.758e-06/0.005749, allocations: 4.859 kB / 250 MB, free: 8.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005749, allocations: 0 / 250 MB, free: 8.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000207/0.005956, allocations: 8 kB / 250 MB, free: 8.504 MB / 250.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 8.328e-05/0.006039, allocations: 76.42 kB / 250.1 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.006119, allocations: 28.95 kB / 250.1 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.006123, allocations: 64 / 250.1 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.006288, allocations: 139.4 kB / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.006444, allocations: 19.86 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.006645, allocations: 128.4 kB / 250.4 MB, free: 8.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.006687, allocations: 59.34 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.006707, allocations: 0 / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.00675, allocations: 51.38 kB / 250.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of SimCode: time 1.422e-06/0.006751, allocations: 0 / 250.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of Templates: time 0.002649/0.0094, allocations: 0.6093 MB / 251.1 MB, free: 7.387 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.451807204633951]