Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.295/1.295, allocations: 223.2 MB / 241 MB, free: 11.89 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.001128/0.001127, allocations: 91.19 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3197/0.3197, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 11.98 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4639, allocations: 110.4 MB / 0.6173 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4642, allocations: 83.95 kB / 0.6174 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4358/0.9, allocations: 97.83 MB / 0.713 GB, free: 97.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.9001, allocations: 0 / 0.713 GB, free: 97.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000201/0.9003, allocations: 86.06 kB / 0.713 GB, free: 97.17 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01701/0.9173, allocations: 4.745 MB / 0.7177 GB, free: 95.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.9174, allocations: 10.41 kB / 0.7177 GB, free: 95.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.9318, allocations: 3.598 MB / 0.7212 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.9443, allocations: 4.746 MB / 0.7258 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.9446, allocations: 380.8 kB / 0.7262 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.9457, allocations: 490 kB / 0.7267 GB, free: 93.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.9656, allocations: 12.04 MB / 0.7384 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.9657, allocations: 30.03 kB / 0.7385 GB, free: 88.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006895/0.9664, allocations: 223.7 kB / 0.7387 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001235/0.9677, allocations: 1.293 MB / 0.7399 GB, free: 88.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.9843, allocations: 11.34 MB / 0.751 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04502/1.029, allocations: 41.37 MB / 0.7914 GB, free: 51.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007481/1.037, allocations: 4.935 MB / 0.7962 GB, free: 46.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007687/1.045, allocations: 6.819 MB / 0.8029 GB, free: 39.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.045, allocations: 56.56 kB / 0.8029 GB, free: 39.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 4.648e-06/1.045, allocations: 0 / 0.8029 GB, free: 39.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02948/1.074, allocations: 16.64 MB / 0.8192 GB, free: 22.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/1.074, allocations: 69.41 kB / 0.8192 GB, free: 22.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/1.078, allocations: 2.806 MB / 0.822 GB, free: 19.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/1.078, allocations: 53.7 kB / 0.822 GB, free: 19.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.079, allocations: 3.226 MB / 0.8252 GB, free: 16.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/1.08, allocations: 0.8819 MB / 0.826 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.08, allocations: 118.9 kB / 0.8262 GB, free: 15.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002353/1.08, allocations: 0.5583 MB / 0.8267 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.083, allocations: 2.338 MB / 0.829 GB, free: 12.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/1.087, allocations: 5.639 MB / 0.8345 GB, free: 5.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/1.091, allocations: 3.618 MB / 0.838 GB, free: 1.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/1.091, allocations: 32 kB / 0.8381 GB, free: 1.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01488/1.106, allocations: 8.747 MB / 0.8466 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/1.106, allocations: 59.94 kB / 0.8467 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/1.106, allocations: 116 kB / 0.8468 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/1.109, allocations: 1.141 MB / 0.8479 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/1.114, allocations: 1.341 MB / 0.8492 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/1.119, allocations: 4.661 MB / 0.8537 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/1.123, allocations: 327.8 kB / 0.8541 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/1.123, allocations: 344 kB / 0.8544 GB, free: 0.7461 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 721 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.00375/1.127, allocations: 2.365 MB / 0.8567 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.128, allocations: 304.1 kB / 0.857 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006906/1.135, allocations: 4.373 MB / 0.8613 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/1.135, allocations: 47.98 kB / 0.8613 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.135, allocations: 4 kB / 0.8613 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.135, allocations: 7.969 kB / 0.8613 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/1.409, allocations: 10.37 MB / 0.8714 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.409, allocations: 6.094 kB / 0.8714 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.411, allocations: 376.5 kB / 0.8718 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.413, allocations: 0.676 MB / 0.8725 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/1.413, allocations: 47.53 kB / 0.8725 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.415, allocations: 2.442 MB / 0.8749 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.415, allocations: 9.781 kB / 0.8749 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/1.424, allocations: 7.165 MB / 0.8819 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.425, allocations: 344.9 kB / 0.8822 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008355/1.426, allocations: 43.53 kB / 0.8823 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.428, allocations: 134.9 kB / 0.8824 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/1.428, allocations: 134.8 kB / 0.8825 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.428, allocations: 66.61 kB / 0.8826 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002633/1.431, allocations: 1.895 MB / 0.8844 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.431, allocations: 3.938 kB / 0.8844 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004293/1.435, allocations: 1.057 MB / 0.8855 GB, free: 112.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004671/1.435, allocations: 195 kB / 0.8857 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007589/1.443, allocations: 5.72 MB / 0.8912 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.443, allocations: 2.812 kB / 0.8913 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003523/1.447, allocations: 2.381 MB / 0.8936 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.449, allocations: 430.5 kB / 0.894 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/1.472, allocations: 13.23 MB / 0.9069 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00464/1.476, allocations: 3.786 MB / 0.9106 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004904/1.481, allocations: 2.013 MB / 0.9126 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/1.482, allocations: 235 kB / 0.9128 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/1.482, allocations: 5.688 kB / 0.9128 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.05699/1.539, allocations: 33.82 MB / 0.9458 GB, free: 102.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches