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.001444/0.001447, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001146/0.001146, allocations: 94.86 kB / 270.9 MB, free: 8.375 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.5041/0.5041, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005051, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6155, allocations: 103.4 MB / 0.5797 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6158, allocations: 75.97 kB / 0.5797 GB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7366/1.352, allocations: 95.4 MB / 0.6729 GB, free: 91.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.352, allocations: 0 / 0.6729 GB, free: 91.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002514/1.353, allocations: 83.72 kB / 0.673 GB, free: 91.54 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01863/1.371, allocations: 4.401 MB / 0.6773 GB, free: 90.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.371, allocations: 9.438 kB / 0.6773 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02798/1.399, allocations: 3.613 MB / 0.6808 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.417, allocations: 4.502 MB / 0.6852 GB, free: 90.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/1.418, allocations: 342.5 kB / 0.6855 GB, free: 90.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/1.421, allocations: 441.7 kB / 0.686 GB, free: 90.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/1.459, allocations: 11.78 MB / 0.6975 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/1.459, allocations: 39.52 kB / 0.6975 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003012/1.462, allocations: 200.5 kB / 0.6977 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/1.465, allocations: 1.334 MB / 0.699 GB, free: 88.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03667/1.502, allocations: 11.45 MB / 0.7102 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08503/1.587, allocations: 41.48 MB / 0.7507 GB, free: 64.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/1.606, allocations: 5.965 MB / 0.7565 GB, free: 62.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/1.608, allocations: 1.891 MB / 0.7583 GB, free: 60.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.196e-05/1.608, allocations: 51.62 kB / 0.7584 GB, free: 60.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 7.715e-06/1.608, allocations: 0 / 0.7584 GB, free: 60.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.07997/1.688, allocations: 20.48 MB / 0.7784 GB, free: 53.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/1.688, allocations: 75.22 kB / 0.7785 GB, free: 53.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/1.694, allocations: 2.746 MB / 0.7811 GB, free: 52.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007102/1.695, allocations: 63.14 kB / 0.7812 GB, free: 52.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.697, allocations: 2.987 MB / 0.7841 GB, free: 49.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.699, allocations: 1.014 MB / 0.7851 GB, free: 49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/1.699, allocations: 117.8 kB / 0.7852 GB, free: 48.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003841/1.7, allocations: 0.5715 MB / 0.7858 GB, free: 48.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006761/1.706, allocations: 2.841 MB / 0.7886 GB, free: 47.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009007/1.716, allocations: 6.02 MB / 0.7944 GB, free: 40.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009128/1.725, allocations: 4.113 MB / 0.7985 GB, free: 36.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-05/1.725, allocations: 35.47 kB / 0.7985 GB, free: 36.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02675/1.752, allocations: 9.969 MB / 0.8082 GB, free: 28.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/1.752, allocations: 52 kB / 0.8083 GB, free: 28.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/1.752, allocations: 108 kB / 0.8084 GB, free: 27.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/1.758, allocations: 1.388 MB / 0.8097 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008931/1.767, allocations: 1.391 MB / 0.8111 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.782, allocations: 7.411 MB / 0.8183 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.789, allocations: 406.1 kB / 0.8187 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.79, allocations: 346.7 kB / 0.819 GB, free: 18.66 MB / 490.7 MB 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 () * Number of clocked 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.005659/1.796, allocations: 2.301 MB / 0.8213 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/1.797, allocations: 308.1 kB / 0.8216 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/1.814, allocations: 6.622 MB / 0.8281 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.764e-05/1.814, allocations: 44 kB / 0.8281 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.814, allocations: 11.14 kB / 0.8281 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/1.814, allocations: 15.11 kB / 0.8281 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0382/1.853, allocations: 14.05 MB / 0.8418 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/1.853, allocations: 11.75 kB / 0.8419 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004382/1.857, allocations: 460 kB / 0.8423 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/1.864, allocations: 1.207 MB / 0.8435 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007121/1.864, allocations: 54.88 kB / 0.8435 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.88, allocations: 6.754 MB / 0.8501 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.88, allocations: 8 kB / 0.8501 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/1.908, allocations: 10.45 MB / 0.8603 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/1.911, allocations: 0.8211 MB / 0.8611 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.912, allocations: 47.12 kB / 0.8612 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/1.916, allocations: 211.7 kB / 0.8614 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000807/1.916, allocations: 157.6 kB / 0.8615 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/1.917, allocations: 72 kB / 0.8616 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005307/1.922, allocations: 1.894 MB / 0.8635 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/1.922, allocations: 0 / 0.8635 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007461/1.93, allocations: 1.137 MB / 0.8646 GB, free: 5.555 MB / 0.5105 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 () * Number of clocked 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.00103/1.931, allocations: 203.4 kB / 0.8648 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3583/2.289, allocations: 6.927 MB / 0.8715 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.289, allocations: 2.969 kB / 0.8715 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007227/2.296, allocations: 2.765 MB / 0.8742 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/2.299, allocations: 360.4 kB / 0.8746 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/2.33, allocations: 13.94 MB / 0.8882 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008634/2.339, allocations: 3.693 MB / 0.8918 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003299/2.342, allocations: 293.4 kB / 0.8921 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/2.342, allocations: 0 / 0.8921 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1582/2.501, allocations: 80.63 MB / 0.9708 GB, free: 89.5 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