Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001405/0.001405, allocations: 111.8 kB / 17.86 MB, free: 5.504 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.001465/0.001465, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.5 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.78 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.125, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03961/0.1646, allocations: 41.39 MB / 0.4986 GB, free: 5.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3178/0.4825, allocations: 8.841 MB / 0.5072 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009034/0.4916, allocations: 168.2 kB / 0.5074 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004774/0.4964, allocations: 1.926 MB / 0.5093 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.5031, allocations: 1.796 MB / 0.511 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.5047, allocations: 0.5127 MB / 0.5115 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008636/0.5133, allocations: 5.675 MB / 0.5171 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005577/0.519, allocations: 2.808 MB / 0.5198 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.5226, allocations: 1.268 MB / 0.5211 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.5266, allocations: 2.118 MB / 0.5231 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.5278, allocations: 218.2 kB / 0.5233 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.5305, allocations: 0.9958 MB / 0.5243 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.5325, allocations: 1.808 MB / 0.5261 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.5354, allocations: 2.193 MB / 0.5282 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.5418, allocations: 5.728 MB / 0.5338 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5418, allocations: 0 / 0.5338 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5418, allocations: 0 / 0.5338 GB, free: 2.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002598/0.5421, allocations: 2.5 kB / 0.5338 GB, free: 2.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01107/0.5532, allocations: 4.889 MB / 0.5386 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5532, allocations: 14.09 kB / 0.5386 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.564, allocations: 3.141 MB / 0.5417 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.5692, allocations: 2.186 MB / 0.5438 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.5695, allocations: 231.2 kB / 0.544 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.5708, allocations: 314.3 kB / 0.5443 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/0.592, allocations: 12.08 MB / 0.5561 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.5922, allocations: 35.28 kB / 0.5562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007032/0.5929, allocations: 147.2 kB / 0.5563 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004664/0.5976, allocations: 2.833 MB / 0.5591 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.621, allocations: 11.37 MB / 0.5702 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06223/0.6833, allocations: 41.28 MB / 0.6105 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.6954, allocations: 6.081 MB / 0.6164 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/0.6997, allocations: 3.012 MB / 0.6194 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.7017, allocations: 1.886 MB / 0.6212 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/0.7018, allocations: 48.56 kB / 0.6212 GB, free: 10.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.512e-06/0.7018, allocations: 7.938 kB / 0.6212 GB, free: 10.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05275/0.7545, allocations: 20.13 MB / 0.6409 GB, free: 6.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.7546, allocations: 81.41 kB / 0.641 GB, free: 6.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/0.76, allocations: 3.031 MB / 0.6439 GB, free: 3.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005653/0.7606, allocations: 67.98 kB / 0.644 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.7631, allocations: 2.98 MB / 0.6469 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.7646, allocations: 1.02 MB / 0.6479 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003139/0.7677, allocations: 1.197 MB / 0.6491 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7678, allocations: 301.1 kB / 0.6494 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/0.7725, allocations: 2.854 MB / 0.6522 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00688/0.7794, allocations: 6.03 MB / 0.658 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.7912, allocations: 9.669 MB / 0.6675 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.7914, allocations: 32 kB / 0.6675 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01948/0.8108, allocations: 10.04 MB / 0.6773 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.811, allocations: 52.94 kB / 0.6774 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/0.8112, allocations: 112 kB / 0.6775 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.8149, allocations: 1.366 MB / 0.6788 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004951/0.8199, allocations: 1.369 MB / 0.6802 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009962/0.8299, allocations: 7.299 MB / 0.6873 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.8344, allocations: 367.7 kB / 0.6876 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/0.8357, allocations: 347.8 kB / 0.688 GB, free: 2.738 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (722): * Single equations (assignments): 715 * 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.005071/0.8407, allocations: 2.298 MB / 0.6902 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008907/0.8417, allocations: 304.1 kB / 0.6905 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.8536, allocations: 6.634 MB / 0.697 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.055e-05/0.8537, allocations: 48.08 kB / 0.697 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/0.8537, allocations: 7.984 kB / 0.697 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.03e-05/0.8538, allocations: 7.969 kB / 0.697 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2449/1.099, allocations: 14.01 MB / 0.7107 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.099, allocations: 5.875 kB / 0.7107 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.101, allocations: 459.2 kB / 0.7112 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/1.104, allocations: 1.211 MB / 0.7123 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.105, allocations: 55.3 kB / 0.7124 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008638/1.113, allocations: 6.522 MB / 0.7188 GB, free: 196.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/1.113, allocations: 8.094 kB / 0.7188 GB, free: 196.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.127, allocations: 9.858 MB / 0.7284 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/1.127, allocations: 351.6 kB / 0.7287 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/1.128, allocations: 51.28 kB / 0.7288 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.129, allocations: 190.4 kB / 0.729 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004573/1.13, allocations: 165 kB / 0.7291 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.13, allocations: 74.83 kB / 0.7292 GB, free: 193 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002294/1.132, allocations: 1.877 MB / 0.731 GB, free: 192.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.42e-07/1.132, allocations: 0 / 0.731 GB, free: 192.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003916/1.136, allocations: 1.134 MB / 0.7321 GB, free: 192.3 MB / 0.545 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.0004388/1.136, allocations: 193.8 kB / 0.7323 GB, free: 192.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008082/1.145, allocations: 6.949 MB / 0.7391 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.145, allocations: 3.938 kB / 0.7391 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.148, allocations: 2.847 MB / 0.7419 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.15, allocations: 407.4 kB / 0.7423 GB, free: 188.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.167, allocations: 14.31 MB / 0.7563 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/1.17, allocations: 3.582 MB / 0.7597 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.171, allocations: 287.4 kB / 0.76 GB, free: 172.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.171, allocations: 7.938 kB / 0.76 GB, free: 172.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08424/1.255, allocations: 83.79 MB / 0.8419 GB, free: 88.64 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches