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.0008934/0.0008934, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.001069/0.001069, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8927/0.8927, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.002763/0.002763, allocations: 415.2 kB / 260.4 MB, free: 12.82 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 4.648e-06/4.648e-06, allocations: 4 kB / 383 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/3.177e-05, allocations: 2.281 kB / 383 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001029/0.001061, allocations: 0.5034 MB / 383.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.001224, allocations: 19.91 kB / 383.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.00125, allocations: 7.938 kB / 383.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.001269, allocations: 3.938 kB / 383.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.0013, allocations: 0 / 383.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.001439, allocations: 11.97 kB / 383.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.001502, allocations: 12 kB / 383.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.001554, allocations: 3.984 kB / 383.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.001601, allocations: 11.94 kB / 383.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.001671, allocations: 11.97 kB / 383.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.001696, allocations: 0 / 383.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.001707, allocations: 7.938 kB / 383.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.001723, allocations: 4 kB / 383.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.001744, allocations: 11.92 kB / 383.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.988e-05/0.001814, allocations: 19.91 kB / 383.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.001817, allocations: 0 / 383.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.001818, allocations: 0 / 383.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.001823, allocations: 0 / 383.7 MB, free: 14.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003491/0.002172, allocations: 258.3 kB / 383.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.002214, allocations: 8.031 kB / 383.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.002246, allocations: 4.938 kB / 383.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.002333, allocations: 105.7 kB / 384 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.002346, allocations: 12.38 kB / 384.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.002367, allocations: 384 / 384.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.002466, allocations: 46.23 kB / 384.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.002481, allocations: 12.12 kB / 384.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.002491, allocations: 384 / 384.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002496, allocations: 384 / 384.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.002535, allocations: 15.94 kB / 384.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.002857, allocations: 208.6 kB / 384.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.003132, allocations: 38.56 kB / 384.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.003155, allocations: 16.94 kB / 384.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.003165, allocations: 0 / 384.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.003186, allocations: 38.56 kB / 384.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.003187, allocations: 0 / 384.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003107/0.003498, allocations: 82.41 kB / 384.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.00353, allocations: 55.39 kB / 384.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.003583, allocations: 97.86 kB / 384.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.003595, allocations: 25.7 kB / 384.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.003633, allocations: 92.03 kB / 384.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.003653, allocations: 15.89 kB / 384.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.003678, allocations: 17.72 kB / 384.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.003758, allocations: 318.8 kB / 385.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.003777, allocations: 11.98 kB / 385.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.003804, allocations: 25.66 kB / 385.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.003845, allocations: 29.84 kB / 385.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.003848, allocations: 4 kB / 385.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001005/0.003948, allocations: 78.41 kB / 385.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.003961, allocations: 4 kB / 385.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.003966, allocations: 0 / 385.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.004091, allocations: 20.84 kB / 385.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.004137, allocations: 12.03 kB / 385.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/0.004805, allocations: 1.221 MB / 386.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.004817, allocations: 11.88 kB / 386.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.004822, allocations: 4.031 kB / 386.5 MB, free: 11.81 MB / 362.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 6.37e-05/0.004886, allocations: 109.8 kB / 386.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.004897, allocations: 4.156 kB / 386.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.004909, allocations: 11.69 kB / 386.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.004911, allocations: 3.938 kB / 386.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.004915, allocations: 3.938 kB / 386.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.004917, allocations: 0 / 386.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.27e-05/0.005, allocations: 117.2 kB / 386.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005001, allocations: 0 / 386.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.005027, allocations: 0 / 386.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-05/0.005084, allocations: 16.84 kB / 386.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.005094, allocations: 8 kB / 386.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005171/0.005611, allocations: 1.217 MB / 388 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005612, allocations: 0 / 388 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.005723, allocations: 180.3 kB / 388.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-06/0.005725, allocations: 0 / 388.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-06/0.00573, allocations: 4.031 kB / 388.2 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/0.005757, allocations: 4 kB / 388.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.005773, allocations: 8.188 kB / 388.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.005777, allocations: 11.98 kB / 388.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.005809, allocations: 79.22 kB / 388.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005809, allocations: 0 / 388.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.005957, allocations: 12 kB / 388.3 MB, free: 9.863 MB / 362.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.843e-05/0.006035, allocations: 91.25 kB / 388.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.006235, allocations: 138.7 kB / 388.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006237, allocations: 0 / 388.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.006304, allocations: 138.6 kB / 388.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.006457, allocations: 8.594 kB / 388.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.006699, allocations: 158.4 kB / 388.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.006749, allocations: 71.27 kB / 388.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.006772, allocations: 12.5 kB / 388.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.006773, allocations: 0 / 388.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of Templates: time 0.001867/0.00864, allocations: 0.8492 MB / 389.8 MB, free: 8.324 MB / 362.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.411266073584557] Failed to read output from testmodel.py, exit status != 0: 0.013426195830106735 0.021255259000000002 0.017898208000000002 Calling exit ...