Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001464/0.001464, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001967/0.001967, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.734 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.003046/0.003046, allocations: 0.573 MB / 313 MB, free: 2.379 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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.89 kB / 435.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.124, allocations: 53.53 MB / 489.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.00308/0.127, allocations: 1.612 MB / 490.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.1273, allocations: 95.69 kB / 490.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1274, allocations: 0 / 490.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.112e-05/0.1275, allocations: 19.86 kB / 490.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1276, allocations: 27.72 kB / 490.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1277, allocations: 23.95 kB / 490.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1278, allocations: 115.5 kB / 491 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.128, allocations: 23.98 kB / 491 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1281, allocations: 39.92 kB / 491.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.1281, allocations: 39.77 kB / 491.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1282, allocations: 8 kB / 491.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.1282, allocations: 8 kB / 491.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.1282, allocations: 15.94 kB / 491.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1283, allocations: 43.8 kB / 491.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1285, allocations: 111.5 kB / 491.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1285, allocations: 0 / 491.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1285, allocations: 4 kB / 491.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1285, allocations: 0 / 491.3 MB, free: 8.562 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.0005403/0.129, allocations: 322.2 kB / 491.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.129, allocations: 8.031 kB / 491.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1291, allocations: 20.83 kB / 491.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1293, allocations: 122.5 kB / 491.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1293, allocations: 8.562 kB / 491.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1293, allocations: 16.27 kB / 491.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1295, allocations: 101.9 kB / 491.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1295, allocations: 0 / 491.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1295, allocations: 4 kB / 491.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1295, allocations: 4 kB / 491.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1297, allocations: 51.97 kB / 491.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1302, allocations: 316.3 kB / 492.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1304, allocations: 90.55 kB / 492.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.1304, allocations: 36.84 kB / 492.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1305, allocations: 3.938 kB / 492.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1305, allocations: 42.5 kB / 492.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1305, allocations: 0 / 492.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001172/0.1317, allocations: 0.5355 MB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1317, allocations: 55.41 kB / 493 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1318, allocations: 109.8 kB / 493.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1319, allocations: 29.7 kB / 493.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.1319, allocations: 104 kB / 493.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.132, allocations: 59.48 kB / 493.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1321, allocations: 33.7 kB / 493.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1322, allocations: 322.8 kB / 493.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.1323, allocations: 35.98 kB / 493.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1324, allocations: 64.98 kB / 493.8 MB, free: 5.879 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.1332, allocations: 254.9 kB / 494 MB, free: 5.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1332, allocations: 4 kB / 494 MB, free: 5.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002878/0.1334, allocations: 166.3 kB / 494.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1335, allocations: 4 kB / 494.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1335, allocations: 0 / 494.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.1336, allocations: 36.84 kB / 494.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1337, allocations: 27.92 kB / 494.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1352, allocations: 1.489 MB / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.1353, allocations: 8.031 kB / 495.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1353, allocations: 4 kB / 495.7 MB, free: 3.77 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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.0001541/0.1354, allocations: 134 kB / 495.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.1355, allocations: 7.953 kB / 495.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1355, allocations: 12.78 kB / 495.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1355, allocations: 4 kB / 495.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1355, allocations: 4 kB / 495.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1355, allocations: 3.984 kB / 495.9 MB, free: 3.602 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.1362, allocations: 429.4 kB / 496.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1362, allocations: 384 / 496.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1363, allocations: 27.92 kB / 496.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-05/0.1364, allocations: 24.84 kB / 496.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1364, allocations: 7.938 kB / 496.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1375, allocations: 1.248 MB / 497.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1375, allocations: 4.031 kB / 497.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.138, allocations: 305.7 kB / 497.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.138, allocations: 7.984 kB / 497.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.138, allocations: 4 kB / 497.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.1381, allocations: 4 kB / 497.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1381, allocations: 23.91 kB / 498 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1381, allocations: 4 kB / 498 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.1382, allocations: 95.45 kB / 498.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1382, allocations: 0 / 498.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1385, allocations: 32 kB / 498.1 MB, free: 1.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0001289/0.1386, allocations: 99.19 kB / 498.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.1391, allocations: 230.1 kB / 498.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1391, allocations: 0 / 498.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1393, allocations: 166.6 kB / 498.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1397, allocations: 30.2 kB / 498.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.1404, allocations: 390.9 kB / 499 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1405, allocations: 96.56 kB / 499.1 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.1406, allocations: 12.42 kB / 499.1 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1406, allocations: 19.38 kB / 499.1 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1406, allocations: 0 / 499.1 MB, free: 116 kB / 350.1 MB Notification: Performance of Templates: time 0.005042/0.1457, allocations: 1.563 MB / 0.4889 GB, free: 14.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.860933540388942] Failed to read output from testmodel.py, exit status != 0: 0.15367686562240124 0.172549482 0.040702944000000005 Calling exit ...