Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008745/0.0008745, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.249/1.249, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007101/0.0007101, allocations: 106.3 kB / 271.2 MB, free: 8.23 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.3106/0.3106, allocations: 43.55 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2073/0.3156, allocations: 26.73 MB / 0.5054 GB, free: 31.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3274, allocations: 6.497 MB / 0.5118 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.3307, allocations: 117.5 kB / 0.5119 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.3329, allocations: 1.291 MB / 0.5131 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008136/0.3411, allocations: 4.071 MB / 0.5171 GB, free: 25.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3422, allocations: 467.1 kB / 0.5176 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.3462, allocations: 4.447 MB / 0.5219 GB, free: 23.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.3487, allocations: 2.261 MB / 0.5241 GB, free: 22.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.35, allocations: 1.072 MB / 0.5252 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.3516, allocations: 1.747 MB / 0.5269 GB, free: 21.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003092/0.3519, allocations: 133.5 kB / 0.527 GB, free: 21.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.3536, allocations: 1.052 MB / 0.528 GB, free: 21.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.3548, allocations: 1.573 MB / 0.5295 GB, free: 20.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.3562, allocations: 1.766 MB / 0.5313 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.3621, allocations: 4.894 MB / 0.5361 GB, free: 18.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3621, allocations: 3.375 kB / 0.5361 GB, free: 18.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3621, allocations: 0 / 0.5361 GB, free: 18.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.3623, allocations: 0 / 0.5361 GB, free: 18.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.006629/0.3689, allocations: 3.564 MB / 0.5395 GB, free: 16.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.369, allocations: 9.188 kB / 0.5395 GB, free: 16.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.3796, allocations: 3.261 MB / 0.5427 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.3843, allocations: 2.167 MB / 0.5448 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.3845, allocations: 190.1 kB / 0.545 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.3856, allocations: 345.1 kB / 0.5454 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.4024, allocations: 10.77 MB / 0.5559 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.606e-05/0.4026, allocations: 35.72 kB / 0.5559 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.4029, allocations: 120.3 kB / 0.556 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003243/0.4062, allocations: 2.562 MB / 0.5585 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.4244, allocations: 10.25 MB / 0.5685 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05211/0.4766, allocations: 35.89 MB / 0.6036 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008226/0.4848, allocations: 4.422 MB / 0.6079 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.4882, allocations: 2.189 MB / 0.61 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.4894, allocations: 1.323 MB / 0.6113 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4894, allocations: 48.56 kB / 0.6114 GB, free: 13.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 5.972e-06/0.4894, allocations: 0 / 0.6114 GB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=261): time 0.03849/0.5279, allocations: 17.03 MB / 0.628 GB, free: 11.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001393/0.5293, allocations: 1.535 MB / 0.6295 GB, free: 10.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.5336, allocations: 2.77 MB / 0.6322 GB, free: 7.422 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005729/0.5342, allocations: 61.69 kB / 0.6323 GB, free: 7.355 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.536, allocations: 2.729 MB / 0.6349 GB, free: 4.586 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.5373, allocations: 0.9558 MB / 0.6359 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.5376, allocations: 119.9 kB / 0.636 GB, free: 3.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003601/0.5379, allocations: 0.5539 MB / 0.6365 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.5417, allocations: 2.459 MB / 0.6389 GB, free: 484 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/0.5475, allocations: 5.505 MB / 0.6443 GB, free: 9.484 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.5583, allocations: 8.67 MB / 0.6528 GB, free: 15.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.423e-05/0.5584, allocations: 32 kB / 0.6528 GB, free: 15.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02312/0.5816, allocations: 9.824 MB / 0.6624 GB, free: 5.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.5817, allocations: 51.98 kB / 0.6624 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01318/0.5949, allocations: 4.895 MB / 0.6672 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.6055, allocations: 2.378 MB / 0.6695 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.6099, allocations: 1.306 MB / 0.6708 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.6181, allocations: 5.844 MB / 0.6765 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/0.6227, allocations: 403.6 kB / 0.6769 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.6239, allocations: 328 kB / 0.6772 GB, free: 5.961 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (700): * Single equations (assignments): 688 * 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.004372/0.6283, allocations: 2.118 MB / 0.6793 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.6288, allocations: 284.3 kB / 0.6796 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2079/0.8368, allocations: 5.424 MB / 0.6849 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009402/0.8462, allocations: 4.688 MB / 0.6894 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.8462, allocations: 2.625 kB / 0.6894 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-05/0.8463, allocations: 10.08 kB / 0.6894 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/0.8696, allocations: 14.71 MB / 0.7038 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.8697, allocations: 11 kB / 0.7038 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.8714, allocations: 422 kB / 0.7042 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.8752, allocations: 1.242 MB / 0.7054 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/0.8756, allocations: 68.05 kB / 0.7055 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.8793, allocations: 4.451 MB / 0.7098 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006914/0.88, allocations: 1.468 MB / 0.7113 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.8927, allocations: 8.139 MB / 0.7192 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.8936, allocations: 339.4 kB / 0.7196 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005399/0.8942, allocations: 62.48 kB / 0.7196 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.8958, allocations: 196.7 kB / 0.7198 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/0.8962, allocations: 168.8 kB / 0.72 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.8964, allocations: 85.56 kB / 0.72 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002803/0.8992, allocations: 1.68 MB / 0.7217 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8992, allocations: 0 / 0.7217 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005254/0.9045, allocations: 1.083 MB / 0.7227 GB, free: 139.1 MB / 0.4948 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 (202): * Single equations (assignments): 192 * 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.0006353/0.9051, allocations: 206.1 kB / 0.7229 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009775/0.9149, allocations: 6.546 MB / 0.7293 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.915, allocations: 7.188 kB / 0.7293 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003923/0.9189, allocations: 2.887 MB / 0.7322 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/0.9239, allocations: 385.4 kB / 0.7325 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.9398, allocations: 13.03 MB / 0.7453 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/0.9427, allocations: 3.308 MB / 0.7485 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9439, allocations: 275.4 kB / 0.7487 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.9439, allocations: 0 / 0.7487 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.3036/1.247, allocations: 132.8 MB / 0.8784 GB, free: 146.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches