Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001002/0.001002, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009784/0.0009784, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9173/0.9173, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.002047/0.002047, allocations: 432 kB / 260.7 MB, free: 12.48 MB / 250.7 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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 330.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.957e-05, allocations: 2.312 kB / 330.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001401/0.001431, allocations: 0.5219 MB / 331.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.001612, allocations: 31.83 kB / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.001645, allocations: 0 / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.001666, allocations: 0 / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.001703, allocations: 3.938 kB / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.00183, allocations: 0 / 331.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.001879, allocations: 23.91 kB / 331.1 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.001918, allocations: 4 kB / 331.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.001962, allocations: 7.984 kB / 331.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.002034, allocations: 7.984 kB / 331.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.002051, allocations: 4 kB / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.002061, allocations: 0 / 331.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.002079, allocations: 11.98 kB / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.002096, allocations: 3.938 kB / 331.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.997e-05/0.002156, allocations: 11.97 kB / 331.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.002159, allocations: 0 / 331.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002159, allocations: 0 / 331.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002163, allocations: 0 / 331.2 MB, free: 18.39 MB / 266.7 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.0002606/0.002423, allocations: 356.3 kB / 331.5 MB, free: 18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.002462, allocations: 12.03 kB / 331.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.002493, allocations: 13.23 kB / 331.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.421e-05/0.002547, allocations: 116.5 kB / 331.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.002558, allocations: 8.375 kB / 331.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.002573, allocations: 384 / 331.7 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.02e-05/0.002633, allocations: 42.25 kB / 331.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.002642, allocations: 192 / 331.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.002648, allocations: 384 / 331.7 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.002655, allocations: 8.359 kB / 331.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.002674, allocations: 7.938 kB / 331.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.002888, allocations: 252.3 kB / 332 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.002947, allocations: 51.11 kB / 332 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.002962, allocations: 15.62 kB / 332.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.002968, allocations: 0 / 332.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.002984, allocations: 37.47 kB / 332.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.002985, allocations: 0 / 332.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000237/0.003222, allocations: 81.23 kB / 332.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.003238, allocations: 55.41 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.003275, allocations: 161.9 kB / 332.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.003281, allocations: 29.7 kB / 332.4 MB, free: 17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.003304, allocations: 126.9 kB / 332.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.003319, allocations: 27.78 kB / 332.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.00334, allocations: 27.36 kB / 332.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.003376, allocations: 492.1 kB / 333.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/0.003383, allocations: 4 kB / 333.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.003397, allocations: 31.28 kB / 333.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.003427, allocations: 31.38 kB / 333.1 MB, free: 16.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003429, allocations: 0 / 333.1 MB, free: 16.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.944e-05/0.003498, allocations: 73.66 kB / 333.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.00351, allocations: 8 kB / 333.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003514, allocations: 4.031 kB / 333.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-05/0.003608, allocations: 15.69 kB / 333.2 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.498e-05/0.003643, allocations: 7.984 kB / 333.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004273/0.004071, allocations: 1.705 MB / 334.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.004081, allocations: 8.062 kB / 335 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-06/0.004084, allocations: 4 kB / 335 MB, free: 14.28 MB / 266.7 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 3.843e-05/0.004122, allocations: 156.6 kB / 335.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.004135, allocations: 7.938 kB / 335.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.015e-05/0.004145, allocations: 7.672 kB / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.004146, allocations: 4 kB / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004148, allocations: 0 / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.004151, allocations: 0 / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.742e-05/0.004218, allocations: 101.2 kB / 335.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004219, allocations: 0 / 335.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.004239, allocations: 8 kB / 335.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.331e-05/0.004292, allocations: 19.67 kB / 335.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.004296, allocations: 3.938 kB / 335.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003381/0.004635, allocations: 1.705 MB / 337 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004635, allocations: 3.938 kB / 337 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.004718, allocations: 227.6 kB / 337.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-06/0.004721, allocations: 4 kB / 337.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-06/0.004726, allocations: 7.938 kB / 337.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.004751, allocations: 0 / 337.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.004763, allocations: 7.984 kB / 337.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.004765, allocations: 0 / 337.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.004781, allocations: 123.2 kB / 337.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.004781, allocations: 4 kB / 337.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000143/0.004924, allocations: 4 kB / 337.3 MB, free: 11.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 5.206e-05/0.004976, allocations: 95.28 kB / 337.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.005114, allocations: 205.4 kB / 337.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.005115, allocations: 4 kB / 337.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.00516, allocations: 181.5 kB / 337.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.005288, allocations: 7.938 kB / 337.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.005449, allocations: 148.1 kB / 338 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.079e-05/0.00547, allocations: 62.16 kB / 338 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.285e-05/0.005483, allocations: 4.062 kB / 338 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.005504, allocations: 70.2 kB / 338.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.005505, allocations: 0 / 338.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.00182/0.007325, allocations: 0.6516 MB / 338.8 MB, free: 10.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7037504268810153]