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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00802/0.00802, allocations: 95.86 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 188.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002684/0.002684, allocations: 0.5663 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.7 kB / 402.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09718, allocations: 49.6 MB / 452 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003158/0.1004, allocations: 1.647 MB / 453.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.1008, allocations: 95.62 kB / 453.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.1009, allocations: 0 / 453.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.101, allocations: 11.86 kB / 453.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1011, allocations: 35.7 kB / 453.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1012, allocations: 23.97 kB / 453.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1014, allocations: 107.5 kB / 453.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1016, allocations: 43.89 kB / 454 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.1017, allocations: 31.88 kB / 454 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.1018, allocations: 47.78 kB / 454 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1018, allocations: 8 kB / 454 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.1019, allocations: 12 kB / 454.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.1019, allocations: 19.92 kB / 454.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.102, allocations: 55.72 kB / 454.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1021, allocations: 103.5 kB / 454.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1021, allocations: 0 / 454.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1022, allocations: 0 / 454.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1022, allocations: 0 / 454.2 MB, free: 3.375 MB / 318.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.0005729/0.1027, allocations: 405.2 kB / 454.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1028, allocations: 15.89 kB / 454.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1028, allocations: 8.891 kB / 454.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.103, allocations: 196.2 kB / 454.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1031, allocations: 8.562 kB / 454.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1031, allocations: 8.375 kB / 454.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1033, allocations: 95.28 kB / 454.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1034, allocations: 0 / 454.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1034, allocations: 4 kB / 455 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1034, allocations: 4 kB / 455 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1035, allocations: 59.91 kB / 455 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.1042, allocations: 384.7 kB / 455.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1044, allocations: 106.5 kB / 455.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.1044, allocations: 36.78 kB / 455.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1045, allocations: 8 kB / 455.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1045, allocations: 34.56 kB / 455.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1045, allocations: 0 / 455.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001126/0.1056, allocations: 0.6854 MB / 456.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1057, allocations: 51.41 kB / 456.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1058, allocations: 125.8 kB / 456.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1058, allocations: 33.7 kB / 456.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.1059, allocations: 92.36 kB / 456.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1059, allocations: 63.47 kB / 456.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.106, allocations: 33.72 kB / 456.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1061, allocations: 318.8 kB / 457 MB, free: 340 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.1062, allocations: 35.98 kB / 457 MB, free: 304 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.1063, allocations: 58.5 kB / 457.1 MB, free: 236 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1065, allocations: 102.6 kB / 457.2 MB, free: 124 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1065, allocations: 0 / 457.2 MB, free: 124 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002783/0.1068, allocations: 177.6 kB / 457.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1068, allocations: 4 kB / 457.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1068, allocations: 0 / 457.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.1069, allocations: 36.86 kB / 457.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1071, allocations: 23.98 kB / 457.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.1084, allocations: 1.615 MB / 459 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1085, allocations: 4.031 kB / 459 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1085, allocations: 11.94 kB / 459 MB, free: 14.1 MB / 334.1 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 0.0001001/0.1086, allocations: 129.7 kB / 459.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1087, allocations: 7.953 kB / 459.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.1087, allocations: 16.91 kB / 459.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1087, allocations: 4 kB / 459.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1087, allocations: 7.984 kB / 459.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1087, allocations: 0 / 459.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.1094, allocations: 0.544 MB / 459.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1094, allocations: 0 / 459.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1095, allocations: 32.02 kB / 459.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/0.1096, allocations: 16.86 kB / 459.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1096, allocations: 7.938 kB / 459.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009684/0.1106, allocations: 1.367 MB / 461.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1106, allocations: 0 / 461.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.111, allocations: 306.8 kB / 461.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1111, allocations: 85.09 kB / 461.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1111, allocations: 15.98 kB / 461.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1112, allocations: 0 / 461.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1112, allocations: 19.92 kB / 461.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1113, allocations: 4 kB / 461.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.378e-05/0.1113, allocations: 96.86 kB / 461.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1113, allocations: 0 / 461.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1117, allocations: 36 kB / 461.7 MB, free: 11.14 MB / 334.1 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 9.36e-05/0.1118, allocations: 95.19 kB / 461.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.1121, allocations: 218.5 kB / 462 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1122, allocations: 0 / 462 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.1123, allocations: 170.7 kB / 462.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1127, allocations: 22.97 kB / 462.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.1134, allocations: 404.9 kB / 462.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1138, allocations: 0.7122 MB / 463.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.1139, allocations: 9.094 kB / 463.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.1139, allocations: 15.44 kB / 463.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1139, allocations: 3.938 kB / 463.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of Templates: time 0.004041/0.1179, allocations: 1.397 MB / 464.7 MB, free: 8.07 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)