Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.0008467/0.0008467, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.0009/0.0009, allocations: 177 kB / 23.03 MB, free: 1.535 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.9162/0.9162, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.002064/0.002064, allocations: 423.7 kB / 260.4 MB, free: 12.62 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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 330.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.541e-05, allocations: 2.312 kB / 330.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00124/0.001256, allocations: 0.5265 MB / 330.6 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.001416, allocations: 27.8 kB / 330.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.00144, allocations: 0 / 330.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.00146, allocations: 3.938 kB / 330.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.00149, allocations: 0 / 330.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.001605, allocations: 11.97 kB / 330.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.647e-05/0.001661, allocations: 15.98 kB / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.001695, allocations: 0 / 330.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.001732, allocations: 19.92 kB / 330.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.001792, allocations: 11.91 kB / 330.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.001812, allocations: 8 kB / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.00182, allocations: 0 / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.001834, allocations: 0 / 330.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.001855, allocations: 7.938 kB / 330.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.639e-05/0.001911, allocations: 15.97 kB / 330.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001913, allocations: 0 / 330.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.001914, allocations: 0 / 330.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.001917, allocations: 0 / 330.8 MB, free: 18.65 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.0002806/0.002198, allocations: 360.3 kB / 331.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.002239, allocations: 8.031 kB / 331.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.002277, allocations: 13.23 kB / 331.1 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.002342, allocations: 108.6 kB / 331.2 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.002355, allocations: 8.375 kB / 331.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.002378, allocations: 4.375 kB / 331.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.00246, allocations: 42.25 kB / 331.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00247, allocations: 4.125 kB / 331.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.002478, allocations: 384 / 331.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.002485, allocations: 384 / 331.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.002519, allocations: 19.92 kB / 331.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.002723, allocations: 251.8 kB / 331.6 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.00282, allocations: 55.05 kB / 331.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.002852, allocations: 27.73 kB / 331.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.00286, allocations: 0 / 331.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.002876, allocations: 37.39 kB / 331.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.002877, allocations: 0 / 331.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.00346, allocations: 359.7 kB / 332 MB, free: 17.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.003479, allocations: 59.33 kB / 332.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.935e-05/0.003528, allocations: 157.9 kB / 332.2 MB, free: 16.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.003536, allocations: 33.7 kB / 332.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.003556, allocations: 130.9 kB / 332.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.003584, allocations: 31.7 kB / 332.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.003617, allocations: 31.36 kB / 332.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.003656, allocations: 496.1 kB / 332.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.003681, allocations: 15.98 kB / 333 MB, free: 16.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.003715, allocations: 27.36 kB / 333 MB, free: 16.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.003867, allocations: 75.31 kB / 333.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.003869, allocations: 7.922 kB / 333.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001424/0.004012, allocations: 90.12 kB / 333.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.004025, allocations: 14.02 kB / 333.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.00403, allocations: 4 kB / 333.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.004164, allocations: 19.91 kB / 333.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.004227, allocations: 12 kB / 333.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000646/0.004873, allocations: 1.756 MB / 335 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.004892, allocations: 0 / 335 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.004897, allocations: 4 kB / 335 MB, free: 14.02 MB / 266.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.004961, allocations: 172.5 kB / 335.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.004987, allocations: 4 kB / 335.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.005004, allocations: 12.06 kB / 335.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005006, allocations: 0 / 335.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.005008, allocations: 0 / 335.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005011, allocations: 0 / 335.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.005331, allocations: 376 kB / 335.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.005334, allocations: 4 kB / 335.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.005383, allocations: 12.09 kB / 335.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.00546, allocations: 23.81 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.00547, allocations: 7.984 kB / 335.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005486/0.006019, allocations: 1.755 MB / 337.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.006021, allocations: 4.062 kB / 337.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.006185, allocations: 286.4 kB / 337.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.006191, allocations: 8.062 kB / 337.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.006201, allocations: 4 kB / 337.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.006258, allocations: 4 kB / 337.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.006279, allocations: 11.92 kB / 337.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.006284, allocations: 4 kB / 337.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.006301, allocations: 123.2 kB / 337.7 MB, free: 11 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006301, allocations: 0 / 337.7 MB, free: 11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000271/0.006572, allocations: 8 kB / 337.8 MB, free: 11 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.198e-05/0.006634, allocations: 107.2 kB / 337.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.006879, allocations: 221.4 kB / 338.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006881, allocations: 4 kB / 338.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.007019, allocations: 209.4 kB / 338.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.007259, allocations: 12.05 kB / 338.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.007504, allocations: 187.1 kB / 338.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.007534, allocations: 59.34 kB / 338.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.007551, allocations: 12.17 kB / 338.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.007572, allocations: 8.5 kB / 338.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007572, allocations: 4 kB / 338.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Templates: time 0.002769/0.01034, allocations: 0.7955 MB / 339.4 MB, free: 9.344 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4596824273467064]