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.001177/0.001177, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001931/0.003107, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001309/0.001309, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.003107, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9241/0.9241, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09239/1.017, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.001902/0.001902, allocations: 424 kB / 244.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002998, allocations: 0.5729 MB / 245 MB, free: 13.88 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.533e-06/1.533e-06, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.283e-05, allocations: 5.828 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.001708/0.001721, allocations: 1.727 MB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000126/0.001847, allocations: 99.56 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.00188, allocations: 8 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.001908, allocations: 11.86 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.001957, allocations: 31.7 kB / 248.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.926e-05/0.002006, allocations: 23.97 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.002094, allocations: 111.4 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.002169, allocations: 23.98 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.002238, allocations: 67.86 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.002297, allocations: 35.89 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.002314, allocations: 15.94 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.002325, allocations: 8 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.00234, allocations: 15.94 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.002369, allocations: 27.94 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.002453, allocations: 63.77 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.002463, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.002463, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.002473, allocations: 0 / 248.5 MB, free: 10.34 MB / 250.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.0003208/0.002794, allocations: 324.4 kB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.522e-05/0.002819, allocations: 16.03 kB / 248.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.002849, allocations: 16.92 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.002947, allocations: 125.6 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.002956, allocations: 8.562 kB / 249 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.002972, allocations: 8.375 kB / 249 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.003049, allocations: 74.7 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.003061, allocations: 0 / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003068, allocations: 4 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003073, allocations: 4 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.003112, allocations: 23.98 kB / 249.1 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.003353, allocations: 240 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.003429, allocations: 66.47 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.003453, allocations: 25.02 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.00346, allocations: 4 kB / 249.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.003477, allocations: 34.69 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 7.41e-07/0.003478, allocations: 0 / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005743/0.004052, allocations: 476.1 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.004074, allocations: 55.41 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.004127, allocations: 118.6 kB / 250.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.004139, allocations: 29.7 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.004174, allocations: 104 kB / 250.2 MB, free: 8.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.004204, allocations: 59.47 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.004235, allocations: 37.69 kB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.004305, allocations: 326.8 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.00432, allocations: 12 kB / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.004349, allocations: 46.48 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.004404, allocations: 70.45 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004405, allocations: 0 / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.997e-05/0.004505, allocations: 102.5 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.004514, allocations: 7.938 kB / 250.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.004518, allocations: 4 kB / 250.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.309e-05/0.004601, allocations: 28.86 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.00467, allocations: 35.92 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000644/0.005314, allocations: 1.36 MB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.005336, allocations: 7.938 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.00534, allocations: 4 kB / 252.3 MB, free: 6.215 MB / 250.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.729e-05/0.005397, allocations: 121.9 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.005414, allocations: 8 kB / 252.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.005434, allocations: 16.77 kB / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.005435, allocations: 7.938 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.005437, allocations: 0 / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.005439, allocations: 0 / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.005705, allocations: 321.9 kB / 252.7 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.005708, allocations: 8.094 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.005779, allocations: 35.92 kB / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.005786, allocations: 8.094 kB / 252.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.301e-05/0.005829, allocations: 28.75 kB / 252.8 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.005835, allocations: 4.062 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005147/0.00635, allocations: 1.163 MB / 254 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.006351, allocations: 0 / 254 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.006492, allocations: 230.6 kB / 254.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.006502, allocations: 15.92 kB / 254.2 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.00654, allocations: 0 / 254.2 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.006561, allocations: 19.92 kB / 254.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006565, allocations: 0 / 254.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.006576, allocations: 16.84 kB / 254.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006576, allocations: 0 / 254.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000155/0.006731, allocations: 40.03 kB / 254.3 MB, free: 4.027 MB / 250.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 5.668e-05/0.006788, allocations: 76.42 kB / 254.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.006979, allocations: 199.3 kB / 254.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.006986, allocations: 0 / 254.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.007068, allocations: 163 kB / 254.7 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.007214, allocations: 36.22 kB / 254.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.007918, allocations: 291.2 kB / 255.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.007953, allocations: 67.84 kB / 255.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.007985, allocations: 16.42 kB / 255.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.008038, allocations: 71.36 kB / 255.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008039, allocations: 0 / 255.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of Templates: time 0.002871/0.01091, allocations: 1.586 MB / 256.8 MB, free: 1.523 MB / 250.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: 2.4061000058427453]