Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 111.9 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 191.7 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.1373/0.1373, allocations: 0.5562 MB / 298.5 MB, free: 4.77 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 411.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2575, allocations: 49.6 MB / 461.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001398/0.2589, allocations: 0.5246 MB / 461.9 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.2591, allocations: 24.55 kB / 461.9 MB, free: 23.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.2591, allocations: 0 / 461.9 MB, free: 23.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.2591, allocations: 0 / 461.9 MB, free: 23.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.2592, allocations: 3.938 kB / 461.9 MB, free: 23.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.2593, allocations: 13.67 kB / 462 MB, free: 23.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.2594, allocations: 15.09 kB / 462 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.2594, allocations: 2.719 kB / 462 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.2594, allocations: 13.55 kB / 462 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.2595, allocations: 13.67 kB / 462 MB, free: 23.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2595, allocations: 6.406 kB / 462 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.2596, allocations: 4 kB / 462 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2596, allocations: 6.312 kB / 462 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2596, allocations: 10.44 kB / 462 MB, free: 23.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.53e-05/0.2597, allocations: 13.95 kB / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2597, allocations: 0 / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2597, allocations: 2.969 kB / 462 MB, free: 23.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2597, allocations: 0 / 462 MB, free: 23.5 MB / 350.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.0003066/0.26, allocations: 330.7 kB / 462.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.26, allocations: 13.05 kB / 462.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.2601, allocations: 11.98 kB / 462.4 MB, free: 23.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.2601, allocations: 174.5 kB / 462.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2602, allocations: 384 / 462.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2602, allocations: 7.5 kB / 462.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.2603, allocations: 42.67 kB / 462.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2603, allocations: 192 / 462.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2603, allocations: 7.125 kB / 462.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2603, allocations: 0 / 462.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.2604, allocations: 20.17 kB / 462.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.2607, allocations: 289.8 kB / 462.9 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.2608, allocations: 44.78 kB / 463 MB, free: 22.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.2608, allocations: 14.02 kB / 463 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2608, allocations: 3.938 kB / 463 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2609, allocations: 30.56 kB / 463 MB, free: 22.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2609, allocations: 0 / 463 MB, free: 22.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.2612, allocations: 167.1 kB / 463.2 MB, free: 22.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.2612, allocations: 51.41 kB / 463.2 MB, free: 22.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.2613, allocations: 92.86 kB / 463.3 MB, free: 22.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2613, allocations: 33.64 kB / 463.4 MB, free: 22.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.2614, allocations: 86.08 kB / 463.4 MB, free: 22.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.2614, allocations: 11.86 kB / 463.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2614, allocations: 22.97 kB / 463.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.2615, allocations: 322.8 kB / 463.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.2615, allocations: 5.969 kB / 463.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.2615, allocations: 23.45 kB / 463.8 MB, free: 21.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.2616, allocations: 30.03 kB / 463.8 MB, free: 21.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2616, allocations: 0 / 463.8 MB, free: 21.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.164e-05/0.2616, allocations: 66.11 kB / 463.9 MB, free: 21.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2617, allocations: 10.23 kB / 463.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2617, allocations: 3.062 kB / 463.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2617, allocations: 432 / 463.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.2618, allocations: 15.91 kB / 463.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2618, allocations: 0 / 463.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.2618, allocations: 7.938 kB / 463.9 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2618, allocations: 6.562 kB / 464 MB, free: 21.59 MB / 350.1 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 (6): * Single equations (assignments): 6 * 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.426e-05/0.2619, allocations: 113.7 kB / 464.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.2619, allocations: 3.281 kB / 464.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.2619, allocations: 15.48 kB / 464.1 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2619, allocations: 0 / 464.1 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.262, allocations: 7.188 kB / 464.1 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.262, allocations: 0 / 464.1 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2621, allocations: 170.1 kB / 464.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2621, allocations: 0 / 464.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.2621, allocations: 3.031 kB / 464.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.2623, allocations: 14.36 kB / 464.3 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2623, allocations: 6.938 kB / 464.3 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006161/0.2629, allocations: 1.341 MB / 465.6 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2629, allocations: 0 / 465.6 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2631, allocations: 180.7 kB / 465.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.2631, allocations: 77.11 kB / 465.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.2631, allocations: 3.641 kB / 465.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.2632, allocations: 0.7031 kB / 465.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.2632, allocations: 5.688 kB / 465.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2632, allocations: 7.094 kB / 465.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.982e-05/0.2632, allocations: 79.84 kB / 466 MB, free: 19.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2632, allocations: 0 / 466 MB, free: 19.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.2634, allocations: 3 kB / 466 MB, free: 19.5 MB / 350.1 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 8.247e-05/0.2635, allocations: 102.9 kB / 466.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.2636, allocations: 26.17 kB / 466.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2636, allocations: 0 / 466.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.2638, allocations: 135.8 kB / 466.2 MB, free: 19.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.264, allocations: 8.016 kB / 466.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.2642, allocations: 171.8 kB / 466.4 MB, free: 19.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2644, allocations: 0.6856 MB / 467.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2644, allocations: 7.438 kB / 467.1 MB, free: 18.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2644, allocations: 0 / 467.1 MB, free: 18.39 MB / 350.1 MB Notification: Performance of Templates: time 0.00224/0.2666, allocations: 0.6997 MB / 467.8 MB, free: 18.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.340051708975807] Failed to read output from testmodel.py, exit status != 0: 0.2733816310064867 0.283906115 0.021834631 Calling exit ...