Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.001586/0.001586, allocations: 111.7 kB / 18.88 MB, free: 3.023 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.001646/0.001646, allocations: 195.1 kB / 22.17 MB, free: 4.66 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.406/1.406, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.00298/0.00298, allocations: 0.5699 MB / 306.7 MB, free: 8.168 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.88 kB / 426.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.09031, allocations: 52.3 MB / 479.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002817/0.09313, allocations: 1.661 MB / 480.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002761/0.0934, allocations: 95.67 kB / 481 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.09346, allocations: 8 kB / 481 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.09351, allocations: 11.86 kB / 481 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.09361, allocations: 27.72 kB / 481 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.09373, allocations: 23.97 kB / 481 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.09388, allocations: 111.4 kB / 481.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.09402, allocations: 27.98 kB / 481.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.0941, allocations: 39.91 kB / 481.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.0942, allocations: 47.77 kB / 481.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.09422, allocations: 8 kB / 481.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.09424, allocations: 12 kB / 481.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.09426, allocations: 15.94 kB / 481.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.09433, allocations: 51.73 kB / 481.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.09449, allocations: 103.6 kB / 481.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.09449, allocations: 0 / 481.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09449, allocations: 4 kB / 481.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.0945, allocations: 0 / 481.4 MB, free: 1.016 MB / 334.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.0005548/0.09505, allocations: 407.2 kB / 481.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.09509, allocations: 15.89 kB / 481.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.09513, allocations: 12.88 kB / 481.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.09533, allocations: 188.3 kB / 482 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.09534, allocations: 4.562 kB / 482.1 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.09538, allocations: 20.3 kB / 482.1 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.09556, allocations: 89.97 kB / 482.2 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.09558, allocations: 4 kB / 482.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.09559, allocations: 0 / 482.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.0956, allocations: 4 kB / 482.2 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.09571, allocations: 63.91 kB / 482.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.0963, allocations: 392.6 kB / 482.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.09648, allocations: 94.55 kB / 482.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.09654, allocations: 32.84 kB / 482.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.09655, allocations: 3.938 kB / 482.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.09659, allocations: 46.5 kB / 482.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.09659, allocations: 0 / 482.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00115/0.09774, allocations: 0.6891 MB / 483.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.09778, allocations: 51.41 kB / 483.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.0979, allocations: 129.8 kB / 483.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.09792, allocations: 25.7 kB / 483.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.09798, allocations: 100.4 kB / 483.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.09804, allocations: 63.47 kB / 483.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.09809, allocations: 25.72 kB / 483.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.09823, allocations: 322.8 kB / 484.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.09829, allocations: 31.98 kB / 484.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.09838, allocations: 66.52 kB / 484.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.09852, allocations: 102.5 kB / 484.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.09852, allocations: 0 / 484.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002695/0.09879, allocations: 162.3 kB / 484.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.09881, allocations: 8 kB / 484.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.09881, allocations: 0 / 484.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.09894, allocations: 32.81 kB / 484.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.09906, allocations: 27.98 kB / 484.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.1005, allocations: 1.611 MB / 486.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1005, allocations: 4 kB / 486.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1005, allocations: 7.969 kB / 486.2 MB, free: 11.75 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1007, allocations: 134.5 kB / 486.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1007, allocations: 7.953 kB / 486.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.1007, allocations: 12.97 kB / 486.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1007, allocations: 15.98 kB / 486.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1007, allocations: 0 / 486.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1007, allocations: 0 / 486.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.1014, allocations: 0.5423 MB / 486.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1014, allocations: 0 / 486.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1016, allocations: 40.02 kB / 487 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.1016, allocations: 12.86 kB / 487 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1016, allocations: 7.938 kB / 487 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1027, allocations: 1.375 MB / 488.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1027, allocations: 0 / 488.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1031, allocations: 306.9 kB / 488.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1031, allocations: 85.06 kB / 488.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1031, allocations: 3.984 kB / 488.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1032, allocations: 4 kB / 488.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.1032, allocations: 15.92 kB / 488.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1032, allocations: 8 kB / 488.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.1033, allocations: 99.27 kB / 488.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1033, allocations: 4 kB / 488.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1038, allocations: 28 kB / 488.9 MB, free: 8.785 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 0.0001081/0.1039, allocations: 95.25 kB / 489 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.1043, allocations: 218.5 kB / 489.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1043, allocations: 0 / 489.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1045, allocations: 170.7 kB / 489.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1049, allocations: 20.84 kB / 489.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.1056, allocations: 400.6 kB / 489.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.106, allocations: 0.7084 MB / 490.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.106, allocations: 13.08 kB / 490.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1061, allocations: 15.44 kB / 490.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1061, allocations: 3.938 kB / 490.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of Templates: time 0.004385/0.1104, allocations: 1.444 MB / 492 MB, free: 5.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.23924246430397] Failed to read output from testmodel.py, exit status != 0: 0.11782789276912808 0.13279495500000002 0.035410697000000005 Calling exit ...