Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.0009024/0.0009024, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00103/0.00103, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9454/0.9454, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.002131/0.002131, allocations: 419 kB / 261.4 MB, free: 12.5 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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 331.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.398e-05, allocations: 2.312 kB / 331.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.005226/0.00525, allocations: 1.672 MB / 333 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.005499, allocations: 99.62 kB / 333.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.005557, allocations: 3.938 kB / 333.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.005605, allocations: 11.86 kB / 333.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.358e-05/0.005699, allocations: 31.7 kB / 333.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.005802, allocations: 23.97 kB / 333.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.005891, allocations: 111.5 kB / 333.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005991, allocations: 19.98 kB / 333.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.006066, allocations: 71.86 kB / 333.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.006141, allocations: 39.89 kB / 333.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.006159, allocations: 8 kB / 333.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.006173, allocations: 8 kB / 333.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.006195, allocations: 19.92 kB / 333.5 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.006226, allocations: 31.92 kB / 333.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.006331, allocations: 71.73 kB / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006334, allocations: 0 / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006335, allocations: 3.938 kB / 333.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006339, allocations: 0 / 333.6 MB, free: 16.8 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003238/0.006663, allocations: 424.4 kB / 334 MB, free: 16.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.006693, allocations: 12.03 kB / 334 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.006727, allocations: 20.84 kB / 334 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.006822, allocations: 136.5 kB / 334.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.006832, allocations: 4.562 kB / 334.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.006852, allocations: 16.36 kB / 334.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.006939, allocations: 67.48 kB / 334.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006949, allocations: 3.953 kB / 334.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.006958, allocations: 4 kB / 334.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006965, allocations: 7.984 kB / 334.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.00701, allocations: 34.02 kB / 334.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.007293, allocations: 328.1 kB / 334.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.007386, allocations: 75.02 kB / 334.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.007413, allocations: 27.67 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.00742, allocations: 8.125 kB / 334.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.007434, allocations: 37.33 kB / 334.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.007435, allocations: 0 / 334.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.003607/0.01104, allocations: 483.6 kB / 335.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.01106, allocations: 59.34 kB / 335.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.01111, allocations: 169.8 kB / 335.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.01111, allocations: 33.7 kB / 335.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.01115, allocations: 138.8 kB / 335.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.01118, allocations: 67.45 kB / 335.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.01122, allocations: 39.36 kB / 335.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.01125, allocations: 0.4962 MB / 336.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.01127, allocations: 8 kB / 336.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.01132, allocations: 61.84 kB / 336.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.01138, allocations: 70.41 kB / 336.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01138, allocations: 4 kB / 336.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00012/0.0115, allocations: 109.6 kB / 336.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.01151, allocations: 4 kB / 336.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01152, allocations: 0 / 336.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.01153, allocations: 4 kB / 336.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01165, allocations: 35.92 kB / 336.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01165, allocations: 0 / 336.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.01168, allocations: 11.94 kB / 336.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01169, allocations: 4.031 kB / 336.5 MB, free: 13.57 MB / 266.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 (19): * Single equations (assignments): 19 * 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 4.63e-05/0.01173, allocations: 164.5 kB / 336.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.01176, allocations: 19.94 kB / 336.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.01179, allocations: 16.78 kB / 336.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01179, allocations: 3.938 kB / 336.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.0118, allocations: 0 / 336.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.0118, allocations: 3.938 kB / 336.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.01215, allocations: 444.5 kB / 337.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01215, allocations: 3.938 kB / 337.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.01223, allocations: 31.92 kB / 337.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.208e-05/0.01231, allocations: 15.69 kB / 337.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01232, allocations: 7.984 kB / 337.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004733/0.01279, allocations: 1.709 MB / 338.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0128, allocations: 4 kB / 338.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01297, allocations: 322.3 kB / 339.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.01298, allocations: 7.953 kB / 339.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.01299, allocations: 0 / 339.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.01305, allocations: 4 kB / 339.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.01307, allocations: 15.92 kB / 339.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.01308, allocations: 4 kB / 339.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.0131, allocations: 139.5 kB / 339.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0131, allocations: 4.094 kB / 339.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00324/0.01634, allocations: 28 kB / 339.4 MB, free: 10.43 MB / 266.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 7.777e-05/0.01641, allocations: 99.19 kB / 339.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01653, allocations: 74.42 kB / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01653, allocations: 0 / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01666, allocations: 217.5 kB / 339.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01695, allocations: 28.23 kB / 339.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.01732, allocations: 343.7 kB / 340.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.01735, allocations: 71.69 kB / 340.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.01739, allocations: 12.59 kB / 340.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.01745, allocations: 94.19 kB / 340.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01745, allocations: 0 / 340.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of Templates: time 0.004601/0.02205, allocations: 1.493 MB / 341.8 MB, free: 8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8734242860227823]