Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009145/0.0009145, allocations: 105.2 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 45.14 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.572e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5495, allocations: 104.9 MB / 0.6068 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5498, allocations: 78.02 kB / 0.6069 GB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2589/0.8087, allocations: 101.4 MB / 0.7059 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.8087, allocations: 0 / 0.7059 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003288/0.809, allocations: 99.98 kB / 0.706 GB, free: 380 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.03181/0.8409, allocations: 6.203 MB / 0.7121 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.8409, allocations: 12.03 kB / 0.7121 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.8579, allocations: 3.098 MB / 0.7151 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/0.8752, allocations: 6.045 MB / 0.721 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.8756, allocations: 156 kB / 0.7212 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.8784, allocations: 303.8 kB / 0.7215 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01526/0.8936, allocations: 7.321 MB / 0.7286 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.9224, allocations: 10.92 MB / 0.7393 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004189/0.9228, allocations: 75.34 kB / 0.7394 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/0.9254, allocations: 36 kB / 0.7394 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.9278, allocations: 1.241 MB / 0.7406 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4024/1.33, allocations: 56.99 MB / 0.7963 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/1.337, allocations: 3.61 MB / 0.7998 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00485/1.342, allocations: 2.286 MB / 0.802 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/1.344, allocations: 1.654 MB / 0.8036 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/1.344, allocations: 56.06 kB / 0.8037 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=226): time 7.344e-06/1.344, allocations: 0 / 0.8037 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.0436/1.388, allocations: 20.51 MB / 0.8237 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/1.388, allocations: 265.4 kB / 0.824 GB, free: 83.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.393, allocations: 3.448 MB / 0.8273 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004529/1.394, allocations: 29.48 kB / 0.8274 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.395, allocations: 3.563 MB / 0.8308 GB, free: 80.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000884/1.396, allocations: 0.9926 MB / 0.8318 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/1.396, allocations: 3.031 kB / 0.8318 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002883/1.397, allocations: 0.6314 MB / 0.8324 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.4, allocations: 2.97 MB / 0.8353 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/1.405, allocations: 7.326 MB / 0.8425 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/1.41, allocations: 4.578 MB / 0.847 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.028e-05/1.41, allocations: 44.22 kB / 0.847 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.02172/1.432, allocations: 12.06 MB / 0.8588 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.432, allocations: 71.66 kB / 0.8588 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01224/1.444, allocations: 6.248 MB / 0.8649 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009991/1.454, allocations: 3.272 MB / 0.8681 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/1.46, allocations: 1.784 MB / 0.8699 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.474, allocations: 15.06 MB / 0.8846 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008026/1.482, allocations: 0.6259 MB / 0.8852 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/1.485, allocations: 475 kB / 0.8857 GB, free: 50.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (930): * Single equations (assignments): 910 * 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 {4,4,4} * 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.00267/1.487, allocations: 0.5011 MB / 0.8861 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.488, allocations: 388 kB / 0.8865 GB, free: 49.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.503, allocations: 6.787 MB / 0.8931 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01211/1.515, allocations: 6.16 MB / 0.8992 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.848e-05/1.515, allocations: 8 kB / 0.8992 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/1.515, allocations: 11.81 kB / 0.8992 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.544, allocations: 14.77 MB / 0.9136 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/1.544, allocations: 4 kB / 0.9136 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/1.546, allocations: 442.9 kB / 0.914 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009336/1.555, allocations: 3.268 MB / 0.9172 GB, free: 24.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006496/1.556, allocations: 51.86 kB / 0.9173 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.571, allocations: 16 MB / 0.9329 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002061/1.573, allocations: 4.246 MB / 0.937 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/1.593, allocations: 10.78 MB / 0.9476 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.595, allocations: 448 kB / 0.948 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.596, allocations: 27.92 kB / 0.948 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/1.599, allocations: 307.4 kB / 0.9483 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/1.6, allocations: 201.6 kB / 0.9485 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/1.6, allocations: 75.95 kB / 0.9486 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004989/1.605, allocations: 2.284 MB / 0.9508 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.61e-07/1.605, allocations: 0 / 0.9508 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00936/1.615, allocations: 1.402 MB / 0.9522 GB, free: 3.707 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 181 * 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.001009/1.616, allocations: 185.4 kB / 0.9523 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.2795/1.895, allocations: 8.814 MB / 0.961 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.895, allocations: 1.281 kB / 0.961 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008525/1.904, allocations: 4.516 MB / 0.9654 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/1.907, allocations: 416.1 kB / 0.9658 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.927, allocations: 11.32 MB / 0.9768 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/1.93, allocations: 3.788 MB / 0.9805 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005499/1.936, allocations: 2.316 MB / 0.9828 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/1.937, allocations: 287.1 kB / 0.983 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/1.937, allocations: 4 kB / 0.9831 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.08054/2.017, allocations: 50.76 MB / 1.033 GB, free: 119.9 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring2/Spring2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches