Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001946/0.001946, allocations: 182.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009549/0.0009549, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2224/0.2224, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003456, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 58.87 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5682, allocations: 109.1 MB / 0.5853 GB, free: 7.062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5685, allocations: 83.05 kB / 0.5854 GB, free: 7.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2537/0.8222, allocations: 98.95 MB / 0.682 GB, free: 11.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.8223, allocations: 3.938 kB / 0.682 GB, free: 11.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002746/0.8226, allocations: 103.9 kB / 0.6821 GB, free: 11.55 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02031/0.8429, allocations: 4.838 MB / 0.6868 GB, free: 6.641 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.843, allocations: 8.031 kB / 0.6868 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.8591, allocations: 3.632 MB / 0.6904 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/0.8758, allocations: 4.936 MB / 0.6952 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007747/0.8767, allocations: 381.9 kB / 0.6956 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/0.8806, allocations: 0.4919 MB / 0.6961 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/0.9181, allocations: 12.34 MB / 0.7081 GB, free: 264 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003268/0.9185, allocations: 31.66 kB / 0.7081 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/0.9213, allocations: 231.8 kB / 0.7084 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2465/1.168, allocations: 1.33 MB / 0.7097 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02672/1.195, allocations: 11.62 MB / 0.721 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06031/1.255, allocations: 42.32 MB / 0.7623 GB, free: 98.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008723/1.264, allocations: 5.075 MB / 0.7673 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.276, allocations: 6.932 MB / 0.7741 GB, free: 92.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/1.276, allocations: 55.62 kB / 0.7741 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 7.894e-06/1.276, allocations: 3.891 kB / 0.7741 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03763/1.313, allocations: 16.99 MB / 0.7907 GB, free: 86.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.314, allocations: 72.38 kB / 0.7908 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005824/1.319, allocations: 2.869 MB / 0.7936 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/1.32, allocations: 58.62 kB / 0.7936 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.322, allocations: 3.299 MB / 0.7969 GB, free: 82.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.323, allocations: 0.9166 MB / 0.7978 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000651/1.324, allocations: 121.2 kB / 0.7979 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005471/1.324, allocations: 0.5726 MB / 0.7984 GB, free: 81.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/1.328, allocations: 2.395 MB / 0.8008 GB, free: 80.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/1.334, allocations: 5.777 MB / 0.8064 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00659/1.34, allocations: 3.706 MB / 0.81 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002248/1.341, allocations: 36 kB / 0.8101 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.0178/1.358, allocations: 8.966 MB / 0.8188 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.359, allocations: 56 kB / 0.8189 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002735/1.359, allocations: 117.3 kB / 0.819 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.362, allocations: 1.149 MB / 0.8201 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/1.367, allocations: 1.384 MB / 0.8215 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/1.372, allocations: 4.663 MB / 0.826 GB, free: 58.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/1.377, allocations: 331.3 kB / 0.8263 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.379, allocations: 356 kB / 0.8267 GB, free: 57.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (751): * Single equations (assignments): 743 * 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.00554/1.384, allocations: 2.427 MB / 0.829 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/1.385, allocations: 300.1 kB / 0.8293 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007813/1.393, allocations: 4.493 MB / 0.8337 GB, free: 51.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/1.393, allocations: 47.75 kB / 0.8338 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/1.393, allocations: 0 / 0.8338 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/1.393, allocations: 10.78 kB / 0.8338 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02375/1.417, allocations: 10.61 MB / 0.8441 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.417, allocations: 4 kB / 0.8441 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.419, allocations: 400.6 kB / 0.8445 GB, free: 42.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/1.421, allocations: 0.6755 MB / 0.8452 GB, free: 42.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/1.421, allocations: 56.16 kB / 0.8452 GB, free: 42.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.423, allocations: 2.463 MB / 0.8476 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.423, allocations: 7.938 kB / 0.8476 GB, free: 39.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009622/1.433, allocations: 7.328 MB / 0.8548 GB, free: 33.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.434, allocations: 359.9 kB / 0.8551 GB, free: 32.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008071/1.435, allocations: 47.75 kB / 0.8552 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.437, allocations: 145.1 kB / 0.8553 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/1.437, allocations: 135 kB / 0.8555 GB, free: 32.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.438, allocations: 71.7 kB / 0.8555 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005162/1.443, allocations: 1.943 MB / 0.8574 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.954e-06/1.443, allocations: 0 / 0.8574 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007241/1.45, allocations: 1.091 MB / 0.8585 GB, free: 29.71 MB / 0.4948 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 (197): * Single equations (assignments): 188 * 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.0009634/1.451, allocations: 192.5 kB / 0.8587 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.462, allocations: 5.866 MB / 0.8644 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.462, allocations: 0 / 0.8644 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.466, allocations: 2.441 MB / 0.8668 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.469, allocations: 415.9 kB / 0.8672 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.495, allocations: 13.59 MB / 0.8805 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/1.499, allocations: 3.862 MB / 0.8842 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004697/1.504, allocations: 2.059 MB / 0.8862 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/1.504, allocations: 243.4 kB / 0.8865 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/1.504, allocations: 0 / 0.8865 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.3257/1.83, allocations: 34.49 MB / 0.9201 GB, free: 113.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches