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.001572/0.001572, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.069/2.069, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001071/0.001071, allocations: 78.7 kB / 267.5 MB, free: 14.04 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.2753/0.2753, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.832e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.6546, allocations: 109 MB / 0.5793 GB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.655, allocations: 81.8 kB / 0.5793 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4199/1.075, allocations: 99.02 MB / 0.676 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.288e-06/1.075, allocations: 0 / 0.676 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002634/1.075, allocations: 103.9 kB / 0.6761 GB, free: 15.39 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.02481/1.1, allocations: 4.687 MB / 0.6807 GB, free: 10.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.1, allocations: 8.031 kB / 0.6807 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/1.129, allocations: 3.628 MB / 0.6843 GB, free: 6.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.149, allocations: 4.925 MB / 0.6891 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/1.15, allocations: 381.9 kB / 0.6894 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/1.153, allocations: 495.8 kB / 0.6899 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04164/1.195, allocations: 12.24 MB / 0.7019 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/1.195, allocations: 35.66 kB / 0.7019 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002963/1.198, allocations: 227.8 kB / 0.7021 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/1.202, allocations: 1.334 MB / 0.7034 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3865/1.588, allocations: 11.45 MB / 0.7146 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08842/1.677, allocations: 42.33 MB / 0.7559 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/1.693, allocations: 5.026 MB / 0.7608 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/1.698, allocations: 2.378 MB / 0.7632 GB, free: 94.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.715, allocations: 6.936 MB / 0.7699 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/1.715, allocations: 57.78 kB / 0.77 GB, free: 90.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 6.011e-06/1.715, allocations: 0 / 0.77 GB, free: 90.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.05751/1.773, allocations: 13.82 MB / 0.7835 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.773, allocations: 76.06 kB / 0.7835 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006583/1.779, allocations: 2.845 MB / 0.7863 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005741/1.78, allocations: 57.91 kB / 0.7864 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002546/1.782, allocations: 3.283 MB / 0.7896 GB, free: 82.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.784, allocations: 0.9172 MB / 0.7905 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007724/1.785, allocations: 119.5 kB / 0.7906 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006085/1.785, allocations: 0.5747 MB / 0.7912 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.791, allocations: 2.345 MB / 0.7934 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008007/1.799, allocations: 5.735 MB / 0.799 GB, free: 75.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008402/1.808, allocations: 3.695 MB / 0.8027 GB, free: 74.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.808, allocations: 37.41 kB / 0.8027 GB, free: 74.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.02533/1.833, allocations: 8.796 MB / 0.8113 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.834, allocations: 59.44 kB / 0.8113 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/1.834, allocations: 119.9 kB / 0.8115 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006164/1.84, allocations: 1.144 MB / 0.8126 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009101/1.849, allocations: 1.391 MB / 0.8139 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00908/1.858, allocations: 4.585 MB / 0.8184 GB, free: 61.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/1.865, allocations: 337.1 kB / 0.8187 GB, free: 61.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.867, allocations: 355.4 kB / 0.8191 GB, free: 60.85 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 () * 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.002829/1.87, allocations: 0.5468 MB / 0.8196 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009133/1.871, allocations: 308 kB / 0.8199 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.884, allocations: 4.433 MB / 0.8242 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/1.884, allocations: 47.33 kB / 0.8243 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.884, allocations: 3.953 kB / 0.8243 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/1.885, allocations: 7.219 kB / 0.8243 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03285/1.917, allocations: 10.57 MB / 0.8346 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/1.917, allocations: 8 kB / 0.8346 GB, free: 47.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003808/1.921, allocations: 399.1 kB / 0.835 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/1.925, allocations: 0.6752 MB / 0.8357 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.926, allocations: 51.75 kB / 0.8357 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/1.93, allocations: 2.428 MB / 0.8381 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.93, allocations: 7.938 kB / 0.8381 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.946, allocations: 7.272 MB / 0.8452 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.948, allocations: 355.3 kB / 0.8455 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.949, allocations: 44 kB / 0.8456 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/1.952, allocations: 138.3 kB / 0.8457 GB, free: 37.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008048/1.953, allocations: 142.2 kB / 0.8458 GB, free: 37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000368/1.953, allocations: 71.42 kB / 0.8459 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005984/1.959, allocations: 1.915 MB / 0.8478 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.286e-06/1.96, allocations: 0 / 0.8478 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01227/1.972, allocations: 1.095 MB / 0.8488 GB, free: 34.17 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 () * 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.001113/1.973, allocations: 191.3 kB / 0.849 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.987, allocations: 5.8 MB / 0.8547 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.988, allocations: 0 / 0.8547 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006879/1.994, allocations: 2.415 MB / 0.857 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.998, allocations: 420.8 kB / 0.8574 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02928/2.028, allocations: 10.11 MB / 0.8673 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00997/2.038, allocations: 3.862 MB / 0.8711 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/2.04, allocations: 295.4 kB / 0.8714 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/2.04, allocations: 0 / 0.8714 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.5592/2.599, allocations: 113 MB / 0.9817 GB, free: 91.21 MB / 0.5105 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