Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.001249/0.001249, 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.001374/0.001374, allocations: 220 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 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.00275/0.00275, allocations: 0.5832 MB / 313.8 MB, free: 2.637 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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 436.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09391, allocations: 53.53 MB / 490 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001672/0.09558, allocations: 0.519 MB / 490.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001517/0.09573, allocations: 23.91 kB / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.09576, allocations: 0 / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.09578, allocations: 3.938 kB / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.147e-05/0.09581, allocations: 0 / 490.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.09592, allocations: 11.98 kB / 490.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.09598, allocations: 19.92 kB / 490.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.09603, allocations: 416 / 490.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.09606, allocations: 15.92 kB / 490.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.09613, allocations: 11.92 kB / 490.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.09614, allocations: 0 / 490.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.09615, allocations: 4 kB / 490.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.09616, allocations: 0 / 490.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.0962, allocations: 15.92 kB / 490.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.761e-05/0.09626, allocations: 15.84 kB / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09626, allocations: 4 kB / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09626, allocations: 4 kB / 490.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.09627, 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.0003838/0.09665, allocations: 258.4 kB / 490.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.09668, allocations: 8.031 kB / 490.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.09672, allocations: 4.938 kB / 490.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.09683, allocations: 102.5 kB / 491 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.09685, allocations: 384 / 491 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.09687, allocations: 4.375 kB / 491 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.09699, allocations: 62.17 kB / 491 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.09701, allocations: 192 / 491 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.09701, allocations: 3.938 kB / 491 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.09702, allocations: 7.984 kB / 491 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.09706, allocations: 12 kB / 491.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.09745, allocations: 236 kB / 491.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.09754, allocations: 46.44 kB / 491.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.09756, allocations: 16.86 kB / 491.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.09757, allocations: 0 / 491.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.09761, allocations: 38.66 kB / 491.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.09761, allocations: 0 / 491.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003517/0.09796, allocations: 82.45 kB / 491.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.098, allocations: 51.41 kB / 491.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.09808, allocations: 105.8 kB / 491.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.09809, allocations: 29.64 kB / 491.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.09814, allocations: 84.09 kB / 491.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.09816, allocations: 19.84 kB / 491.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.09819, allocations: 21.7 kB / 491.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09831, allocations: 314.8 kB / 492.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.09834, allocations: 12 kB / 492.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.09837, allocations: 21.7 kB / 492.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.09841, allocations: 33.72 kB / 492.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.09842, allocations: 0 / 492.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.684e-05/0.0985, allocations: 61.62 kB / 492.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.09852, allocations: 8 kB / 492.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.09852, allocations: 0 / 492.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.09853, allocations: 0 / 492.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.09862, allocations: 15.98 kB / 492.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.09863, allocations: 3.938 kB / 492.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.09865, allocations: 7.984 kB / 492.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.09865, allocations: 4 kB / 492.2 MB, free: 8.531 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 (6): * Single equations (assignments): 6 * 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 7.328e-05/0.09872, allocations: 113.8 kB / 492.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.09875, allocations: 4 kB / 492.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.09877, allocations: 3.688 kB / 492.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.09877, allocations: 0 / 492.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.09878, allocations: 0 / 492.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.09878, allocations: 3.984 kB / 492.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.09894, allocations: 144.6 kB / 492.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09894, allocations: 4.422 kB / 492.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.09897, allocations: 4 kB / 492.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.09909, allocations: 16.84 kB / 492.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.0991, allocations: 0 / 492.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/0.1001, allocations: 1.26 MB / 493.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1001, allocations: 0 / 493.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.1002, allocations: 180.4 kB / 494 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.1003, allocations: 3.953 kB / 494 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.1003, allocations: 0 / 494 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.1003, allocations: 0 / 494 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1003, allocations: 7.984 kB / 494 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1003, allocations: 3.938 kB / 494 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.212e-05/0.1004, allocations: 83.28 kB / 494.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1004, allocations: 0 / 494.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1006, allocations: 4 kB / 494.1 MB, free: 6.512 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 0.0001035/0.1007, allocations: 99.3 kB / 494.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.1008, allocations: 23.94 kB / 494.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1008, allocations: 0 / 494.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.101, allocations: 126.7 kB / 494.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1012, allocations: 11.88 kB / 494.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.1014, allocations: 156 kB / 494.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1017, allocations: 0.6846 MB / 495.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.1018, allocations: 11.44 kB / 495.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1018, allocations: 0 / 495.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.002332/0.1041, allocations: 0.6866 MB / 495.9 MB, free: 4.641 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.379704816965386] Failed to read output from testmodel.py, exit status != 0: 0.11144606489688158 0.126448863 0.027240253000000002 Calling exit ...