Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 103.6 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 72.31 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01229/0.1138, allocations: 14.22 MB / 456.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009844/0.1237, allocations: 4.284 MB / 460.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.1261, allocations: 71.88 kB / 460.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.1298, allocations: 1.973 MB / 462.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.1342, allocations: 1.922 MB / 464.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1356, allocations: 0.5576 MB / 465 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.1406, allocations: 4.08 MB / 469.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.1438, allocations: 2.882 MB / 471.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.146, allocations: 1.46 MB / 473.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.1488, allocations: 2.04 MB / 475.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.1497, allocations: 308 kB / 475.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.152, allocations: 1.006 MB / 476.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.1538, allocations: 1.893 MB / 478.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.1563, allocations: 2.267 MB / 480.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007832/0.1641, allocations: 7.372 MB / 488.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1642, allocations: 0 / 488.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1642, allocations: 4 kB / 488.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.1644, allocations: 0 / 488.3 MB, free: 7.59 MB / 366.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.01041/0.1748, allocations: 4.912 MB / 493.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1749, allocations: 11.89 kB / 493.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.185, allocations: 3.134 MB / 496.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.1909, allocations: 2.262 MB / 498.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.1911, allocations: 242.3 kB / 498.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.1921, allocations: 319.8 kB / 499.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.2119, allocations: 12.1 MB / 0.4993 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.2121, allocations: 31.73 kB / 0.4993 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006141/0.2127, allocations: 147.8 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.2173, allocations: 2.832 MB / 0.5022 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/0.2402, allocations: 11.38 MB / 0.5133 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2916/0.5319, allocations: 40.92 MB / 0.5533 GB, free: 58.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5437, allocations: 6.073 MB / 0.5592 GB, free: 57.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/0.5473, allocations: 3.007 MB / 0.5622 GB, free: 55.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.5487, allocations: 1.885 MB / 0.564 GB, free: 54.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.5487, allocations: 54.09 kB / 0.564 GB, free: 54.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 5.79e-06/0.5487, allocations: 0.5625 kB / 0.564 GB, free: 54.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.0424/0.5912, allocations: 20.16 MB / 0.5837 GB, free: 44.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5912, allocations: 81.41 kB / 0.5838 GB, free: 44.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003403/0.5946, allocations: 3.05 MB / 0.5868 GB, free: 41.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.5951, allocations: 61.7 kB / 0.5868 GB, free: 41.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.5962, allocations: 3.009 MB / 0.5898 GB, free: 38.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007635/0.597, allocations: 1.021 MB / 0.5908 GB, free: 37.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.5983, allocations: 1.202 MB / 0.592 GB, free: 36.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.5983, allocations: 301.1 kB / 0.5922 GB, free: 36.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.6015, allocations: 2.862 MB / 0.595 GB, free: 33.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00399/0.6055, allocations: 6.065 MB / 0.601 GB, free: 25.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008083/0.6136, allocations: 9.728 MB / 0.6105 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-05/0.6137, allocations: 32 kB / 0.6105 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01407/0.6278, allocations: 10.08 MB / 0.6203 GB, free: 4.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.6279, allocations: 60.12 kB / 0.6204 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-05/0.628, allocations: 112 kB / 0.6205 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.6311, allocations: 1.371 MB / 0.6218 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/0.6357, allocations: 1.391 MB / 0.6232 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.6463, allocations: 7.808 MB / 0.6308 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.6511, allocations: 367.7 kB / 0.6312 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/0.6526, allocations: 351.9 kB / 0.6315 GB, free: 8.629 MB / 430.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005503/0.6581, allocations: 2.306 MB / 0.6338 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.6588, allocations: 304.1 kB / 0.634 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.6701, allocations: 6.62 MB / 0.6405 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/0.6702, allocations: 48.92 kB / 0.6406 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6702, allocations: 4 kB / 0.6406 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.635e-05/0.6702, allocations: 11.95 kB / 0.6406 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/0.6939, allocations: 13.99 MB / 0.6542 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.694, allocations: 12.16 kB / 0.6543 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/0.696, allocations: 451.3 kB / 0.6547 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.6993, allocations: 1.209 MB / 0.6559 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/0.6998, allocations: 56.86 kB / 0.6559 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/0.7091, allocations: 6.971 MB / 0.6627 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.7092, allocations: 11.94 kB / 0.6627 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.7243, allocations: 9.855 MB / 0.6724 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/0.727, allocations: 0.8211 MB / 0.6732 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/0.7278, allocations: 51.19 kB / 0.6732 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.7296, allocations: 199.7 kB / 0.6734 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/0.7301, allocations: 165.5 kB / 0.6736 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/0.7303, allocations: 75.98 kB / 0.6736 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.7331, allocations: 1.887 MB / 0.6755 GB, free: 11.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.426e-06/0.7331, allocations: 0 / 0.6755 GB, free: 11.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004926/0.7381, allocations: 1.153 MB / 0.6766 GB, free: 9.941 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006023/0.7387, allocations: 184.5 kB / 0.6768 GB, free: 9.758 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.7497, allocations: 7.012 MB / 0.6836 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.7498, allocations: 4 kB / 0.6836 GB, free: 2.746 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0045/0.7543, allocations: 2.854 MB / 0.6864 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.7567, allocations: 411.4 kB / 0.6868 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.776, allocations: 11.35 MB / 0.6979 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004203/0.7803, allocations: 3.59 MB / 0.7014 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004741/0.785, allocations: 2.201 MB / 0.7035 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008991/0.786, allocations: 247.4 kB / 0.7038 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.786, allocations: 0 / 0.7038 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.2751/1.061, allocations: 37.49 MB / 0.7404 GB, free: 156.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches