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.001131/0.001131, allocations: 107.5 kB / 16.64 MB, free: 5.918 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.001256/0.001256, allocations: 195.1 kB / 17.56 MB, free: 5.508 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.338/1.338, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.1922/0.1922, allocations: 43.51 MB / 314.3 MB, free: 0.6914 MB / 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.002413/0.002413, allocations: 74.91 kB / 382.9 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1073, allocations: 57.79 MB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03911/0.1465, allocations: 42.1 MB / 482.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.1663, allocations: 8.823 MB / 491.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008387/0.1747, allocations: 179.5 kB / 491.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.1803, allocations: 1.87 MB / 493.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.1855, allocations: 1.806 MB / 495.4 MB, free: 352 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1872, allocations: 0.5266 MB / 496 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005837/0.1931, allocations: 4.077 MB / 0.4883 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004365/0.1975, allocations: 3.018 MB / 0.4913 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.2003, allocations: 1.475 MB / 0.4927 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.2037, allocations: 2.227 MB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009115/0.2046, allocations: 308 kB / 0.4952 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2068, allocations: 1.022 MB / 0.4962 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.2087, allocations: 1.909 MB / 0.498 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.2117, allocations: 2.291 MB / 0.5003 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006952/0.2187, allocations: 5.804 MB / 0.5059 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.2187, allocations: 0 / 0.5059 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2187, allocations: 7.875 kB / 0.506 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.2189, allocations: 0 / 0.506 GB, free: 9.57 MB / 398.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.2294, allocations: 4.908 MB / 0.5107 GB, free: 4.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.2294, allocations: 15.88 kB / 0.5108 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.2401, allocations: 3.134 MB / 0.5138 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.2449, allocations: 2.243 MB / 0.516 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.2452, allocations: 242.3 kB / 0.5162 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.2465, allocations: 311.8 kB / 0.5165 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.2673, allocations: 12.1 MB / 0.5284 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.2674, allocations: 31.66 kB / 0.5284 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007014/0.2681, allocations: 147.8 kB / 0.5285 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1973/0.4655, allocations: 2.835 MB / 0.5313 GB, free: 87.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.4881, allocations: 11.37 MB / 0.5424 GB, free: 85.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.5365, allocations: 41.18 MB / 0.5826 GB, free: 48.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009867/0.5464, allocations: 6.078 MB / 0.5886 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.5497, allocations: 3.007 MB / 0.5915 GB, free: 39.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.551, allocations: 1.881 MB / 0.5933 GB, free: 37.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.5511, allocations: 56.56 kB / 0.5934 GB, free: 37.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 5.611e-06/0.5511, allocations: 0 / 0.5934 GB, free: 37.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04607/0.5972, allocations: 20.15 MB / 0.6131 GB, free: 16.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5972, allocations: 74.44 kB / 0.6131 GB, free: 16.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.6006, allocations: 3.052 MB / 0.6161 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005252/0.6012, allocations: 61.7 kB / 0.6162 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.6024, allocations: 3.009 MB / 0.6191 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009512/0.6034, allocations: 1.024 MB / 0.6201 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.6048, allocations: 1.203 MB / 0.6213 GB, free: 8.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.6049, allocations: 305.1 kB / 0.6216 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.6084, allocations: 2.862 MB / 0.6244 GB, free: 5.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/0.614, allocations: 6.067 MB / 0.6303 GB, free: 13.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.6259, allocations: 9.725 MB / 0.6398 GB, free: 2.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.6261, allocations: 32 kB / 0.6398 GB, free: 2.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01962/0.6457, allocations: 10.09 MB / 0.6497 GB, free: 8.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.6458, allocations: 56.56 kB / 0.6497 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.646, allocations: 112 kB / 0.6498 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/0.6498, allocations: 1.367 MB / 0.6512 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005114/0.655, allocations: 1.388 MB / 0.6525 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6656, allocations: 7.827 MB / 0.6602 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/0.6703, allocations: 371.7 kB / 0.6605 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/0.6715, allocations: 348 kB / 0.6609 GB, free: 12.72 MB / 462.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.004843/0.6764, allocations: 2.3 MB / 0.6631 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/0.6772, allocations: 304.1 kB / 0.6634 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.6895, allocations: 6.621 MB / 0.6699 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.854e-05/0.6896, allocations: 53.94 kB / 0.6699 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.6896, allocations: 4 kB / 0.6699 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/0.6897, allocations: 19.89 kB / 0.6699 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/0.716, allocations: 14.03 MB / 0.6836 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/0.7161, allocations: 8.906 kB / 0.6836 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.7183, allocations: 447.3 kB / 0.6841 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.7217, allocations: 1.214 MB / 0.6853 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005873/0.7223, allocations: 55.97 kB / 0.6853 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009103/0.7315, allocations: 6.965 MB / 0.6921 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7315, allocations: 11.94 kB / 0.6921 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.747, allocations: 9.872 MB / 0.7018 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/0.7492, allocations: 0.8211 MB / 0.7026 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/0.7501, allocations: 44 kB / 0.7026 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.752, allocations: 207.6 kB / 0.7028 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005624/0.7526, allocations: 161.6 kB / 0.703 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/0.7529, allocations: 75.97 kB / 0.703 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003272/0.7562, allocations: 1.895 MB / 0.7049 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7562, allocations: 0 / 0.7049 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005618/0.7618, allocations: 1.128 MB / 0.706 GB, free: 13.94 MB / 0.4981 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 (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.0008488/0.7627, allocations: 193.4 kB / 0.7062 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02003/0.7827, allocations: 12.02 MB / 0.7179 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.7828, allocations: 64 / 0.7179 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.1963/0.9792, allocations: 2.846 MB / 0.7207 GB, free: 171.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.9827, allocations: 423.4 kB / 0.7211 GB, free: 171.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.009, allocations: 14.34 MB / 0.7351 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006569/1.016, allocations: 3.594 MB / 0.7386 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.017, allocations: 289.6 kB / 0.7389 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of SimCode: time 9.51e-07/1.017, allocations: 0 / 0.7389 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.102/1.119, allocations: 83.96 MB / 0.8209 GB, free: 89.65 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches