Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007995, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005196/0.005197, allocations: 170.4 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01631/0.2833, allocations: 17.24 MB / 344.3 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.2948, allocations: 4.981 MB / 349.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.298, allocations: 75.75 kB / 349.3 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.2988, allocations: 278.7 kB / 349.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.302, allocations: 1.285 MB / 350.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.303, allocations: 411.4 kB / 351.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003951/0.3069, allocations: 3.62 MB / 354.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.3097, allocations: 2.035 MB / 357 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.3112, allocations: 0.669 MB / 357.6 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.3131, allocations: 1.222 MB / 358.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.3134, allocations: 87.98 kB / 358.9 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.3156, allocations: 0.9906 MB / 359.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3167, allocations: 1.052 MB / 361 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.3178, allocations: 1.232 MB / 362.2 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.3219, allocations: 4.069 MB / 366.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3219, allocations: 0 / 366.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3219, allocations: 0 / 366.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.911e-05/0.322, allocations: 4 kB / 366.3 MB, free: 11.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.004853/0.3269, allocations: 2.532 MB / 368.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.3269, allocations: 16.02 kB / 368.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006626/0.3336, allocations: 1.775 MB / 370.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.3364, allocations: 1.441 MB / 372 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3365, allocations: 143.3 kB / 372.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007064/0.3372, allocations: 255.6 kB / 372.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.3485, allocations: 6.672 MB / 379.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/0.3487, allocations: 27.72 kB / 379.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.3489, allocations: 83.89 kB / 379.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/0.3511, allocations: 1.367 MB / 380.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.3632, allocations: 6.052 MB / 386.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03394/0.3972, allocations: 25.62 MB / 412.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.4047, allocations: 2.682 MB / 414.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4063, allocations: 1.036 MB / 416 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006189/0.4126, allocations: 3.892 MB / 419.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.967e-05/0.4127, allocations: 51.06 kB / 419.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=112): time 4.399e-06/0.4127, allocations: 0 / 419.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.02777/0.4405, allocations: 10.32 MB / 430.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001482/0.442, allocations: 1.592 MB / 431.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/0.4464, allocations: 2.737 MB / 434.6 MB, free: 5.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000415/0.4468, allocations: 41.7 kB / 434.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.4484, allocations: 2.075 MB / 436.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000771/0.4492, allocations: 0.5132 MB / 437.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/0.4498, allocations: 391.8 kB / 437.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4499, allocations: 301.1 kB / 437.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.4524, allocations: 1.652 MB / 439.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.457, allocations: 4.456 MB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008214/0.4653, allocations: 6.544 MB / 450.5 MB, free: 2.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/0.4654, allocations: 39.88 kB / 450.6 MB, free: 2.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.2575/0.723, allocations: 7.989 MB / 458.5 MB, free: 107.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.7231, allocations: 47.19 kB / 458.6 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01124/0.7344, allocations: 3.497 MB / 462.1 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.7462, allocations: 2.579 MB / 464.7 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.7492, allocations: 1.01 MB / 465.7 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.7614, allocations: 8.873 MB / 474.6 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/0.7653, allocations: 331.6 kB / 474.9 MB, free: 98.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/0.7658, allocations: 287.9 kB / 475.2 MB, free: 98.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002019/0.7678, allocations: 1.415 MB / 476.6 MB, free: 97.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.7682, allocations: 236.2 kB / 476.8 MB, free: 97.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.7741, allocations: 2.845 MB / 479.7 MB, free: 94.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005124/0.7792, allocations: 2.515 MB / 482.2 MB, free: 91.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7793, allocations: 4 kB / 482.2 MB, free: 91.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.7793, allocations: 11.66 kB / 482.2 MB, free: 91.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.7908, allocations: 6.866 MB / 489 MB, free: 84.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.7908, allocations: 3.938 kB / 489.1 MB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.7916, allocations: 177.2 kB / 489.2 MB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/0.796, allocations: 1.436 MB / 490.7 MB, free: 83.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.7962, allocations: 31.97 kB / 490.7 MB, free: 83.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.8042, allocations: 7.34 MB / 498 MB, free: 75.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000687/0.8049, allocations: 1.44 MB / 499.5 MB, free: 74.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/0.8122, allocations: 4.855 MB / 0.4925 GB, free: 69.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.8129, allocations: 304.2 kB / 0.4928 GB, free: 69.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.8131, allocations: 28.23 kB / 0.4928 GB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.8142, allocations: 112.8 kB / 0.4929 GB, free: 68.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.8145, allocations: 80.44 kB / 0.493 GB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/0.8146, allocations: 45.25 kB / 0.493 GB, free: 68.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.8166, allocations: 1.697 MB / 0.4947 GB, free: 67.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8166, allocations: 0 / 0.4947 GB, free: 67.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003365/0.82, allocations: 0.785 MB / 0.4955 GB, free: 66.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/0.8204, allocations: 162.8 kB / 0.4956 GB, free: 66.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006508/0.8269, allocations: 4.43 MB / 0.5 GB, free: 61.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8269, allocations: 3.188 kB / 0.5 GB, free: 61.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.8297, allocations: 1.719 MB / 0.5016 GB, free: 59.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.8319, allocations: 256.8 kB / 0.5019 GB, free: 59.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.8409, allocations: 7.986 MB / 0.5097 GB, free: 51.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.8426, allocations: 2.293 MB / 0.5119 GB, free: 49.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002915/0.8455, allocations: 1.408 MB / 0.5133 GB, free: 47.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.8459, allocations: 167.4 kB / 0.5135 GB, free: 47.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.455e-06/0.8459, allocations: 3.938 kB / 0.5135 GB, free: 47.68 MB / 382.1 MB Notification: Performance of Templates: time 0.0467/0.8926, allocations: 29.22 MB / 0.542 GB, free: 18.49 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)