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.001428/0.001428, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.00147/0.00147, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.002954/0.002954, allocations: 423.4 kB / 260.2 MB, free: 260 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.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.002035/0.002035, allocations: 71.83 kB / 382.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1233, allocations: 53.49 MB / 436.3 MB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003276/0.1266, allocations: 1.619 MB / 437.9 MB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.1269, allocations: 87.64 kB / 438 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.1269, allocations: 4 kB / 438 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.261e-05/0.127, allocations: 15.86 kB / 438 MB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1271, allocations: 35.69 kB / 438 MB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1272, allocations: 23.98 kB / 438 MB, free: 14.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1274, allocations: 111.5 kB / 438.2 MB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1276, allocations: 31.91 kB / 438.2 MB, free: 13.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1277, allocations: 43.86 kB / 438.2 MB, free: 13.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1278, allocations: 39.78 kB / 438.3 MB, free: 13.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1278, allocations: 8 kB / 438.3 MB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.1278, allocations: 12 kB / 438.3 MB, free: 13.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.1279, allocations: 15.98 kB / 438.3 MB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1279, allocations: 43.8 kB / 438.3 MB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1281, allocations: 103.5 kB / 438.4 MB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1281, allocations: 0 / 438.4 MB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1281, allocations: 7.938 kB / 438.5 MB, free: 13.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1281, allocations: 0 / 438.5 MB, free: 13.69 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.000571/0.1287, allocations: 326.2 kB / 438.8 MB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1287, allocations: 8.031 kB / 438.8 MB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1288, allocations: 12.89 kB / 438.8 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.129, allocations: 138.3 kB / 438.9 MB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.129, allocations: 8.547 kB / 438.9 MB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.129, allocations: 12.38 kB / 438.9 MB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1292, allocations: 93.16 kB / 439 MB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1293, allocations: 8 kB / 439 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1293, allocations: 3.938 kB / 439 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1293, allocations: 0 / 439 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1294, allocations: 55.97 kB / 439.1 MB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.1301, allocations: 308.4 kB / 439.4 MB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1303, allocations: 98.55 kB / 439.5 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.1303, allocations: 33.06 kB / 439.5 MB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1303, allocations: 3.938 kB / 439.5 MB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1304, allocations: 34.56 kB / 439.6 MB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1304, allocations: 0 / 439.6 MB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001267/0.1316, allocations: 0.5347 MB / 440.1 MB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1317, allocations: 55.34 kB / 440.2 MB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1318, allocations: 113.8 kB / 440.3 MB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1318, allocations: 33.7 kB / 440.3 MB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1319, allocations: 107.9 kB / 440.4 MB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.132, allocations: 55.48 kB / 440.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1321, allocations: 37.7 kB / 440.5 MB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1322, allocations: 322.8 kB / 440.8 MB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.1323, allocations: 32 kB / 440.8 MB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.1324, allocations: 62.92 kB / 440.9 MB, free: 11.01 MB / 414.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.0008805/0.1333, allocations: 254 kB / 441.2 MB, free: 10.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1333, allocations: 0 / 441.2 MB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003178/0.1336, allocations: 162.6 kB / 441.3 MB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1336, allocations: 7.938 kB / 441.3 MB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1336, allocations: 3.984 kB / 441.3 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.1338, allocations: 32.78 kB / 441.4 MB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1339, allocations: 28.03 kB / 441.4 MB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.1356, allocations: 1.489 MB / 442.9 MB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.1357, allocations: 4 kB / 442.9 MB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1357, allocations: 8.016 kB / 442.9 MB, free: 8.906 MB / 414.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.0001519/0.1358, allocations: 129.7 kB / 443 MB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1359, allocations: 12.02 kB / 443 MB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1359, allocations: 16.78 kB / 443 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1359, allocations: 0 / 443 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1359, allocations: 7.984 kB / 443 MB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1359, allocations: 0 / 443 MB, free: 8.734 MB / 414.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.0007683/0.1367, allocations: 425.3 kB / 443.5 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1367, allocations: 0 / 443.5 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1368, allocations: 27.92 kB / 443.5 MB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.911e-05/0.1369, allocations: 24.94 kB / 443.5 MB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1369, allocations: 11.94 kB / 443.5 MB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.138, allocations: 1.244 MB / 444.8 MB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.138, allocations: 3.984 kB / 444.8 MB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1385, allocations: 301.9 kB / 445.1 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.1385, allocations: 8.172 kB / 445.1 MB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1385, allocations: 11.94 kB / 445.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.1386, allocations: 4 kB / 445.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1386, allocations: 19.91 kB / 445.1 MB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1386, allocations: 4 kB / 445.1 MB, free: 6.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.151e-05/0.1387, allocations: 91.27 kB / 445.2 MB, free: 6.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 445.2 MB, free: 6.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1391, allocations: 28 kB / 445.2 MB, free: 6.367 MB / 414.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.0001545/0.1392, allocations: 110.9 kB / 445.3 MB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.1398, allocations: 230.5 kB / 445.6 MB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1398, allocations: 288 / 445.6 MB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.14, allocations: 158.6 kB / 445.7 MB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1404, allocations: 23.92 kB / 445.7 MB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.1412, allocations: 387 kB / 446.1 MB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1414, allocations: 96.8 kB / 446.2 MB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.1415, allocations: 16.62 kB / 446.2 MB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.1415, allocations: 12.5 kB / 446.2 MB, free: 5.262 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1415, allocations: 0 / 446.2 MB, free: 5.262 MB / 414.1 MB Notification: Performance of Templates: time 0.005349/0.1469, allocations: 1.474 MB / 447.7 MB, free: 3.855 MB / 414.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 -s ida -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.413897644961253] Failed to read output from testmodel.py, exit status != 0: 0.15630084299482405 0.17397736900000002 0.042107181 Calling exit ...