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.001328/0.001329, allocations: 179.2 kB / 16.41 MB, free: 5.727 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.633/1.633, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007854/0.0007854, allocations: 89.17 kB / 270.9 MB, free: 8.355 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.3777/0.3777, allocations: 43.57 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2651/0.4, allocations: 38.08 MB / 0.5159 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0248/0.4248, allocations: 8.439 MB / 0.5242 GB, free: 17.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/0.4384, allocations: 173 kB / 0.5243 GB, free: 17.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007586/0.446, allocations: 1.881 MB / 0.5262 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.464, allocations: 5.567 MB / 0.5316 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.4668, allocations: 485.6 kB / 0.5321 GB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00584/0.4727, allocations: 4.452 MB / 0.5364 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.4768, allocations: 3.189 MB / 0.5395 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.4792, allocations: 1.193 MB / 0.5407 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.4822, allocations: 1.912 MB / 0.5426 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000634/0.4829, allocations: 153.5 kB / 0.5427 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.485, allocations: 0.7754 MB / 0.5435 GB, free: 10.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.4872, allocations: 1.688 MB / 0.5451 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.4883, allocations: 0.8766 MB / 0.546 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00701/0.4953, allocations: 5.615 MB / 0.5515 GB, free: 6.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4953, allocations: 5.156 kB / 0.5515 GB, free: 6.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4953, allocations: 3.984 kB / 0.5515 GB, free: 6.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002474/0.4956, allocations: 4 kB / 0.5515 GB, free: 6.828 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.008729/0.5043, allocations: 4.06 MB / 0.5554 GB, free: 3.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5044, allocations: 8.844 kB / 0.5555 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.515, allocations: 3.227 MB / 0.5586 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.5203, allocations: 2.206 MB / 0.5608 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.5205, allocations: 236.8 kB / 0.561 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000976/0.5215, allocations: 315.3 kB / 0.5613 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.5426, allocations: 12.08 MB / 0.5731 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.5427, allocations: 35.69 kB / 0.5731 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.5432, allocations: 147.8 kB / 0.5733 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00475/0.548, allocations: 2.835 MB / 0.576 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.571, allocations: 11.34 MB / 0.5871 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05859/0.6296, allocations: 41.15 MB / 0.6273 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.6421, allocations: 6.078 MB / 0.6332 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004278/0.6464, allocations: 2.994 MB / 0.6362 GB, free: 3.375 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.6483, allocations: 1.892 MB / 0.638 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.6483, allocations: 48.56 kB / 0.638 GB, free: 1.094 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 5.139e-06/0.6483, allocations: 0 / 0.638 GB, free: 1.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.05051/0.6989, allocations: 20.1 MB / 0.6577 GB, free: 12.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.6989, allocations: 77.39 kB / 0.6577 GB, free: 12.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.7042, allocations: 3.032 MB / 0.6607 GB, free: 9.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.7048, allocations: 61.7 kB / 0.6608 GB, free: 9.602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.707, allocations: 3.012 MB / 0.6637 GB, free: 6.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.7084, allocations: 1.025 MB / 0.6647 GB, free: 5.512 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.709, allocations: 116 kB / 0.6648 GB, free: 5.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005134/0.7096, allocations: 0.5584 MB / 0.6654 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.7142, allocations: 2.838 MB / 0.6681 GB, free: 1.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2356/0.9498, allocations: 6.044 MB / 0.674 GB, free: 134.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008209/0.958, allocations: 4.112 MB / 0.6781 GB, free: 134.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/0.9582, allocations: 33.91 kB / 0.6781 GB, free: 134.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.0204/0.9786, allocations: 10.04 MB / 0.6879 GB, free: 131.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.9788, allocations: 57.91 kB / 0.6879 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/0.979, allocations: 113.2 kB / 0.6881 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/0.9827, allocations: 1.367 MB / 0.6894 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005291/0.988, allocations: 1.39 MB / 0.6907 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00899/0.997, allocations: 7.471 MB / 0.698 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.003, allocations: 379.7 kB / 0.6984 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.004, allocations: 344 kB / 0.6987 GB, free: 127.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * 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 (728): * Single equations (assignments): 721 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006918/1.011, allocations: 2.304 MB / 0.701 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.013, allocations: 305.5 kB / 0.7013 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.026, allocations: 6.612 MB / 0.7077 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/1.026, allocations: 50.72 kB / 0.7078 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.026, allocations: 4 kB / 0.7078 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-05/1.026, allocations: 10.94 kB / 0.7078 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.06, allocations: 14 MB / 0.7215 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/1.06, allocations: 4.812 kB / 0.7215 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.062, allocations: 457.1 kB / 0.7219 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/1.066, allocations: 1.216 MB / 0.7231 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005004/1.066, allocations: 50.86 kB / 0.7231 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007544/1.074, allocations: 6.524 MB / 0.7295 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.074, allocations: 11.94 kB / 0.7295 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.089, allocations: 9.827 MB / 0.7391 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.091, allocations: 0.8199 MB / 0.7399 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.092, allocations: 48.98 kB / 0.74 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.095, allocations: 198 kB / 0.7402 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/1.095, allocations: 172 kB / 0.7403 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.095, allocations: 71.75 kB / 0.7404 GB, free: 105.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003744/1.099, allocations: 1.858 MB / 0.7422 GB, free: 103.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.099, allocations: 0 / 0.7422 GB, free: 103.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007076/1.106, allocations: 1.137 MB / 0.7433 GB, free: 102.5 MB / 490.7 MB 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007972/1.107, allocations: 187.8 kB / 0.7435 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.117, allocations: 6.879 MB / 0.7502 GB, free: 95.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.118, allocations: 0 / 0.7502 GB, free: 95.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.122, allocations: 2.852 MB / 0.753 GB, free: 92.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/1.125, allocations: 405 kB / 0.7534 GB, free: 92.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.151, allocations: 13.96 MB / 0.767 GB, free: 78.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005649/1.157, allocations: 3.594 MB / 0.7705 GB, free: 74.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/1.158, allocations: 287.4 kB / 0.7708 GB, free: 74.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/1.158, allocations: 0 / 0.7708 GB, free: 74.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1099/1.268, allocations: 83.22 MB / 0.8521 GB, free: 7.32 MB / 0.4948 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/jenkins/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