Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.00143/0.00143, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001751/0.001751, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.809 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.003215/0.003215, allocations: 0.5809 MB / 313 MB, free: 2.309 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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 435.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1114, allocations: 53.53 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001786/0.1132, allocations: 0.504 MB / 489.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.1133, allocations: 31.89 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1134, allocations: 0 / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1134, allocations: 0 / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.53e-05/0.1134, allocations: 7.938 kB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.1135, allocations: 0 / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.1136, allocations: 23.92 kB / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1136, allocations: 416 / 489.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1137, allocations: 11.98 kB / 489.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.1137, allocations: 15.91 kB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1137, allocations: 0 / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.1138, allocations: 4 kB / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1138, allocations: 0 / 489.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.1138, allocations: 15.88 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.1139, allocations: 15.86 kB / 489.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1139, allocations: 4 kB / 489.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1139, allocations: 0 / 489.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1139, allocations: 3.938 kB / 489.8 MB, free: 10.13 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.0003797/0.1143, allocations: 254.4 kB / 490 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1143, allocations: 8.031 kB / 490 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1143, allocations: 8.922 kB / 490 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1145, allocations: 110.5 kB / 490.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1145, allocations: 384 / 490.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1145, allocations: 8.359 kB / 490.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1146, allocations: 50.25 kB / 490.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1146, allocations: 4.188 kB / 490.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1146, allocations: 3.938 kB / 490.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1146, allocations: 0 / 490.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.1147, allocations: 19.92 kB / 490.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.115, allocations: 204.5 kB / 490.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1151, allocations: 50.56 kB / 490.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.1151, allocations: 16.98 kB / 490.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1151, allocations: 0 / 490.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1152, allocations: 46.42 kB / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.1152, allocations: 0 / 490.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006752/0.1158, allocations: 352 kB / 490.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1159, allocations: 55.41 kB / 490.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.1159, allocations: 97.86 kB / 491 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.116, allocations: 25.7 kB / 491 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.116, allocations: 80.14 kB / 491.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.1161, allocations: 39.66 kB / 491.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1161, allocations: 25.72 kB / 491.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1162, allocations: 322.8 kB / 491.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1163, allocations: 16 kB / 491.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.1163, allocations: 33.7 kB / 491.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1166, allocations: 89.62 kB / 491.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1166, allocations: 0 / 491.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1167, allocations: 94.47 kB / 491.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1167, allocations: 4 kB / 491.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1167, allocations: 0.875 kB / 491.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.1169, allocations: 24.84 kB / 491.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.117, allocations: 8 kB / 491.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.1183, allocations: 1.272 MB / 493 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.1183, allocations: 8.031 kB / 493.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1183, allocations: 96 / 493.1 MB, free: 6.492 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.1185, allocations: 117.8 kB / 493.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1185, allocations: 11.89 kB / 493.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1185, allocations: 8.062 kB / 493.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1185, allocations: 0 / 493.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1185, allocations: 4.062 kB / 493.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1185, allocations: 0 / 493.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.119, allocations: 313.4 kB / 493.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.119, allocations: 0 / 493.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.119, allocations: 11.98 kB / 493.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.1191, allocations: 24.84 kB / 493.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1191, allocations: 0 / 493.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.1202, allocations: 1.268 MB / 494.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1202, allocations: 32 / 494.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1205, allocations: 234.8 kB / 495 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.1205, allocations: 4.094 kB / 495 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1205, allocations: 4 kB / 495 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1206, allocations: 4 kB / 495 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1206, allocations: 11.92 kB / 495.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1207, allocations: 7.938 kB / 495.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.1207, allocations: 83.27 kB / 495.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1207, allocations: 0 / 495.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.1211, allocations: 16.12 kB / 495.2 MB, free: 4.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,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.1212, allocations: 99.19 kB / 495.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.1216, allocations: 163 kB / 495.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1216, allocations: 0 / 495.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1217, allocations: 142.7 kB / 495.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.122, allocations: 0 / 495.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.1223, allocations: 184.7 kB / 495.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.1224, allocations: 71.33 kB / 495.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1224, allocations: 4 kB / 495.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1225, allocations: 11.44 kB / 495.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1225, allocations: 0 / 495.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of Templates: time 0.003588/0.126, allocations: 0.7431 MB / 496.6 MB, free: 2.754 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.745279066264629] Failed to read output from testmodel.py, exit status != 0: 0.133855402469635 0.14964507100000002 0.032542108 Calling exit ...