Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01268/0.01268, allocations: 166.7 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.683/1.683, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003859/0.003859, allocations: 99.41 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4959/0.4959, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004834, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 48.72 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5249, allocations: 88.87 MB / 0.4888 GB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5252, allocations: 78.39 kB / 0.4889 GB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4101/0.9354, allocations: 95.99 MB / 0.5826 GB, free: 3.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.9354, allocations: 3.938 kB / 0.5826 GB, free: 3.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003188/0.9358, allocations: 95.98 kB / 0.5827 GB, free: 3.508 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.3399/1.276, allocations: 6.101 MB / 0.5887 GB, free: 73.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.276, allocations: 9.438 kB / 0.5887 GB, free: 73.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00515/1.281, allocations: 0.8637 MB / 0.5896 GB, free: 73.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0263/1.307, allocations: 2.883 MB / 0.5924 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02836/1.336, allocations: 7.188 MB / 0.5994 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005707/1.336, allocations: 355.4 kB / 0.5997 GB, free: 73.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/1.339, allocations: 485 kB / 0.6002 GB, free: 73.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/1.378, allocations: 12.26 MB / 0.6122 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004468/1.378, allocations: 74.19 kB / 0.6122 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/1.381, allocations: 242.1 kB / 0.6125 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003518/1.385, allocations: 1.195 MB / 0.6136 GB, free: 69.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/1.421, allocations: 10.48 MB / 0.6239 GB, free: 69.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09259/1.514, allocations: 57.05 MB / 0.6796 GB, free: 29.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02377/1.538, allocations: 5.05 MB / 0.6845 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02606/1.564, allocations: 11.13 MB / 0.6954 GB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/1.564, allocations: 55.03 kB / 0.6954 GB, free: 22.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 5.801e-06/1.564, allocations: 0 / 0.6954 GB, free: 22.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.1065/1.67, allocations: 24.47 MB / 0.7193 GB, free: 11.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004387/1.675, allocations: 4.654 MB / 0.7239 GB, free: 22.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/1.686, allocations: 4.103 MB / 0.7279 GB, free: 19.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007899/1.687, allocations: 60.67 kB / 0.7279 GB, free: 19.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003224/1.69, allocations: 3.478 MB / 0.7313 GB, free: 16.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001712/1.692, allocations: 0.9482 MB / 0.7322 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.693, allocations: 147.9 kB / 0.7324 GB, free: 15.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00066/1.694, allocations: 0.6183 MB / 0.733 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009802/1.704, allocations: 3.185 MB / 0.7361 GB, free: 11.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01461/1.718, allocations: 7.405 MB / 0.7433 GB, free: 3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.325/2.043, allocations: 4.717 MB / 0.7479 GB, free: 79.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/2.043, allocations: 44.81 kB / 0.748 GB, free: 79.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.04432/2.088, allocations: 12.85 MB / 0.7605 GB, free: 79.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/2.088, allocations: 68.97 kB / 0.7606 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02261/2.111, allocations: 6.161 MB / 0.7666 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/2.128, allocations: 3.107 MB / 0.7696 GB, free: 79.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/2.139, allocations: 1.75 MB / 0.7714 GB, free: 78.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/2.163, allocations: 15.02 MB / 0.786 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/2.175, allocations: 0.7701 MB / 0.7868 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/2.178, allocations: 448.2 kB / 0.7872 GB, free: 71.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (891): * Single equations (assignments): 871 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007735/2.185, allocations: 2.305 MB / 0.7895 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/2.187, allocations: 405.9 kB / 0.7898 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/2.216, allocations: 6.997 MB / 0.7967 GB, free: 70.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02516/2.241, allocations: 6.339 MB / 0.8029 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.863e-05/2.241, allocations: 11.61 kB / 0.8029 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/2.241, allocations: 14.33 kB / 0.8029 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04978/2.291, allocations: 14.97 MB / 0.8175 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/2.291, allocations: 8.625 kB / 0.8175 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/2.295, allocations: 412.7 kB / 0.8179 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01897/2.314, allocations: 3.342 MB / 0.8212 GB, free: 63.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008235/2.315, allocations: 78.44 kB / 0.8212 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03079/2.346, allocations: 16.94 MB / 0.8378 GB, free: 53.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003478/2.349, allocations: 4.45 MB / 0.8421 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03277/2.382, allocations: 10.88 MB / 0.8528 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/2.384, allocations: 487.5 kB / 0.8532 GB, free: 44.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/2.386, allocations: 64.08 kB / 0.8533 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006075/2.392, allocations: 338.3 kB / 0.8536 GB, free: 44.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001288/2.393, allocations: 186.2 kB / 0.8538 GB, free: 44.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/2.393, allocations: 74.66 kB / 0.8539 GB, free: 44.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008299/2.402, allocations: 2.882 MB / 0.8567 GB, free: 43.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.402, allocations: 0 / 0.8567 GB, free: 43.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009979/2.412, allocations: 1.479 MB / 0.8581 GB, free: 42.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.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 (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03461/2.446, allocations: 12.48 MB / 0.8703 GB, free: 31.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02613/2.473, allocations: 8.825 MB / 0.8789 GB, free: 23.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.473, allocations: 0 / 0.8789 GB, free: 23.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01569/2.488, allocations: 4.571 MB / 0.8834 GB, free: 18.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/2.494, allocations: 0.4936 MB / 0.8839 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4703/2.964, allocations: 150.2 MB / 1.031 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009292/2.973, allocations: 3.729 MB / 1.034 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01136/2.985, allocations: 2.216 MB / 1.036 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005836/2.991, allocations: 2.22 MB / 1.039 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of SimCode: time 1.223e-06/2.991, allocations: 0 / 1.039 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5522/3.543, allocations: 103.1 MB / 1.139 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/3.543, allocations: 206.4 kB / 1.139 GB, free: 121 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/10.41, allocations: 0 / 1.139 GB, free: 121 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat