Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 176.4 kB / 17.06 MB, free: 5.094 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.31/1.31, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009354/0.0009356, allocations: 103.8 kB / 292.2 MB, free: 10.92 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.3544/0.3544, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 11.98 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.353, allocations: 61.91 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4841, allocations: 103.5 MB / 0.6107 GB, free: 7.582 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4844, allocations: 83.95 kB / 0.6107 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.436/0.9204, allocations: 86.37 MB / 0.6951 GB, free: 98.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.9204, allocations: 5.125 kB / 0.6951 GB, free: 98.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000188/0.9206, allocations: 72.36 kB / 0.6952 GB, free: 98.83 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01282/0.9335, allocations: 3.779 MB / 0.6989 GB, free: 97.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9335, allocations: 10.34 kB / 0.6989 GB, free: 97.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.949, allocations: 3.616 MB / 0.7024 GB, free: 96.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.9637, allocations: 4.777 MB / 0.7071 GB, free: 96.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.9643, allocations: 293.4 kB / 0.7073 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/0.967, allocations: 380.2 kB / 0.7077 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/0.9905, allocations: 10.08 MB / 0.7176 GB, free: 94.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002806/0.9908, allocations: 35.12 kB / 0.7176 GB, free: 94.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001856/0.9927, allocations: 167.9 kB / 0.7177 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.9948, allocations: 1.164 MB / 0.7189 GB, free: 94.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/1.012, allocations: 9.889 MB / 0.7285 GB, free: 91.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04393/1.056, allocations: 35.7 MB / 0.7634 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/1.062, allocations: 4.291 MB / 0.7676 GB, free: 67.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009423/1.063, allocations: 1.313 MB / 0.7689 GB, free: 66.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/1.063, allocations: 55.28 kB / 0.7689 GB, free: 66.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 5.49e-06/1.063, allocations: 0 / 0.7689 GB, free: 66.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03415/1.098, allocations: 16.95 MB / 0.7855 GB, free: 54.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001029/1.099, allocations: 1.547 MB / 0.787 GB, free: 52.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/1.103, allocations: 2.417 MB / 0.7894 GB, free: 50.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/1.103, allocations: 61.61 kB / 0.7894 GB, free: 50.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/1.105, allocations: 2.669 MB / 0.792 GB, free: 47.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.106, allocations: 0.923 MB / 0.7929 GB, free: 47.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/1.106, allocations: 104 kB / 0.793 GB, free: 47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003717/1.107, allocations: 0.5407 MB / 0.7935 GB, free: 46.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.11, allocations: 2.376 MB / 0.7959 GB, free: 44.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004335/1.114, allocations: 5.32 MB / 0.8011 GB, free: 38.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/1.118, allocations: 3.561 MB / 0.8045 GB, free: 35.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.161e-05/1.118, allocations: 32 kB / 0.8046 GB, free: 35 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01708/1.135, allocations: 9.3 MB / 0.8137 GB, free: 26.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/1.135, allocations: 55.98 kB / 0.8137 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01093/1.146, allocations: 4.504 MB / 0.8181 GB, free: 21.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009186/1.156, allocations: 2.055 MB / 0.8201 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/1.16, allocations: 1.248 MB / 0.8213 GB, free: 18.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/1.166, allocations: 5.133 MB / 0.8263 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/1.171, allocations: 383.4 kB / 0.8267 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009261/1.172, allocations: 320 kB / 0.827 GB, free: 12.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (669): * Single equations (assignments): 657 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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 prepare postOptimizeDAE: time 0.00359/1.176, allocations: 2.064 MB / 0.829 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/1.176, allocations: 280.3 kB / 0.8293 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008413/1.185, allocations: 5.263 MB / 0.8344 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007061/1.192, allocations: 4.542 MB / 0.8389 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.192, allocations: 3.984 kB / 0.8389 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/1.192, allocations: 11.92 kB / 0.8389 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.216, allocations: 14.36 MB / 0.8529 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.216, allocations: 12 kB / 0.8529 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.218, allocations: 399.4 kB / 0.8533 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/1.222, allocations: 1.189 MB / 0.8545 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/1.222, allocations: 63.97 kB / 0.8545 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004454/1.226, allocations: 4.517 MB / 0.8589 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009051/1.227, allocations: 1.483 MB / 0.8604 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.24, allocations: 8.674 MB / 0.8689 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.242, allocations: 337.5 kB / 0.8692 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/1.242, allocations: 55.98 kB / 0.8692 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.244, allocations: 188.1 kB / 0.8694 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.244, allocations: 167.7 kB / 0.8696 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.244, allocations: 75.97 kB / 0.8696 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0025/1.247, allocations: 1.652 MB / 0.8713 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.247, allocations: 0 / 0.8713 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004312/1.251, allocations: 1.043 MB / 0.8723 GB, free: 12.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0005378/1.252, allocations: 215.4 kB / 0.8725 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009883/1.261, allocations: 6.322 MB / 0.8787 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.261, allocations: 4 kB / 0.8787 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/1.266, allocations: 2.845 MB / 0.8814 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.268, allocations: 346.7 kB / 0.8818 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2593/1.527, allocations: 12.23 MB / 0.8937 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/1.53, allocations: 3.314 MB / 0.8969 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004295/1.535, allocations: 2.065 MB / 0.899 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/1.535, allocations: 215.9 kB / 0.8992 GB, free: 129 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/1.535, allocations: 0 / 0.8992 GB, free: 129 MB / 0.5261 GB Notification: Performance of Templates: time 0.05855/1.594, allocations: 33.46 MB / 0.9318 GB, free: 127.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches