Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002219/0.002219, allocations: 181.9 kB / 16.4 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001109/0.001109, allocations: 93.3 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5059/0.5059, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004545, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6038, allocations: 109.1 MB / 0.5853 GB, free: 9.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.6041, allocations: 79.95 kB / 0.5853 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7166/1.321, allocations: 98.96 MB / 0.682 GB, free: 92.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.746e-06/1.321, allocations: 3.031 kB / 0.682 GB, free: 92.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002142/1.321, allocations: 87.97 kB / 0.6821 GB, free: 92.04 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.02426/1.345, allocations: 4.84 MB / 0.6868 GB, free: 90.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.345, allocations: 9.922 kB / 0.6868 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/1.372, allocations: 3.628 MB / 0.6903 GB, free: 89.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/1.391, allocations: 4.952 MB / 0.6952 GB, free: 89.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/1.392, allocations: 382.9 kB / 0.6956 GB, free: 89.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003192/1.395, allocations: 0.4893 MB / 0.696 GB, free: 89.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/1.433, allocations: 12.33 MB / 0.7081 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003025/1.433, allocations: 31.55 kB / 0.7081 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002734/1.436, allocations: 225.1 kB / 0.7083 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/1.439, allocations: 1.338 MB / 0.7096 GB, free: 87.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03554/1.475, allocations: 11.64 MB / 0.721 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/1.555, allocations: 42.31 MB / 0.7623 GB, free: 61.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.571, allocations: 5.078 MB / 0.7673 GB, free: 59.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/1.587, allocations: 6.919 MB / 0.774 GB, free: 55.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.587, allocations: 55.64 kB / 0.7741 GB, free: 55.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.292e-06/1.587, allocations: 0 / 0.7741 GB, free: 55.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.06287/1.65, allocations: 16.99 MB / 0.7907 GB, free: 48.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.65, allocations: 73.41 kB / 0.7907 GB, free: 47.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/1.656, allocations: 2.87 MB / 0.7935 GB, free: 45.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005403/1.657, allocations: 55.97 kB / 0.7936 GB, free: 45.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.659, allocations: 3.295 MB / 0.7968 GB, free: 42.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.66, allocations: 0.9083 MB / 0.7977 GB, free: 41.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007281/1.661, allocations: 117.2 kB / 0.7978 GB, free: 41.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004262/1.662, allocations: 0.575 MB / 0.7984 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/1.667, allocations: 2.392 MB / 0.8007 GB, free: 39.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007949/1.675, allocations: 5.787 MB / 0.8064 GB, free: 32.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007959/1.683, allocations: 3.716 MB / 0.81 GB, free: 28.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-05/1.683, allocations: 32 kB / 0.81 GB, free: 28.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.02414/1.708, allocations: 8.892 MB / 0.8187 GB, free: 20.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/1.708, allocations: 58.81 kB / 0.8188 GB, free: 20.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/1.708, allocations: 120 kB / 0.8189 GB, free: 20.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005893/1.714, allocations: 1.145 MB / 0.82 GB, free: 20.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008363/1.722, allocations: 1.391 MB / 0.8214 GB, free: 18.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008523/1.731, allocations: 4.653 MB / 0.8259 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.737, allocations: 330.2 kB / 0.8262 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.738, allocations: 356 kB / 0.8266 GB, free: 14.02 MB / 490.7 MB 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.006138/1.744, allocations: 2.433 MB / 0.8289 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/1.745, allocations: 307.2 kB / 0.8292 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.757, allocations: 4.474 MB / 0.8336 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-05/1.757, allocations: 50.22 kB / 0.8336 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.757, allocations: 0 / 0.8336 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/1.757, allocations: 18.53 kB / 0.8337 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03141/1.789, allocations: 10.61 MB / 0.844 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/1.789, allocations: 8 kB / 0.844 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/1.793, allocations: 399.4 kB / 0.8444 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/1.796, allocations: 0.6812 MB / 0.8451 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005139/1.797, allocations: 53.25 kB / 0.8451 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/1.801, allocations: 2.459 MB / 0.8475 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.801, allocations: 4 kB / 0.8475 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/1.82, allocations: 7.331 MB / 0.8547 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.821, allocations: 357 kB / 0.855 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009828/1.822, allocations: 52.48 kB / 0.8551 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.824, allocations: 136.7 kB / 0.8552 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/1.825, allocations: 138.6 kB / 0.8553 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.825, allocations: 64.84 kB / 0.8554 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.3466/2.172, allocations: 1.945 MB / 0.8573 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/2.172, allocations: 1.031 kB / 0.8573 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006618/2.178, allocations: 1.084 MB / 0.8584 GB, free: 96.3 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.0007089/2.179, allocations: 193.2 kB / 0.8585 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01526/2.194, allocations: 5.876 MB / 0.8643 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.195, allocations: 0 / 0.8643 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006585/2.201, allocations: 2.436 MB / 0.8667 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/2.204, allocations: 425.3 kB / 0.8671 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/2.233, allocations: 14.13 MB / 0.8809 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006907/2.24, allocations: 3.86 MB / 0.8846 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/2.242, allocations: 289.3 kB / 0.8849 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/2.242, allocations: 3.406 kB / 0.8849 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.1801/2.422, allocations: 113 MB / 0.9953 GB, free: 34.06 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches