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.001316/0.001316, allocations: 104.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.001665/0.001665, allocations: 213.9 kB / 22.99 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002996/0.002996, allocations: 0.5846 MB / 313.8 MB, free: 2.297 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.00204/0.00204, allocations: 63.91 kB / 436.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 53.52 MB / 489.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00185/0.1089, allocations: 0.5234 MB / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.1091, allocations: 19.92 kB / 490.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1092, allocations: 0 / 490.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1092, allocations: 3.938 kB / 490.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.1092, allocations: 3.938 kB / 490.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1093, allocations: 11.98 kB / 490.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.1094, allocations: 15.98 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.1095, allocations: 416 / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.1095, allocations: 7.984 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.1096, allocations: 19.92 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1096, allocations: 0 / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.1096, allocations: 4 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.1096, allocations: 7.922 kB / 490.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1096, allocations: 8 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.989e-05/0.1097, allocations: 19.84 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1097, allocations: 0 / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1097, allocations: 0 / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1097, allocations: 0 / 490.5 MB, free: 10.12 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.0004175/0.1102, allocations: 254.4 kB / 490.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1102, allocations: 16.03 kB / 490.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1102, allocations: 0.9375 kB / 490.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1103, allocations: 110.5 kB / 490.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1104, allocations: 8.359 kB / 490.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1104, allocations: 4.375 kB / 490.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1105, allocations: 50.25 kB / 491 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1105, allocations: 192 / 491 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1105, allocations: 3.938 kB / 491 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1105, allocations: 4 kB / 491 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.1106, allocations: 11.98 kB / 491 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1109, allocations: 200.4 kB / 491.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.111, allocations: 58.56 kB / 491.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.1111, allocations: 12.98 kB / 491.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1111, allocations: 8 kB / 491.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1111, allocations: 34.5 kB / 491.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1111, allocations: 0 / 491.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007306/0.1118, allocations: 360.3 kB / 491.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1119, allocations: 55.39 kB / 491.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.112, allocations: 105.8 kB / 491.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.112, allocations: 29.7 kB / 491.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.112, allocations: 80.14 kB / 491.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1121, allocations: 31.73 kB / 491.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1121, allocations: 25.72 kB / 492 MB, free: 8.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1123, allocations: 326.7 kB / 492.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.1123, allocations: 12 kB / 492.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.1124, allocations: 33.7 kB / 492.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.1126, allocations: 85.69 kB / 492.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1126, allocations: 0 / 492.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1128, allocations: 98.47 kB / 492.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1128, allocations: 4 kB / 492.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1128, allocations: 7.938 kB / 492.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.1129, allocations: 20.84 kB / 492.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.113, allocations: 12 kB / 492.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.1142, allocations: 1.257 MB / 493.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.1142, allocations: 4.5 kB / 493.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1142, allocations: 4 kB / 493.8 MB, free: 6.484 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.0001748/0.1144, allocations: 113.9 kB / 493.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1144, allocations: 19.88 kB / 493.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1144, allocations: 12.06 kB / 493.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1144, allocations: 0 / 493.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1144, allocations: 4 kB / 494 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1144, allocations: 0 / 494 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.1149, allocations: 313.4 kB / 494.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1149, allocations: 4.094 kB / 494.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1149, allocations: 11.94 kB / 494.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/0.115, allocations: 24.84 kB / 494.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.115, allocations: 3.984 kB / 494.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1161, allocations: 1.26 MB / 495.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1161, allocations: 4 kB / 495.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1164, allocations: 226.8 kB / 495.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.1164, allocations: 4.156 kB / 495.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.1164, allocations: 4 kB / 495.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.1165, allocations: 4.141 kB / 495.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.1165, allocations: 16.06 kB / 495.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1165, allocations: 7.875 kB / 495.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.1166, allocations: 79.28 kB / 495.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 495.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1168, allocations: 12 kB / 495.9 MB, free: 4.184 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.0001129/0.1169, allocations: 98.75 kB / 496 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1172, allocations: 174.5 kB / 496.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1172, allocations: 0 / 496.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1174, allocations: 142.8 kB / 496.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1176, allocations: 4 kB / 496.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.118, allocations: 210.4 kB / 496.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.505e-05/0.1181, allocations: 67.34 kB / 496.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1181, allocations: 15.62 kB / 496.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1181, allocations: 0 / 496.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Templates: time 0.002599/0.1207, allocations: 0.9391 MB / 497.5 MB, free: 2.457 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: 7.2305166237056255] Failed to read output from testmodel.py, exit status != 0: 0.12920010881498456 0.144891506 0.032022550000000004 Calling exit ...