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.001761/0.001761, allocations: 181.5 kB / 17.41 MB, free: 4.391 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.62/1.62, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001092/0.001092, allocations: 89.44 kB / 271.9 MB, free: 8.266 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.4678/0.4678, allocations: 43.56 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003757, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.4385, allocations: 103.5 MB / 0.581 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4388, allocations: 75.97 kB / 0.5811 GB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4275/0.8664, allocations: 94.26 MB / 0.6731 GB, free: 93.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.8664, allocations: 0 / 0.6731 GB, free: 93.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002895/0.8667, allocations: 82.19 kB / 0.6732 GB, free: 93.02 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.01361/0.8804, allocations: 4.234 MB / 0.6773 GB, free: 92.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8804, allocations: 11.38 kB / 0.6773 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.8961, allocations: 3.584 MB / 0.6808 GB, free: 91.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008541/0.9046, allocations: 3.412 MB / 0.6842 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/0.9052, allocations: 340.8 kB / 0.6845 GB, free: 91.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/0.908, allocations: 451.4 kB / 0.6849 GB, free: 91.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/0.9344, allocations: 11.71 MB / 0.6964 GB, free: 89.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/0.9348, allocations: 29.94 kB / 0.6964 GB, free: 89.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002459/0.9372, allocations: 209.1 kB / 0.6966 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/0.9394, allocations: 1.338 MB / 0.6979 GB, free: 89.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.9621, allocations: 11.34 MB / 0.709 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/1.022, allocations: 41.43 MB / 0.7494 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/1.032, allocations: 5.883 MB / 0.7552 GB, free: 63.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/1.036, allocations: 2.997 MB / 0.7581 GB, free: 62.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.037, allocations: 1.887 MB / 0.7599 GB, free: 60.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.037, allocations: 51.28 kB / 0.76 GB, free: 60.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 9.227e-06/1.037, allocations: 3.219 kB / 0.76 GB, free: 60.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.04289/1.08, allocations: 19.65 MB / 0.7792 GB, free: 54.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.08, allocations: 75.84 kB / 0.7792 GB, free: 54.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005709/1.086, allocations: 3.071 MB / 0.7822 GB, free: 53.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005845/1.087, allocations: 60.95 kB / 0.7823 GB, free: 53.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.089, allocations: 3.014 MB / 0.7852 GB, free: 50.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.09, allocations: 1.014 MB / 0.7862 GB, free: 49.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005967/1.091, allocations: 118.8 kB / 0.7864 GB, free: 49.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004152/1.091, allocations: 0.5639 MB / 0.7869 GB, free: 49.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/1.095, allocations: 2.839 MB / 0.7897 GB, free: 47.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/1.101, allocations: 6.039 MB / 0.7956 GB, free: 40.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.111, allocations: 9.67 MB / 0.805 GB, free: 30.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/1.111, allocations: 35.94 kB / 0.8051 GB, free: 30.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01783/1.129, allocations: 10.04 MB / 0.8149 GB, free: 21.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.129, allocations: 59.88 kB / 0.8149 GB, free: 21.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.13, allocations: 113.3 kB / 0.815 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/1.133, allocations: 1.363 MB / 0.8164 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/1.138, allocations: 1.395 MB / 0.8177 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008607/1.147, allocations: 7.196 MB / 0.8247 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.152, allocations: 411.6 kB / 0.8251 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.153, allocations: 345.3 kB / 0.8255 GB, free: 12.72 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.004647/1.158, allocations: 2.302 MB / 0.8277 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/1.158, allocations: 304 kB / 0.828 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.169, allocations: 6.618 MB / 0.8345 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/1.169, allocations: 51.19 kB / 0.8345 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.169, allocations: 4.938 kB / 0.8345 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.524e-05/1.169, allocations: 14.73 kB / 0.8345 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.194, allocations: 14.06 MB / 0.8483 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/1.194, allocations: 8 kB / 0.8483 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.197, allocations: 455.3 kB / 0.8487 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/1.2, allocations: 1.215 MB / 0.8499 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004083/1.2, allocations: 59.09 kB / 0.8499 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009396/1.21, allocations: 6.537 MB / 0.8563 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.21, allocations: 11.94 kB / 0.8563 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.226, allocations: 9.838 MB / 0.8659 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/1.228, allocations: 0.8265 MB / 0.8668 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/1.229, allocations: 51.81 kB / 0.8668 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.231, allocations: 206.8 kB / 0.867 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/1.232, allocations: 161.6 kB / 0.8672 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.232, allocations: 80 kB / 0.8672 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003507/1.235, allocations: 1.883 MB / 0.8691 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/1.235, allocations: 3.938 kB / 0.8691 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006182/1.242, allocations: 1.146 MB / 0.8702 GB, free: 0.5352 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.0008073/1.242, allocations: 198.9 kB / 0.8704 GB, free: 340 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2193/1.462, allocations: 6.928 MB / 0.8771 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.462, allocations: 2.281 kB / 0.8771 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/1.466, allocations: 2.761 MB / 0.8798 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/1.47, allocations: 389.6 kB / 0.8802 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.491, allocations: 13.98 MB / 0.8939 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004162/1.495, allocations: 3.594 MB / 0.8974 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.496, allocations: 287 kB / 0.8977 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of SimCode: time 9.01e-07/1.496, allocations: 0 / 0.8977 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1077/1.604, allocations: 83.09 MB / 0.9788 GB, free: 84.39 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