Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.00141/0.00141, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001573/0.001573, allocations: 158.5 kB / 23.01 MB, free: 4.598 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.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.003019/0.003019, allocations: 426.6 kB / 260.2 MB, free: 284 kB / 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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 67.89 kB / 382.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1307, allocations: 53.5 MB / 436.3 MB, free: 15.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003257/0.134, allocations: 1.607 MB / 437.9 MB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.1343, allocations: 91.69 kB / 438 MB, free: 14.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.1343, allocations: 4 kB / 438 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.138e-05/0.1344, allocations: 11.86 kB / 438 MB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1345, allocations: 35.7 kB / 438 MB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1347, allocations: 23.97 kB / 438 MB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1348, allocations: 107.5 kB / 438.1 MB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.135, allocations: 31.92 kB / 438.2 MB, free: 14.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.1351, allocations: 47.84 kB / 438.2 MB, free: 13.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1352, allocations: 35.84 kB / 438.3 MB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1352, allocations: 8 kB / 438.3 MB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.1352, allocations: 12 kB / 438.3 MB, free: 13.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1353, allocations: 15.92 kB / 438.3 MB, free: 13.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.1353, allocations: 43.8 kB / 438.3 MB, free: 13.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1355, allocations: 111.5 kB / 438.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1356, allocations: 0 / 438.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1356, allocations: 0 / 438.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1356, allocations: 7.875 kB / 438.4 MB, free: 13.73 MB / 414.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.0006204/0.1362, allocations: 330.1 kB / 438.8 MB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1362, allocations: 12.03 kB / 438.8 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.1363, allocations: 12.89 kB / 438.8 MB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1365, allocations: 126.4 kB / 438.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1365, allocations: 8.562 kB / 438.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1365, allocations: 16.3 kB / 438.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1368, allocations: 93.97 kB / 439 MB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1368, allocations: 0 / 439 MB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1368, allocations: 4 kB / 439 MB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1368, allocations: 4 kB / 439 MB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1369, allocations: 59.95 kB / 439.1 MB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.1375, allocations: 312.3 kB / 439.4 MB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1377, allocations: 86.56 kB / 439.5 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.1378, allocations: 36.84 kB / 439.5 MB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1378, allocations: 4 kB / 439.5 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1378, allocations: 34.5 kB / 439.6 MB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1378, allocations: 0 / 439.6 MB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001147/0.139, allocations: 0.531 MB / 440.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.139, allocations: 55.41 kB / 440.1 MB, free: 11.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1392, allocations: 117.8 kB / 440.3 MB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1392, allocations: 29.7 kB / 440.3 MB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1393, allocations: 99.98 kB / 440.4 MB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1393, allocations: 67.45 kB / 440.5 MB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1394, allocations: 25.72 kB / 440.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1395, allocations: 322.8 kB / 440.8 MB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.1396, allocations: 31.98 kB / 440.8 MB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.1397, allocations: 58.56 kB / 440.9 MB, free: 11.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1399, allocations: 114.7 kB / 441 MB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1399, allocations: 0 / 441 MB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003035/0.1402, allocations: 166.3 kB / 441.2 MB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1402, allocations: 4 kB / 441.2 MB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1402, allocations: 7.875 kB / 441.2 MB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1404, allocations: 28.84 kB / 441.2 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1405, allocations: 24 kB / 441.2 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.142, allocations: 1.497 MB / 442.7 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1421, allocations: 0 / 442.7 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1421, allocations: 8.031 kB / 442.7 MB, free: 9.098 MB / 414.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 (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.0001198/0.1422, allocations: 125.8 kB / 442.9 MB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1422, allocations: 11.89 kB / 442.9 MB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.1423, allocations: 12.78 kB / 442.9 MB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1423, allocations: 4 kB / 442.9 MB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1423, allocations: 4.062 kB / 442.9 MB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1423, allocations: 0 / 442.9 MB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.1429, allocations: 433.3 kB / 443.3 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1429, allocations: 0 / 443.3 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.1431, allocations: 31.92 kB / 443.3 MB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-05/0.1431, allocations: 16.86 kB / 443.4 MB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1431, allocations: 3.984 kB / 443.4 MB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.1443, allocations: 1.248 MB / 444.6 MB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1443, allocations: 4.078 kB / 444.6 MB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.1447, allocations: 306.3 kB / 444.9 MB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.1447, allocations: 7.984 kB / 444.9 MB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1447, allocations: 4 kB / 444.9 MB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.1448, allocations: 4.219 kB / 444.9 MB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1449, allocations: 15.97 kB / 444.9 MB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1449, allocations: 8 kB / 444.9 MB, free: 6.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.145, allocations: 87.28 kB / 445 MB, free: 6.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 0 / 445 MB, free: 6.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1453, allocations: 32 kB / 445.1 MB, free: 6.57 MB / 414.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 0.0001169/0.1454, allocations: 107.1 kB / 445.2 MB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1458, allocations: 218.5 kB / 445.4 MB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1459, allocations: 4.062 kB / 445.4 MB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.146, allocations: 162.6 kB / 445.5 MB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1465, allocations: 28.14 kB / 445.6 MB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.1472, allocations: 387.9 kB / 446 MB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.1474, allocations: 96.8 kB / 446 MB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.1474, allocations: 8.641 kB / 446.1 MB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1474, allocations: 20.48 kB / 446.1 MB, free: 5.465 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1474, allocations: 0 / 446.1 MB, free: 5.465 MB / 414.1 MB Notification: Performance of Templates: time 0.004839/0.1523, allocations: 1.394 MB / 447.5 MB, free: 4.137 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.528447290067561] Failed to read output from testmodel.py, exit status != 0: 0.16280428995378315 0.17723117100000002 0.038295543 Calling exit ...