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.002288/0.002287, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 96.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.301/0.301, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.237e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4805, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.6734, allocations: 102.6 MB / 0.5661 GB, free: 12.67 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6737, allocations: 79.47 kB / 0.5662 GB, free: 12.6 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7434/1.417, allocations: 93.59 MB / 0.6576 GB, free: 108.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.114e-06/1.417, allocations: 0 / 0.6576 GB, free: 108.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002596/1.417, allocations: 80.56 kB / 0.6576 GB, free: 108.6 MB / 475.1 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.01895/1.436, allocations: 4.252 MB / 0.6618 GB, free: 106.8 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.436, allocations: 9.625 kB / 0.6618 GB, free: 106.8 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/1.464, allocations: 3.612 MB / 0.6653 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01776/1.482, allocations: 4.471 MB / 0.6697 GB, free: 105.9 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/1.483, allocations: 145.8 kB / 0.6698 GB, free: 105.9 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/1.486, allocations: 256.9 kB / 0.6701 GB, free: 105.9 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01985/1.505, allocations: 8.177 MB / 0.6781 GB, free: 105.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/1.538, allocations: 10.73 MB / 0.6885 GB, free: 101.9 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/1.538, allocations: 43.72 kB / 0.6886 GB, free: 101.9 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/1.541, allocations: 14 kB / 0.6886 GB, free: 101.9 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003044/1.544, allocations: 1.332 MB / 0.6899 GB, free: 101.6 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07888/1.623, allocations: 38.89 MB / 0.7279 GB, free: 75.68 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008146/1.631, allocations: 5.084 MB / 0.7328 GB, free: 70.81 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/1.636, allocations: 2.919 MB / 0.7357 GB, free: 68.14 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/1.638, allocations: 1.893 MB / 0.7375 GB, free: 66.04 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.638, allocations: 57.41 kB / 0.7376 GB, free: 65.98 MB / 475.1 MB Notification: Performance of pre-optimization done (n=264): time 6.523e-06/1.638, allocations: 0 / 0.7376 GB, free: 65.98 MB / 475.1 MB Notification: Performance of matching and sorting (n=285): time 0.0541/1.692, allocations: 16.68 MB / 0.7539 GB, free: 50.73 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.693, allocations: 73.41 kB / 0.754 GB, free: 50.65 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/1.697, allocations: 2.474 MB / 0.7564 GB, free: 48.16 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007076/1.698, allocations: 25.7 kB / 0.7564 GB, free: 48.13 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.7, allocations: 3.087 MB / 0.7594 GB, free: 45 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.702, allocations: 0.9978 MB / 0.7604 GB, free: 43.98 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/1.703, allocations: 4 kB / 0.7604 GB, free: 43.98 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.000413/1.703, allocations: 0.5834 MB / 0.761 GB, free: 43.39 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005598/1.709, allocations: 2.726 MB / 0.7636 GB, free: 40.66 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007868/1.717, allocations: 6.116 MB / 0.7696 GB, free: 32.85 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008695/1.725, allocations: 4.096 MB / 0.7736 GB, free: 28.75 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.725, allocations: 36 kB / 0.7736 GB, free: 28.71 MB / 475.1 MB Notification: Performance of matching and sorting (n=834) (initialization): time 0.02578/1.751, allocations: 9.368 MB / 0.7828 GB, free: 19.34 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/1.751, allocations: 56 kB / 0.7828 GB, free: 19.28 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.752, allocations: 122.9 kB / 0.783 GB, free: 19.16 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006252/1.758, allocations: 1.39 MB / 0.7843 GB, free: 17.77 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009607/1.767, allocations: 1.478 MB / 0.7858 GB, free: 16.29 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.781, allocations: 6.808 MB / 0.7924 GB, free: 9.363 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007261/1.788, allocations: 303.6 kB / 0.7927 GB, free: 9.066 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.79, allocations: 364 kB / 0.793 GB, free: 8.711 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (764): * Single equations (assignments): 757 * 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.002133/1.792, allocations: 412.9 kB / 0.7934 GB, free: 8.297 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008019/1.793, allocations: 296.2 kB / 0.7937 GB, free: 8.004 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/1.811, allocations: 6.4 MB / 0.8 GB, free: 1.547 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001301/1.811, allocations: 55.78 kB / 0.8 GB, free: 1.496 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.811, allocations: 4 kB / 0.8 GB, free: 1.492 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-05/1.811, allocations: 15.95 kB / 0.8 GB, free: 1.477 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04158/1.853, allocations: 12.81 MB / 0.8126 GB, free: 4.531 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.526e-05/1.853, allocations: 8 kB / 0.8126 GB, free: 4.523 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004627/1.858, allocations: 463.3 kB / 0.813 GB, free: 4.066 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006773/1.865, allocations: 1.202 MB / 0.8142 GB, free: 2.863 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009036/1.866, allocations: 27.94 kB / 0.8142 GB, free: 2.836 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/1.881, allocations: 6.147 MB / 0.8202 GB, free: 12.57 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-05/1.882, allocations: 8 kB / 0.8202 GB, free: 12.57 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02898/1.911, allocations: 10.28 MB / 0.8302 GB, free: 1.848 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/1.914, allocations: 0.8057 MB / 0.831 GB, free: 1.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.916, allocations: 16 kB / 0.831 GB, free: 1.004 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/1.92, allocations: 163.7 kB / 0.8312 GB, free: 0.8438 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/1.922, allocations: 165.6 kB / 0.8314 GB, free: 0.6836 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/1.922, allocations: 79.91 kB / 0.8314 GB, free: 0.6094 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.3612/2.283, allocations: 1.611 MB / 0.833 GB, free: 125.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.143e-06/2.283, allocations: 0 / 0.833 GB, free: 125.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008208/2.291, allocations: 0.9962 MB / 0.834 GB, free: 125.9 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * 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.00108/2.293, allocations: 165.7 kB / 0.8341 GB, free: 125.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01679/2.309, allocations: 6.655 MB / 0.8406 GB, free: 125.6 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/2.309, allocations: 1.062 kB / 0.8406 GB, free: 125.6 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/2.316, allocations: 2.679 MB / 0.8433 GB, free: 125.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/2.319, allocations: 235.4 kB / 0.8435 GB, free: 125.5 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0313/2.35, allocations: 10.11 MB / 0.8534 GB, free: 123.7 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00869/2.359, allocations: 3.693 MB / 0.857 GB, free: 122.9 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/2.362, allocations: 282.8 kB / 0.8572 GB, free: 122.9 MB / 0.4952 GB Notification: Performance of SimCode: time 2.335e-06/2.362, allocations: 0 / 0.8572 GB, free: 122.9 MB / 0.4952 GB Notification: Performance of Templates: time 0.1453/2.507, allocations: 78.94 MB / 0.9343 GB, free: 81.55 MB / 0.4952 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