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.001234/0.001234, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001461/0.001461, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.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.00271/0.00271, allocations: 0.5717 MB / 313.8 MB, free: 2.578 MB / 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.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 0.001837/0.001837, allocations: 67.89 kB / 436.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08677, allocations: 53.51 MB / 489.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001578/0.08835, allocations: 0.519 MB / 490.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.08851, allocations: 31.89 kB / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.08854, allocations: 0 / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.08855, allocations: 0 / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.919e-05/0.08858, allocations: 3.938 kB / 490.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.08869, allocations: 4 kB / 490.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.08874, allocations: 11.98 kB / 490.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.08879, allocations: 12.41 kB / 490.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.08881, allocations: 15.91 kB / 490.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.08886, allocations: 3.938 kB / 490.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.08889, allocations: 4 kB / 490.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.08889, allocations: 0 / 490.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.08891, allocations: 7.984 kB / 490.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.08893, allocations: 7.938 kB / 490.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.021e-05/0.08899, allocations: 23.84 kB / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.089, allocations: 0 / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.089, allocations: 0 / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.089, allocations: 0 / 490.6 MB, free: 10.38 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.0003605/0.08936, allocations: 258.4 kB / 490.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.08939, allocations: 11.97 kB / 490.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.08942, allocations: 4.938 kB / 490.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.08953, allocations: 114.5 kB / 491 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.08954, allocations: 4.375 kB / 491 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.08956, allocations: 4.375 kB / 491 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.08967, allocations: 46.25 kB / 491 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.08968, allocations: 4.188 kB / 491 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.08969, allocations: 7.938 kB / 491 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.08969, allocations: 0 / 491 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.08973, allocations: 15.98 kB / 491.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.09009, allocations: 239.9 kB / 491.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.09019, allocations: 42.5 kB / 491.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.09021, allocations: 8.953 kB / 491.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.09022, allocations: 11.98 kB / 491.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.09025, allocations: 30.56 kB / 491.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.09025, allocations: 0 / 491.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003415/0.09059, allocations: 82.47 kB / 491.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.09063, allocations: 51.41 kB / 491.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.09071, allocations: 97.84 kB / 491.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.09072, allocations: 29.64 kB / 491.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.09077, allocations: 96.09 kB / 491.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.09079, allocations: 11.89 kB / 491.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.09082, allocations: 17.72 kB / 491.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.09096, allocations: 322.8 kB / 492.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.09098, allocations: 4 kB / 492.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.09101, allocations: 25.64 kB / 492.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.09106, allocations: 33.72 kB / 492.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09106, allocations: 4 kB / 492.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000133/0.09119, allocations: 70.59 kB / 492.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.0912, allocations: 8 kB / 492.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09121, allocations: 4.422 kB / 492.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.09133, allocations: 20.84 kB / 492.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.09138, allocations: 4 kB / 492.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.09238, allocations: 1.252 MB / 493.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.09241, allocations: 8.156 kB / 493.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.09241, allocations: 0 / 493.5 MB, free: 7.148 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 (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 8.145e-05/0.09249, allocations: 113.8 kB / 493.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.09251, allocations: 3.938 kB / 493.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.09253, allocations: 11.69 kB / 493.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.09253, allocations: 0 / 493.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.09254, allocations: 0 / 493.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.09254, allocations: 0 / 493.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.0927, allocations: 152.5 kB / 493.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.0927, allocations: 3.938 kB / 493.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.09274, allocations: 4 kB / 493.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.0928, allocations: 16.84 kB / 493.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.09281, allocations: 4 kB / 493.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009119/0.09372, allocations: 1.24 MB / 495 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.09372, allocations: 3.938 kB / 495.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.09391, allocations: 176.5 kB / 495.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.09392, allocations: 8.031 kB / 495.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.09393, allocations: 3.938 kB / 495.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.09397, allocations: 0 / 495.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.094, allocations: 7.922 kB / 495.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.094, allocations: 7.938 kB / 495.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.649e-05/0.09404, allocations: 75.28 kB / 495.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09404, allocations: 0 / 495.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.09426, allocations: 12 kB / 495.3 MB, free: 5.125 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 9.049e-05/0.09435, allocations: 97 kB / 495.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.0946, allocations: 138.7 kB / 495.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0946, allocations: 0 / 495.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.09474, allocations: 130.6 kB / 495.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.09493, allocations: 4 kB / 495.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.09522, allocations: 175.8 kB / 495.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.09551, allocations: 0.6807 MB / 496.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.09553, allocations: 7.438 kB / 496.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09553, allocations: 0 / 496.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of Templates: time 0.002491/0.09802, allocations: 0.8264 MB / 497.4 MB, free: 2.98 MB / 350.1 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: 6.42809322103858] Failed to read output from testmodel.py, exit status != 0: 0.10479649505577981 0.119271631 0.027466237 Calling exit ...