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.00188/0.00188, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.002326/0.002326, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.003076/0.003076, allocations: 0.5919 MB / 313.8 MB, free: 2.332 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.002031/0.002031, allocations: 63.91 kB / 436.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 53.52 MB / 489.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.00178/0.108, allocations: 0.5156 MB / 490.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.1082, allocations: 31.89 kB / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1082, allocations: 0 / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1083, allocations: 0 / 490.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.1083, allocations: 3.938 kB / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.1084, allocations: 8 kB / 490.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.1085, allocations: 11.98 kB / 490.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1085, allocations: 416 / 490.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1085, allocations: 19.92 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1086, allocations: 15.91 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1086, allocations: 0 / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.1086, allocations: 0 / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.1086, allocations: 8 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1087, allocations: 3.938 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.825e-05/0.1087, allocations: 11.92 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1087, allocations: 3.938 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1087, allocations: 3.938 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1087, allocations: 0 / 490.5 MB, free: 10.16 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.0004037/0.1091, allocations: 254.4 kB / 490.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1092, allocations: 16.03 kB / 490.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.1092, allocations: 4.938 kB / 490.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1093, allocations: 114.5 kB / 490.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1094, allocations: 384 / 490.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1094, allocations: 4.375 kB / 490.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1095, allocations: 50.25 kB / 490.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1095, allocations: 192 / 490.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1095, allocations: 3.938 kB / 490.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1095, allocations: 0 / 490.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.1096, allocations: 19.92 kB / 491 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.1099, allocations: 216.5 kB / 491.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.11, allocations: 42.62 kB / 491.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.1101, allocations: 12.8 kB / 491.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.1101, allocations: 3.984 kB / 491.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.1101, allocations: 38.5 kB / 491.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1101, allocations: 0 / 491.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003715/0.1105, allocations: 78.61 kB / 491.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.1105, allocations: 55.41 kB / 491.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1106, allocations: 93.86 kB / 491.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1107, allocations: 33.7 kB / 491.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1107, allocations: 88.08 kB / 491.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1107, allocations: 15.91 kB / 491.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1108, allocations: 17.66 kB / 491.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1109, allocations: 322.8 kB / 492 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.111, allocations: 7.938 kB / 492 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.111, allocations: 21.72 kB / 492 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.111, allocations: 33.7 kB / 492 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.111, allocations: 4 kB / 492 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001475/0.1112, allocations: 74.48 kB / 492.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1112, allocations: 8 kB / 492.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1112, allocations: 0 / 492.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.1114, allocations: 16.84 kB / 492.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.1114, allocations: 8.062 kB / 492.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.1125, allocations: 1.229 MB / 493.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.1126, allocations: 8.219 kB / 493.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.1126, allocations: 4 kB / 493.4 MB, free: 6.992 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 0.0001086/0.1127, allocations: 117.7 kB / 493.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1127, allocations: 4.359 kB / 493.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.1127, allocations: 7.688 kB / 493.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1127, allocations: 0 / 493.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1127, allocations: 4 kB / 493.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1127, allocations: 3.984 kB / 493.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1129, allocations: 109.3 kB / 493.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1129, allocations: 0 / 493.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1129, allocations: 8 kB / 493.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-05/0.113, allocations: 16.84 kB / 493.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.113, allocations: 3.938 kB / 493.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009912/0.114, allocations: 1.221 MB / 494.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.114, allocations: 0 / 494.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1142, allocations: 180.4 kB / 495 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.1142, allocations: 8.062 kB / 495.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-06/0.1142, allocations: 0 / 495.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.1143, allocations: 0 / 495.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.1143, allocations: 7.984 kB / 495.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1143, allocations: 0 / 495.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.81e-05/0.1143, allocations: 83.28 kB / 495.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1143, allocations: 0 / 495.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1146, allocations: 7.938 kB / 495.1 MB, free: 5.055 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.0001141/0.1147, allocations: 93 kB / 495.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.115, allocations: 142.7 kB / 495.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.115, allocations: 0 / 495.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1151, allocations: 134.6 kB / 495.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1153, allocations: 4 kB / 495.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.1156, allocations: 176 kB / 495.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.413e-05/0.1157, allocations: 63.34 kB / 495.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.1157, allocations: 11.44 kB / 495.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1157, allocations: 4.062 kB / 495.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Templates: time 0.002809/0.1185, allocations: 0.841 MB / 496.6 MB, free: 3.512 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: 7.5044746841304] Failed to read output from testmodel.py, exit status != 0: 0.12635424686595798 0.143941054 0.031832043000000004 Calling exit ...