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.0009959/0.0009959, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008318/0.0008318, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8849/0.8849, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.002037/0.002037, allocations: 408.3 kB / 260.4 MB, free: 12.84 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.693e-06/1.693e-06, allocations: 0 / 383 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.956e-05, allocations: 2.281 kB / 383 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002191/0.00222, allocations: 1.611 MB / 384.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.002525, allocations: 99.62 kB / 384.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.002591, allocations: 4 kB / 384.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.002647, allocations: 11.86 kB / 384.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.002755, allocations: 39.64 kB / 384.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.002906, allocations: 19.97 kB / 384.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003036, allocations: 111.5 kB / 384.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.003192, allocations: 23.92 kB / 384.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.003299, allocations: 71.86 kB / 385 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.003393, allocations: 35.89 kB / 385.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.003426, allocations: 8 kB / 385.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.003443, allocations: 8 kB / 385.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.003469, allocations: 19.88 kB / 385.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.003511, allocations: 35.91 kB / 385.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.003676, allocations: 115.6 kB / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003678, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00368, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.003685, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.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.0004754/0.00416, allocations: 322.2 kB / 385.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.004209, allocations: 8.031 kB / 385.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.004253, allocations: 16.84 kB / 385.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.004421, allocations: 125.6 kB / 385.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.004434, allocations: 8.562 kB / 385.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.004467, allocations: 12.38 kB / 385.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004635, allocations: 93.72 kB / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.004651, allocations: 4 kB / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.004666, allocations: 4 kB / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.004673, allocations: 4 kB / 385.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.004769, allocations: 63.94 kB / 385.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.005575, allocations: 300.2 kB / 386.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.005728, allocations: 98.67 kB / 386.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.00578, allocations: 44.72 kB / 386.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.005792, allocations: 0 / 386.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.005818, allocations: 34.56 kB / 386.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.81e-07/0.005819, allocations: 0 / 386.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009083/0.006727, allocations: 0.5363 MB / 386.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.006765, allocations: 55.34 kB / 386.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.006856, allocations: 121.8 kB / 387.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.00687, allocations: 29.7 kB / 387.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.006929, allocations: 99.98 kB / 387.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.006967, allocations: 55.86 kB / 387.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.007008, allocations: 33.7 kB / 387.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.007102, allocations: 322.8 kB / 387.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.007145, allocations: 31.98 kB / 387.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.007206, allocations: 68.73 kB / 387.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007317, allocations: 103.8 kB / 387.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007318, allocations: 0 / 387.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001522/0.00747, allocations: 137.2 kB / 387.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.007485, allocations: 8 kB / 387.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.007491, allocations: 0 / 387.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.007508, allocations: 3.984 kB / 387.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.007638, allocations: 43.92 kB / 388 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.007645, allocations: 4 kB / 388 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.007669, allocations: 8.031 kB / 388 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.007679, allocations: 4 kB / 388 MB, free: 10.43 MB / 362.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 7.414e-05/0.007753, allocations: 121.8 kB / 388.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.007769, allocations: 7.953 kB / 388.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.007805, allocations: 20.77 kB / 388.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007807, allocations: 4 kB / 388.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.007814, allocations: 7.875 kB / 388.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007818, allocations: 0 / 388.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.008248, allocations: 429.3 kB / 388.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.008251, allocations: 3.984 kB / 388.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.008328, allocations: 24 kB / 388.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.008436, allocations: 20.84 kB / 388.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008446, allocations: 11.88 kB / 388.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007212/0.009168, allocations: 1.248 MB / 389.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.009171, allocations: 7.969 kB / 389.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.0094, allocations: 286.9 kB / 390.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.00941, allocations: 11.98 kB / 390.2 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.00942, allocations: 7.922 kB / 390.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.009461, allocations: 8 kB / 390.2 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.009485, allocations: 11.92 kB / 390.2 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.009492, allocations: 4 kB / 390.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.00953, allocations: 91.27 kB / 390.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00953, allocations: 0 / 390.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.009699, allocations: 32.12 kB / 390.3 MB, free: 7.898 MB / 362.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 9.89e-05/0.009798, allocations: 107.4 kB / 390.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.009952, allocations: 95.84 kB / 390.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.009955, allocations: 0 / 390.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.01015, allocations: 162.5 kB / 390.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01042, allocations: 28.95 kB / 390.7 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.01089, allocations: 357.9 kB / 391.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.01096, allocations: 92.67 kB / 391.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.011, allocations: 16.5 kB / 391.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.011, allocations: 0 / 391.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of Templates: time 0.00274/0.01374, allocations: 1.736 MB / 392.9 MB, free: 5.25 MB / 362.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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.435312711633742] Failed to read output from testmodel.py, exit status != 0: 0.01911223493516445 0.027750410000000003 0.022351971 Calling exit ...