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.0009234/0.0009238, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007501/0.0007502, allocations: 81 kB / 271.2 MB, free: 8.254 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.2885/0.2885, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 16 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09817, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2037/0.3019, allocations: 38.1 MB / 0.5165 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.3215, allocations: 8.431 MB / 0.5248 GB, free: 17.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008991/0.3306, allocations: 168.9 kB / 0.5249 GB, free: 17.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006796/0.3374, allocations: 1.88 MB / 0.5268 GB, free: 16.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01481/0.3523, allocations: 5.604 MB / 0.5322 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.3549, allocations: 0.5054 MB / 0.5327 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004785/0.3597, allocations: 4.534 MB / 0.5371 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004368/0.3641, allocations: 3.45 MB / 0.5405 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.3666, allocations: 1.196 MB / 0.5417 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.3698, allocations: 1.911 MB / 0.5436 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006203/0.3704, allocations: 153.2 kB / 0.5437 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3729, allocations: 0.9035 MB / 0.5446 GB, free: 10.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.3753, allocations: 1.695 MB / 0.5462 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.378, allocations: 1.979 MB / 0.5482 GB, free: 8.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006228/0.3842, allocations: 5.63 MB / 0.5537 GB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3842, allocations: 0 / 0.5537 GB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3842, allocations: 0 / 0.5537 GB, free: 5.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002084/0.3845, allocations: 1.188 kB / 0.5537 GB, free: 5.414 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.00897/0.3934, allocations: 4.003 MB / 0.5576 GB, free: 2.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3935, allocations: 9.219 kB / 0.5576 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.4037, allocations: 3.229 MB / 0.5607 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/0.4091, allocations: 2.239 MB / 0.5629 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.4093, allocations: 234.6 kB / 0.5631 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.4104, allocations: 311.9 kB / 0.5634 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.4345, allocations: 12.08 MB / 0.5752 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.4347, allocations: 35.66 kB / 0.5753 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009471/0.4357, allocations: 139.8 kB / 0.5754 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004855/0.4405, allocations: 2.835 MB / 0.5782 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/0.464, allocations: 11.35 MB / 0.5893 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/0.5243, allocations: 41.19 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.5356, allocations: 6.061 MB / 0.6354 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/0.5399, allocations: 2.994 MB / 0.6383 GB, free: 1.277 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.5416, allocations: 1.891 MB / 0.6402 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5416, allocations: 60.5 kB / 0.6402 GB, free: 14.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 7.794e-06/0.5416, allocations: 4 kB / 0.6402 GB, free: 14.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.04756/0.5892, allocations: 20.1 MB / 0.6599 GB, free: 10.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.5893, allocations: 73.41 kB / 0.6599 GB, free: 10.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005221/0.5945, allocations: 3.028 MB / 0.6629 GB, free: 7.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005638/0.5951, allocations: 61.7 kB / 0.6629 GB, free: 7.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.5974, allocations: 3.008 MB / 0.6659 GB, free: 4.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.5988, allocations: 1.025 MB / 0.6669 GB, free: 3.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.5994, allocations: 116 kB / 0.667 GB, free: 3.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004897/0.5999, allocations: 0.5662 MB / 0.6676 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1825/0.7825, allocations: 2.836 MB / 0.6703 GB, free: 138.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/0.7888, allocations: 6.049 MB / 0.6762 GB, free: 134.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.799, allocations: 9.685 MB / 0.6857 GB, free: 128.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.7992, allocations: 37.03 kB / 0.6857 GB, free: 128.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01563/0.8148, allocations: 10.04 MB / 0.6955 GB, free: 124.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/0.815, allocations: 51.97 kB / 0.6956 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.8151, allocations: 111.1 kB / 0.6957 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.8182, allocations: 1.351 MB / 0.697 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004607/0.8228, allocations: 1.384 MB / 0.6983 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.8313, allocations: 7.475 MB / 0.7056 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/0.8359, allocations: 365.4 kB / 0.706 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008575/0.8367, allocations: 349.6 kB / 0.7063 GB, free: 120.7 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.004404/0.8412, allocations: 2.304 MB / 0.7086 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.8417, allocations: 307.5 kB / 0.7089 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.8521, allocations: 6.612 MB / 0.7153 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.8522, allocations: 42.67 kB / 0.7154 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.8522, allocations: 7.844 kB / 0.7154 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/0.8523, allocations: 16.2 kB / 0.7154 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.8724, allocations: 14 MB / 0.7291 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.8724, allocations: 11.64 kB / 0.7291 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/0.8744, allocations: 447.5 kB / 0.7295 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/0.8773, allocations: 1.215 MB / 0.7307 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/0.8776, allocations: 51.89 kB / 0.7307 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.8842, allocations: 6.52 MB / 0.7371 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8843, allocations: 11.94 kB / 0.7371 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.8958, allocations: 9.832 MB / 0.7467 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.8975, allocations: 0.8228 MB / 0.7475 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.898, allocations: 47.58 kB / 0.7476 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.8994, allocations: 196 kB / 0.7478 GB, free: 96.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/0.8998, allocations: 162.4 kB / 0.7479 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/0.9, allocations: 80.22 kB / 0.748 GB, free: 96.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002401/0.9024, allocations: 1.853 MB / 0.7498 GB, free: 94.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9024, allocations: 2.406 kB / 0.7498 GB, free: 94.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004914/0.9073, allocations: 1.134 MB / 0.7509 GB, free: 93.61 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.0004887/0.9079, allocations: 196.7 kB / 0.7511 GB, free: 93.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008416/0.9163, allocations: 6.882 MB / 0.7578 GB, free: 86.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9163, allocations: 0 / 0.7578 GB, free: 86.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003317/0.9196, allocations: 2.853 MB / 0.7606 GB, free: 83.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.924, allocations: 391.7 kB / 0.761 GB, free: 83.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.9407, allocations: 13.96 MB / 0.7746 GB, free: 69.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/0.9437, allocations: 3.585 MB / 0.7781 GB, free: 65.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.9451, allocations: 291.4 kB / 0.7784 GB, free: 65.35 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9451, allocations: 0 / 0.7784 GB, free: 65.35 MB / 490.7 MB Notification: Performance of Templates: time 0.2802/1.225, allocations: 83.06 MB / 0.8595 GB, free: 137.7 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