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.00135/0.00135, allocations: 88.72 kB / 19.44 MB, free: 356 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.0016/0.0016, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.002938/0.002938, allocations: 424.2 kB / 260 MB, free: 12.64 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 2.034e-06/2.034e-06, allocations: 0 / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.367e-05/4.571e-05, allocations: 6.25 kB / 329.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001407/0.001453, allocations: 0.5162 MB / 329.9 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.001616, allocations: 27.91 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.001642, allocations: 0 / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.001659, allocations: 3.938 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.0017, allocations: 3.938 kB / 329.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.001827, allocations: 15.97 kB / 329.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.001879, allocations: 4 kB / 330 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.001925, allocations: 11.98 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.001972, allocations: 7.938 kB / 330 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.002037, allocations: 7.984 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.002053, allocations: 3.984 kB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.002063, allocations: 4 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.00208, allocations: 4 kB / 330 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.002104, allocations: 7.984 kB / 330 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.208e-05/0.002166, allocations: 15.86 kB / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002169, allocations: 3.938 kB / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002169, allocations: 0 / 330 MB, free: 19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.002174, allocations: 4 kB / 330 MB, free: 19 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.0003281/0.002502, allocations: 246.4 kB / 330.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.002542, allocations: 12.03 kB / 330.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.002591, allocations: 12.89 kB / 330.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.002664, allocations: 109.7 kB / 330.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.00268, allocations: 8.375 kB / 330.4 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.002706, allocations: 384 / 330.4 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.002807, allocations: 50.23 kB / 330.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.002819, allocations: 4.188 kB / 330.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.002828, allocations: 384 / 330.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.002832, allocations: 384 / 330.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.002871, allocations: 23.86 kB / 330.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.003178, allocations: 204.5 kB / 330.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.003263, allocations: 42.62 kB / 330.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.003286, allocations: 12.94 kB / 330.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.0033, allocations: 8 kB / 330.7 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.003317, allocations: 38.5 kB / 330.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.003318, allocations: 0 / 330.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003604/0.003678, allocations: 82.45 kB / 330.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.003701, allocations: 55.41 kB / 330.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.003751, allocations: 93.86 kB / 331 MB, free: 17.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.003759, allocations: 29.7 kB / 331 MB, free: 17.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.003788, allocations: 80.14 kB / 331.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.003818, allocations: 27.78 kB / 331.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.003846, allocations: 25.66 kB / 331.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.00389, allocations: 310.8 kB / 331.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.00391, allocations: 11.98 kB / 331.5 MB, free: 17.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.003932, allocations: 21.72 kB / 331.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.00397, allocations: 29.72 kB / 331.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003972, allocations: 0 / 331.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001045/0.004076, allocations: 86.41 kB / 331.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004088, allocations: 4 kB / 331.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.004094, allocations: 0 / 331.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.004248, allocations: 20.88 kB / 331.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.004298, allocations: 11.94 kB / 331.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007216/0.005019, allocations: 1.218 MB / 332.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.005041, allocations: 11.92 kB / 332.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005046, allocations: 7.969 kB / 332.9 MB, free: 15.83 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 5.067e-05/0.005097, allocations: 110 kB / 333 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.00512, allocations: 4 kB / 333 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.005135, allocations: 7.688 kB / 333 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.005136, allocations: 0 / 333 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.005139, allocations: 3.938 kB / 333 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005141, allocations: 0 / 333 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.005232, allocations: 109.3 kB / 333.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005233, allocations: 0 / 333.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.005267, allocations: 4 kB / 333.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.947e-05/0.005336, allocations: 24.84 kB / 333.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.005344, allocations: 0 / 333.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005329/0.005877, allocations: 1.229 MB / 334.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005878, allocations: 0 / 334.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.006006, allocations: 176.3 kB / 334.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.00601, allocations: 3.953 kB / 334.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.006018, allocations: 4.25 kB / 334.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.006066, allocations: 4 kB / 334.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.006084, allocations: 3.984 kB / 334.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.006087, allocations: 4 kB / 334.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.992e-05/0.006107, allocations: 79.28 kB / 334.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006107, allocations: 0 / 334.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.006333, allocations: 11.94 kB / 334.7 MB, free: 13.9 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 7.337e-05/0.006407, allocations: 91.44 kB / 334.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.006643, allocations: 150.6 kB / 334.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006644, allocations: 0 / 334.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.006737, allocations: 122.6 kB / 335 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.006949, allocations: 8.562 kB / 335 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.007202, allocations: 146.2 kB / 335.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.007239, allocations: 67.28 kB / 335.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.746e-05/0.007256, allocations: 0 / 335.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.007283, allocations: 12.5 kB / 335.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007283, allocations: 4 kB / 335.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Templates: time 0.0031/0.01038, allocations: 0.6142 MB / 335.9 MB, free: 12.68 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.270501138060354]