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.001354/0.001354, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001498/0.001498, allocations: 169 kB / 23.02 MB, free: 1.551 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.9865/0.9865, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.002969/0.002969, allocations: 431.9 kB / 260.4 MB, free: 12.62 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.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 1.663e-06/1.663e-06, allocations: 0 / 330.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.203e-05, allocations: 2.312 kB / 330.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.001639/0.001661, allocations: 1.688 MB / 331.8 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.001903, allocations: 95.58 kB / 331.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.001952, allocations: 0 / 331.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.002003, allocations: 19.84 kB / 331.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.00209, allocations: 35.64 kB / 331.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.002206, allocations: 23.98 kB / 332 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.002295, allocations: 111.4 kB / 332.1 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.002411, allocations: 23.98 kB / 332.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.002487, allocations: 59.88 kB / 332.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.002565, allocations: 31.91 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002586, allocations: 8 kB / 332.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.002601, allocations: 11.94 kB / 332.2 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.002622, allocations: 23.91 kB / 332.2 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.002653, allocations: 31.92 kB / 332.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002773, allocations: 71.73 kB / 332.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002775, allocations: 4 kB / 332.3 MB, free: 17.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002775, allocations: 0 / 332.3 MB, free: 17.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.00278, allocations: 0 / 332.3 MB, free: 17.06 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003681/0.003148, allocations: 432.4 kB / 332.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.003186, allocations: 8.031 kB / 332.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.003233, allocations: 20.84 kB / 332.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.003355, allocations: 128.5 kB / 332.9 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.003367, allocations: 8.562 kB / 332.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.003398, allocations: 16.38 kB / 332.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.003522, allocations: 78.72 kB / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.003533, allocations: 3.953 kB / 333 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.003546, allocations: 4 kB / 333 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.003554, allocations: 4 kB / 333 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.003614, allocations: 38.95 kB / 333.1 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.00397, allocations: 347.5 kB / 333.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.004086, allocations: 91.09 kB / 333.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.004121, allocations: 31.61 kB / 333.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.004131, allocations: 4 kB / 333.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.004147, allocations: 37.39 kB / 333.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.011e-06/0.004148, allocations: 0 / 333.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006747/0.004822, allocations: 0.4963 MB / 334.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.004843, allocations: 63.28 kB / 334.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.004914, allocations: 173.9 kB / 334.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.004922, allocations: 29.7 kB / 334.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.004959, allocations: 142.8 kB / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.004981, allocations: 67.42 kB / 334.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.005021, allocations: 43.31 kB / 334.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.005076, allocations: 0.4923 MB / 335.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.005118, allocations: 12 kB / 335.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.005167, allocations: 59.03 kB / 335.1 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.005257, allocations: 78.8 kB / 335.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.005258, allocations: 0 / 335.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001625/0.005421, allocations: 141.1 kB / 335.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.005432, allocations: 8 kB / 335.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.005437, allocations: 4.031 kB / 335.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.005563, allocations: 31.66 kB / 335.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.005641, allocations: 23.94 kB / 335.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007455/0.006386, allocations: 2.036 MB / 337.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.006415, allocations: 0 / 337.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.006423, allocations: 8 kB / 337.4 MB, free: 11.53 MB / 266.7 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 5.537e-05/0.006479, allocations: 164.6 kB / 337.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.006501, allocations: 15.95 kB / 337.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.006517, allocations: 12.78 kB / 337.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006519, allocations: 8 kB / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.006524, allocations: 4 kB / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006527, allocations: 0 / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.006874, allocations: 475.8 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.006877, allocations: 8.031 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.006944, allocations: 23.98 kB / 338.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.291e-05/0.006997, allocations: 19.69 kB / 338.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.007006, allocations: 7.984 kB / 338.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003747/0.007381, allocations: 1.728 MB / 339.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007383, allocations: 7.938 kB / 339.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.007543, allocations: 318.5 kB / 340.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.00755, allocations: 19.83 kB / 340.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.007559, allocations: 4 kB / 340.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.007596, allocations: 4 kB / 340.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.007617, allocations: 19.89 kB / 340.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.007621, allocations: 4 kB / 340.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.007642, allocations: 135.5 kB / 340.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007643, allocations: 0 / 340.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.007839, allocations: 36.06 kB / 340.4 MB, free: 8.305 MB / 266.7 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 6.303e-05/0.007902, allocations: 95.25 kB / 340.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.008148, allocations: 272.4 kB / 340.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00815, allocations: 0 / 340.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.008233, allocations: 221.2 kB / 341 MB, free: 7.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.008465, allocations: 28.45 kB / 341 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.008913, allocations: 346.7 kB / 341.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.008957, allocations: 75.69 kB / 341.4 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.775e-05/0.008994, allocations: 8.656 kB / 341.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.009028, allocations: 16.5 kB / 341.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009029, allocations: 0 / 341.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002964/0.01199, allocations: 1.442 MB / 342.9 MB, free: 5.789 MB / 266.7 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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0213265903294086]