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.001813/0.001813, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.00219/0.00219, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.002898/0.002898, allocations: 423.2 kB / 259.6 MB, free: 296 kB / 238.1 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.463e-06/1.463e-06, allocations: 0 / 382.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.343e-05, allocations: 5.234 kB / 382.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001507/0.001531, allocations: 0.513 MB / 382.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.001684, allocations: 17.8 kB / 382.8 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.001717, allocations: 4 kB / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.001733, allocations: 0 / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.401e-05/0.001757, allocations: 0 / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.001872, allocations: 15.84 kB / 382.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.001942, allocations: 23.92 kB / 382.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.001995, allocations: 8 kB / 382.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.002035, allocations: 15.97 kB / 382.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.002089, allocations: 7.984 kB / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.002114, allocations: 0 / 382.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.002125, allocations: 4 kB / 382.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.002139, allocations: 0 / 382.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.00216, allocations: 11.92 kB / 382.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.382e-05/0.002224, allocations: 15.92 kB / 382.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002226, allocations: 0 / 382.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002226, allocations: 0 / 382.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.002234, allocations: 4 kB / 382.9 MB, free: 3.594 MB / 302.1 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.0003972/0.002631, allocations: 254.4 kB / 383.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.002665, allocations: 8.031 kB / 383.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.002697, allocations: 8.891 kB / 383.2 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.002817, allocations: 105.7 kB / 383.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.002835, allocations: 8.375 kB / 383.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.002861, allocations: 4.375 kB / 383.3 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.002966, allocations: 46.19 kB / 383.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.002979, allocations: 4.188 kB / 383.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.002987, allocations: 384 / 383.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.002991, allocations: 4.375 kB / 383.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.003034, allocations: 15.92 kB / 383.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.003311, allocations: 196.5 kB / 383.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.003428, allocations: 58.5 kB / 383.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.003466, allocations: 20.97 kB / 383.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.003478, allocations: 0 / 383.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.003514, allocations: 38.56 kB / 383.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.003515, allocations: 0 / 383.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007145/0.00423, allocations: 360 kB / 384 MB, free: 2.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.004277, allocations: 55.41 kB / 384.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.004358, allocations: 97.84 kB / 384.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.004377, allocations: 29.7 kB / 384.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.00443, allocations: 84.09 kB / 384.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.004466, allocations: 27.75 kB / 384.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.004512, allocations: 29.7 kB / 384.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.004652, allocations: 310.8 kB / 384.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.004686, allocations: 15.98 kB / 384.7 MB, free: 1.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.004734, allocations: 33.66 kB / 384.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.005003, allocations: 97.62 kB / 384.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005006, allocations: 3.938 kB / 384.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.005186, allocations: 94.47 kB / 384.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005199, allocations: 4 kB / 384.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.005203, allocations: 0 / 384.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.005328, allocations: 25.95 kB / 384.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.005399, allocations: 11.98 kB / 384.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.00656, allocations: 1.268 MB / 386.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.006585, allocations: 8.094 kB / 386.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.00659, allocations: 0 / 386.2 MB, free: 15.95 MB / 318.1 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 0.0001364/0.006727, allocations: 117.8 kB / 386.3 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.006755, allocations: 3.953 kB / 386.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.00678, allocations: 16.06 kB / 386.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006782, allocations: 0 / 386.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.006784, allocations: 0 / 386.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.006789, allocations: 3.984 kB / 386.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.007232, allocations: 313.5 kB / 386.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007234, allocations: 3.938 kB / 386.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.007296, allocations: 8 kB / 386.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.007372, allocations: 20.84 kB / 386.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007379, allocations: 4 kB / 386.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.008439, allocations: 1.264 MB / 387.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.008441, allocations: 0 / 387.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.008713, allocations: 235 kB / 388.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.00872, allocations: 0 / 388.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.008739, allocations: 12.09 kB / 388.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.008801, allocations: 0 / 388.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.008831, allocations: 7.984 kB / 388.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.008837, allocations: 7.938 kB / 388.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.008886, allocations: 87.27 kB / 388.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008886, allocations: 0 / 388.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.009147, allocations: 8 kB / 388.3 MB, free: 13.67 MB / 318.1 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 0.0001063/0.009253, allocations: 99.31 kB / 388.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.009564, allocations: 162.6 kB / 388.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009567, allocations: 0 / 388.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.009772, allocations: 146.6 kB / 388.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01001, allocations: 16.84 kB / 388.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.01033, allocations: 167.2 kB / 388.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.891e-05/0.01039, allocations: 75.52 kB / 388.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.63e-05/0.01041, allocations: 0 / 388.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.01043, allocations: 12.5 kB / 389 MB, free: 12.91 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01043, allocations: 0 / 389 MB, free: 12.91 MB / 318.1 MB Notification: Performance of Templates: time 0.003517/0.01395, allocations: 0.7481 MB / 389.7 MB, free: 12.22 MB / 318.1 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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.0733492821455] Failed to read output from testmodel.py, exit status != 0: 0.022340264171361923 0.037563866 0.032169609 Calling exit ...