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.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.0013/0.0013, allocations: 110.2 kB / 19.69 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.001406/0.001406, allocations: 209.5 kB / 23 MB, free: 4.57 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002723/0.002723, allocations: 0.5739 MB / 313.8 MB, free: 2.52 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.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.001869/0.001869, allocations: 63.91 kB / 436.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.0922, allocations: 53.52 MB / 489.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002814/0.09501, allocations: 1.678 MB / 491.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.09527, allocations: 95.67 kB / 491.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.09533, allocations: 7.938 kB / 491.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.09538, allocations: 11.86 kB / 491.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.09547, allocations: 27.72 kB / 491.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.0956, allocations: 31.95 kB / 491.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.09575, allocations: 103.5 kB / 491.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.09587, allocations: 23.98 kB / 491.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.09595, allocations: 43.86 kB / 492 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.09604, allocations: 43.77 kB / 492 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.09607, allocations: 12 kB / 492 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.09609, allocations: 8 kB / 492 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.09611, allocations: 19.92 kB / 492 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.09619, allocations: 51.8 kB / 492.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.09635, allocations: 107.5 kB / 492.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09636, allocations: 4 kB / 492.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.09636, allocations: 0 / 492.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09636, allocations: 0 / 492.2 MB, free: 8.832 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.0005211/0.09689, allocations: 322.2 kB / 492.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.09692, allocations: 8.031 kB / 492.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.09696, allocations: 16.84 kB / 492.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.09713, allocations: 130.4 kB / 492.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.09714, allocations: 8.562 kB / 492.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.09718, allocations: 16.33 kB / 492.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.09736, allocations: 91.67 kB / 492.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.09738, allocations: 3.984 kB / 492.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.09739, allocations: 4 kB / 492.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.0974, allocations: 4 kB / 492.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.09752, allocations: 55.91 kB / 492.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.09805, allocations: 359.7 kB / 493.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.09822, allocations: 102.4 kB / 493.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.09829, allocations: 36.84 kB / 493.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.0983, allocations: 4 kB / 493.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.09833, allocations: 30.56 kB / 493.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.09833, allocations: 0 / 493.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001013/0.09934, allocations: 0.5349 MB / 493.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.09938, allocations: 55.41 kB / 494 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.09949, allocations: 125.8 kB / 494.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.09951, allocations: 29.64 kB / 494.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.09958, allocations: 104.3 kB / 494.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.09963, allocations: 63.45 kB / 494.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.09968, allocations: 33.72 kB / 494.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.09983, allocations: 322.8 kB / 494.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.09989, allocations: 35.92 kB / 494.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.09996, allocations: 58.56 kB / 494.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1001, allocations: 94.56 kB / 494.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1001, allocations: 4 kB / 494.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002073/0.1003, allocations: 142.4 kB / 495 MB, free: 5.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1003, allocations: 7.938 kB / 495 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1003, allocations: 4 kB / 495 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1004, allocations: 3.938 kB / 495 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1005, allocations: 31.98 kB / 495 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1005, allocations: 4 kB / 495 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1006, allocations: 4 kB / 495 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1006, allocations: 4 kB / 495 MB, free: 5.766 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 0.0001021/0.1007, allocations: 129.8 kB / 495.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1007, allocations: 19.89 kB / 495.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1008, allocations: 16.78 kB / 495.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1008, allocations: 0 / 495.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1008, allocations: 4 kB / 495.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1008, allocations: 0 / 495.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.1014, allocations: 476.7 kB / 495.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1014, allocations: 4 kB / 495.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1015, allocations: 27.92 kB / 495.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.1016, allocations: 16.86 kB / 495.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1016, allocations: 8 kB / 495.7 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1027, allocations: 1.275 MB / 497 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.1027, allocations: 8.016 kB / 497 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.103, allocations: 301.2 kB / 497.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.1031, allocations: 11.98 kB / 497.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1031, allocations: 4 kB / 497.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1031, allocations: 4 kB / 497.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1032, allocations: 16.03 kB / 497.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1032, allocations: 7.938 kB / 497.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.1032, allocations: 100.8 kB / 497.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1032, allocations: 0 / 497.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1035, allocations: 28 kB / 497.4 MB, free: 3.117 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.92e-05/0.1036, allocations: 103.1 kB / 497.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1038, allocations: 91.91 kB / 497.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1038, allocations: 0 / 497.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.104, allocations: 166.5 kB / 497.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1044, allocations: 15.98 kB / 497.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.105, allocations: 417.1 kB / 498.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1053, allocations: 0.7045 MB / 498.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1054, allocations: 11.44 kB / 498.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1054, allocations: 4 kB / 498.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003357/0.1087, allocations: 1.73 MB / 0.4889 GB, free: 15.81 MB / 366.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: 6.524986802833155] Failed to read output from testmodel.py, exit status != 0: 0.11556360591202974 0.13009400000000002 0.030904596000000003 Calling exit ...