Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 94.84 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004366/0.004366, allocations: 0.5685 MB / 340.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.2 kB / 400.9 MB, free: 66.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08469, allocations: 49.6 MB / 450.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002636/0.08736, allocations: 1.697 MB / 452.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002889/0.08768, allocations: 95.67 kB / 452.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.08778, allocations: 7.938 kB / 452.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.557e-05/0.08785, allocations: 7.922 kB / 452.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.08799, allocations: 27.77 kB / 452.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.08814, allocations: 23.98 kB / 452.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.08826, allocations: 99.53 kB / 452.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.08841, allocations: 35.91 kB / 452.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.08848, allocations: 39.84 kB / 452.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.08857, allocations: 47.78 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.0886, allocations: 4 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.08863, allocations: 8 kB / 452.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.08865, allocations: 11.94 kB / 452.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.08871, allocations: 43.8 kB / 452.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.08884, allocations: 107.9 kB / 452.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.08885, allocations: 3.938 kB / 452.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08886, allocations: 0 / 452.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.08887, allocations: 4 kB / 452.8 MB, free: 14.2 MB / 298.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.0004859/0.08936, allocations: 399.4 kB / 453.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.08941, allocations: 8.031 kB / 453.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.08946, allocations: 8.844 kB / 453.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.08961, allocations: 196.1 kB / 453.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.08963, allocations: 8.562 kB / 453.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.08966, allocations: 16.38 kB / 453.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.08983, allocations: 93.97 kB / 453.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.08985, allocations: 0 / 453.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.08987, allocations: 8 kB / 453.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.08988, allocations: 0 / 453.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.08998, allocations: 55.97 kB / 453.6 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.09046, allocations: 388.5 kB / 454 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.09063, allocations: 110.4 kB / 454.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.0907, allocations: 40.84 kB / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.09072, allocations: 0 / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.09075, allocations: 30.56 kB / 454.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.09075, allocations: 0 / 454.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009281/0.09169, allocations: 0.6883 MB / 454.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.09172, allocations: 55.41 kB / 454.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.0918, allocations: 121.8 kB / 455 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.09182, allocations: 29.7 kB / 455 MB, free: 11.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.09187, allocations: 100.3 kB / 455.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.0919, allocations: 59.17 kB / 455.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.09195, allocations: 33.72 kB / 455.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.09201, allocations: 322.8 kB / 455.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.09207, allocations: 35.94 kB / 455.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.09213, allocations: 58.5 kB / 455.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.09225, allocations: 98.56 kB / 455.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.09226, allocations: 4 kB / 455.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001625/0.09243, allocations: 145.4 kB / 455.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.09245, allocations: 11.94 kB / 455.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.09246, allocations: 0 / 455.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.09248, allocations: 0 / 455.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.09265, allocations: 35.92 kB / 455.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.09266, allocations: 4 kB / 455.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.09272, allocations: 7.938 kB / 455.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.09273, allocations: 7.984 kB / 455.9 MB, free: 10.74 MB / 298.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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.0928, allocations: 125.8 kB / 456.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.09284, allocations: 19.78 kB / 456.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.09288, allocations: 12.84 kB / 456.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.09289, allocations: 4 kB / 456.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.0929, allocations: 0 / 456.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.09291, allocations: 0 / 456.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.0934, allocations: 0.4909 MB / 456.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.09342, allocations: 64 / 456.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.09354, allocations: 35.92 kB / 456.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.09365, allocations: 20.84 kB / 456.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.09367, allocations: 0 / 456.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006158/0.09429, allocations: 1.276 MB / 457.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0943, allocations: 4.031 kB / 457.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.09593, allocations: 2.747 MB / 460.7 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.09597, allocations: 85.02 kB / 460.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.09599, allocations: 4 kB / 460.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.09607, allocations: 4 kB / 460.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.09611, allocations: 15.98 kB / 460.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.09612, allocations: 8.188 kB / 460.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.09616, allocations: 92.8 kB / 460.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.09617, allocations: 4 kB / 460.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.09651, allocations: 40 kB / 460.9 MB, free: 5.219 MB / 298.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 7.795e-05/0.0966, allocations: 95.19 kB / 461 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.09676, allocations: 107.4 kB / 461.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.09677, allocations: 0 / 461.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.09699, allocations: 174.6 kB / 461.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.09744, allocations: 24.64 kB / 461.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.09822, allocations: 0.6827 MB / 462 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.09839, allocations: 0.7088 MB / 462.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.09845, allocations: 13.08 kB / 462.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.09849, allocations: 15.44 kB / 462.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0985, allocations: 0 / 462.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Templates: time 0.00446/0.103, allocations: 1.513 MB / 464.2 MB, free: 1.832 MB / 298.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)