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.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.001365/0.001365, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.001386/0.001386, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.563/1.563, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.1188/0.1188, allocations: 0.5579 MB / 298.5 MB, free: 4.605 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.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 0.001952/0.001952, allocations: 59.89 kB / 411.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2569, allocations: 49.59 MB / 461.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002349/0.2593, allocations: 1.655 MB / 463 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00024/0.2596, allocations: 93.14 kB / 463.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.2597, allocations: 0 / 463.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-05/0.2598, allocations: 21.59 kB / 463.2 MB, free: 22.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.2599, allocations: 30.64 kB / 463.2 MB, free: 22.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.26, allocations: 26 kB / 463.2 MB, free: 22.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2601, allocations: 107.8 kB / 463.3 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2603, allocations: 40.94 kB / 463.4 MB, free: 22.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.2603, allocations: 30.27 kB / 463.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.2604, allocations: 45.89 kB / 463.4 MB, free: 22.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2604, allocations: 12.72 kB / 463.4 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.2605, allocations: 9.062 kB / 463.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.2605, allocations: 22.77 kB / 463.5 MB, free: 22.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.2606, allocations: 46.12 kB / 463.5 MB, free: 22.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2607, allocations: 115.3 kB / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2607, allocations: 0 / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2607, allocations: 0 / 463.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2607, allocations: 0 / 463.6 MB, free: 22.37 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004498/0.2612, allocations: 412.6 kB / 464 MB, free: 21.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2612, allocations: 12.36 kB / 464 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2613, allocations: 10.98 kB / 464.1 MB, free: 21.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2614, allocations: 187.5 kB / 464.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2615, allocations: 11.53 kB / 464.3 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2615, allocations: 10.38 kB / 464.3 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2617, allocations: 93.81 kB / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2617, allocations: 0 / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2617, allocations: 4 kB / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2617, allocations: 2.875 kB / 464.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.2618, allocations: 56.72 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.2622, allocations: 388.2 kB / 464.8 MB, free: 21.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.2624, allocations: 104.7 kB / 464.9 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.2625, allocations: 38.05 kB / 464.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2625, allocations: 6.969 kB / 464.9 MB, free: 21.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2625, allocations: 34.5 kB / 465 MB, free: 21.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.2625, allocations: 0 / 465 MB, free: 21.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009331/0.2634, allocations: 0.6881 MB / 465.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.2635, allocations: 55.34 kB / 465.7 MB, free: 20.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.2636, allocations: 125.1 kB / 465.8 MB, free: 20.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2636, allocations: 32.77 kB / 465.9 MB, free: 20.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.2636, allocations: 94.42 kB / 466 MB, free: 20.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2637, allocations: 59.73 kB / 466 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.2637, allocations: 36.94 kB / 466.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.2638, allocations: 321.5 kB / 466.4 MB, free: 19.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.2638, allocations: 30.5 kB / 466.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.2639, allocations: 64.08 kB / 466.5 MB, free: 19.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.264, allocations: 99.5 kB / 466.6 MB, free: 19.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.264, allocations: 0 / 466.6 MB, free: 19.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001628/0.2642, allocations: 146.4 kB / 466.7 MB, free: 19.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2642, allocations: 10.03 kB / 466.7 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2642, allocations: 0 / 466.7 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2642, allocations: 3 kB / 466.7 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2644, allocations: 40.98 kB / 466.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2644, allocations: 2.938 kB / 466.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.2645, allocations: 4.062 kB / 466.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2645, allocations: 13.22 kB / 466.8 MB, free: 19.71 MB / 350.1 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 6.025e-05/0.2646, allocations: 116.8 kB / 466.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.2646, allocations: 14.02 kB / 466.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.2646, allocations: 15.84 kB / 466.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2646, allocations: 0 / 466.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2647, allocations: 2.969 kB / 466.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2647, allocations: 7.094 kB / 466.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.2651, allocations: 0.4955 MB / 467.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2652, allocations: 3.938 kB / 467.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2653, allocations: 24.11 kB / 467.5 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.2654, allocations: 25.22 kB / 467.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2654, allocations: 3 kB / 467.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006616/0.2661, allocations: 1.366 MB / 468.8 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2661, allocations: 3.984 kB / 468.9 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.2664, allocations: 308.8 kB / 469.2 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.2664, allocations: 84.06 kB / 469.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2664, allocations: 10.47 kB / 469.2 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2665, allocations: 0 / 469.2 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2666, allocations: 17.45 kB / 469.3 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.2666, allocations: 9.938 kB / 469.3 MB, free: 17.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.2666, allocations: 92.19 kB / 469.4 MB, free: 17.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2666, allocations: 0 / 469.4 MB, free: 17.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.2669, allocations: 32.28 kB / 469.4 MB, free: 17.27 MB / 350.1 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.791e-05/0.267, allocations: 101.1 kB / 469.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2672, allocations: 99.7 kB / 469.6 MB, free: 17.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2672, allocations: 0 / 469.6 MB, free: 17.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.2674, allocations: 168.9 kB / 469.8 MB, free: 17.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2678, allocations: 25.02 kB / 469.8 MB, free: 17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.2684, allocations: 418.1 kB / 470.2 MB, free: 16.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2685, allocations: 0.7079 MB / 470.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.2685, allocations: 13.94 kB / 470.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2685, allocations: 0 / 470.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003375/0.2719, allocations: 1.713 MB / 472.6 MB, free: 15.82 MB / 350.1 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: 7.395634443033487] Failed to read output from testmodel.py, exit status != 0: 0.27855040691792965 0.289881188 0.026677651 Calling exit ...