Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002376/0.002376, allocations: 181.7 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.147/2.147, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00108/0.00108, allocations: 90.62 kB / 267.5 MB, free: 14.11 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.2762/0.2762, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.068e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6507/0.7725, allocations: 103.3 MB / 0.5736 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.7728, allocations: 84.61 kB / 0.5737 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4168/1.19, allocations: 95.48 MB / 0.6669 GB, free: 8.805 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.19, allocations: 0 / 0.6669 GB, free: 8.805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000252/1.19, allocations: 84 kB / 0.667 GB, free: 8.723 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01814/1.208, allocations: 4.251 MB / 0.6712 GB, free: 4.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.208, allocations: 8.031 kB / 0.6712 GB, free: 4.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02876/1.237, allocations: 3.616 MB / 0.6747 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01892/1.256, allocations: 4.478 MB / 0.6791 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000624/1.257, allocations: 340.8 kB / 0.6794 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/1.26, allocations: 447.8 kB / 0.6798 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04081/1.301, allocations: 11.67 MB / 0.6912 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002945/1.301, allocations: 31.66 kB / 0.6913 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/1.304, allocations: 203.8 kB / 0.6915 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003508/1.308, allocations: 1.329 MB / 0.6928 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03684/1.344, allocations: 11.23 MB / 0.7037 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.436/1.781, allocations: 41.47 MB / 0.7442 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/1.8, allocations: 5.936 MB / 0.75 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00615/1.806, allocations: 2.973 MB / 0.7529 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/1.808, allocations: 1.889 MB / 0.7548 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/1.808, allocations: 54.03 kB / 0.7548 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 1.031e-05/1.808, allocations: 3.312 kB / 0.7548 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.07195/1.88, allocations: 16.63 MB / 0.7711 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/1.881, allocations: 76.22 kB / 0.7711 GB, free: 94.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/1.887, allocations: 2.681 MB / 0.7738 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007581/1.888, allocations: 66.62 kB / 0.7738 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.89, allocations: 2.988 MB / 0.7767 GB, free: 91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.892, allocations: 1.019 MB / 0.7777 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/1.893, allocations: 117.4 kB / 0.7778 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004886/1.893, allocations: 0.5663 MB / 0.7784 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006874/1.9, allocations: 2.763 MB / 0.7811 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009612/1.91, allocations: 5.935 MB / 0.7869 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009187/1.919, allocations: 4.08 MB / 0.7909 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.919, allocations: 31.66 kB / 0.7909 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02844/1.948, allocations: 9.818 MB / 0.8005 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/1.948, allocations: 51.88 kB / 0.8005 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/1.948, allocations: 115.4 kB / 0.8007 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006519/1.954, allocations: 1.381 MB / 0.802 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009563/1.964, allocations: 1.386 MB / 0.8034 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/1.979, allocations: 7.188 MB / 0.8104 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/1.987, allocations: 405.6 kB / 0.8108 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.988, allocations: 345.2 kB / 0.8111 GB, free: 71.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 505 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (720): * Single equations (assignments): 713 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002609/1.991, allocations: 0.5367 MB / 0.8116 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008863/1.992, allocations: 300.1 kB / 0.8119 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/2.012, allocations: 6.584 MB / 0.8183 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/2.012, allocations: 44.7 kB / 0.8184 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/2.012, allocations: 7.891 kB / 0.8184 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/2.013, allocations: 10.41 kB / 0.8184 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04065/2.053, allocations: 14.02 MB / 0.8321 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.641e-05/2.053, allocations: 8.125 kB / 0.8321 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004383/2.058, allocations: 462.8 kB / 0.8325 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006129/2.064, allocations: 1.204 MB / 0.8337 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007747/2.065, allocations: 54.19 kB / 0.8338 GB, free: 52.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/2.078, allocations: 6.525 MB / 0.8401 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/2.078, allocations: 11.94 kB / 0.8401 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/2.103, allocations: 10.38 MB / 0.8503 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003208/2.106, allocations: 0.8211 MB / 0.8511 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/2.107, allocations: 55.81 kB / 0.8511 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.111, allocations: 203.7 kB / 0.8513 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009912/2.112, allocations: 165.6 kB / 0.8515 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003212/2.113, allocations: 75.98 kB / 0.8516 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004382/2.117, allocations: 1.829 MB / 0.8533 GB, free: 34.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.02e-07/2.117, allocations: 4 kB / 0.8533 GB, free: 34.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007317/2.124, allocations: 1.138 MB / 0.8545 GB, free: 32.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/2.125, allocations: 202.3 kB / 0.8546 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01554/2.141, allocations: 6.823 MB / 0.8613 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.141, allocations: 4.062 kB / 0.8613 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006265/2.147, allocations: 2.739 MB / 0.864 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/2.151, allocations: 352 kB / 0.8643 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/2.177, allocations: 10.21 MB / 0.8743 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00692/2.184, allocations: 3.698 MB / 0.8779 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/2.186, allocations: 287.4 kB / 0.8782 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/2.186, allocations: 0 / 0.8782 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of Templates: time 0.5257/2.712, allocations: 80.64 MB / 0.9569 GB, free: 110.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches