Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 75.5 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 62.45 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01485/0.1339, allocations: 13.45 MB / 494.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009156/0.1431, allocations: 4.217 MB / 498.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.1454, allocations: 75.81 kB / 498.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.1496, allocations: 1.954 MB / 0.4887 GB, free: 1.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.1546, allocations: 1.876 MB / 0.4905 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1562, allocations: 0.5575 MB / 0.491 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005644/0.1619, allocations: 4.038 MB / 0.495 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/0.1665, allocations: 2.866 MB / 0.4978 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.1691, allocations: 1.436 MB / 0.4992 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.1723, allocations: 2.013 MB / 0.5011 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.1734, allocations: 308 kB / 0.5014 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.1761, allocations: 1.002 MB / 0.5024 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.1787, allocations: 1.85 MB / 0.5042 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2194/0.3981, allocations: 2.239 MB / 0.5064 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.4094, allocations: 6.962 MB / 0.5132 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4095, allocations: 0 / 0.5132 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.4095, allocations: 0 / 0.5132 GB, free: 16.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000326/0.4098, allocations: 5.156 kB / 0.5132 GB, free: 16.15 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.01512/0.425, allocations: 4.872 MB / 0.518 GB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.425, allocations: 10.03 kB / 0.518 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.4405, allocations: 3.137 MB / 0.521 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008031/0.4486, allocations: 2.158 MB / 0.5232 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.449, allocations: 239.9 kB / 0.5234 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/0.4513, allocations: 308.7 kB / 0.5237 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0339/0.4852, allocations: 12.08 MB / 0.5355 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/0.4855, allocations: 36.19 kB / 0.5355 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001902/0.4874, allocations: 151.2 kB / 0.5357 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007708/0.4951, allocations: 2.834 MB / 0.5384 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.522, allocations: 11.35 MB / 0.5495 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07/0.592, allocations: 41.28 MB / 0.5898 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.605, allocations: 6.07 MB / 0.5958 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004338/0.6094, allocations: 3.001 MB / 0.5987 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.6112, allocations: 1.892 MB / 0.6005 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.6113, allocations: 56.56 kB / 0.6006 GB, free: 8.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 6.071e-06/0.6113, allocations: 0 / 0.6006 GB, free: 8.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.05574/0.6671, allocations: 20.14 MB / 0.6203 GB, free: 4.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.6672, allocations: 76.78 kB / 0.6203 GB, free: 4.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/0.6734, allocations: 3.019 MB / 0.6233 GB, free: 1.371 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007343/0.6742, allocations: 61.7 kB / 0.6233 GB, free: 1.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/0.6766, allocations: 2.984 MB / 0.6262 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/0.6783, allocations: 1.025 MB / 0.6272 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003377/0.6817, allocations: 1.197 MB / 0.6284 GB, free: 12.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.6818, allocations: 301.1 kB / 0.6287 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004948/0.6868, allocations: 2.854 MB / 0.6315 GB, free: 8.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007725/0.6945, allocations: 6.034 MB / 0.6374 GB, free: 1.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/0.7075, allocations: 9.669 MB / 0.6468 GB, free: 6.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/0.7076, allocations: 32 kB / 0.6469 GB, free: 6.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02191/0.7295, allocations: 10.04 MB / 0.6567 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.7297, allocations: 52 kB / 0.6567 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/0.7299, allocations: 108 kB / 0.6568 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/0.7338, allocations: 1.365 MB / 0.6582 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/0.7392, allocations: 1.38 MB / 0.6595 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.7498, allocations: 7.816 MB / 0.6671 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/0.7551, allocations: 367.7 kB / 0.6675 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/0.7567, allocations: 343.3 kB / 0.6678 GB, free: 1.445 MB / 0.4981 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.006546/0.7633, allocations: 2.302 MB / 0.6701 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008773/0.7642, allocations: 300.1 kB / 0.6703 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.7775, allocations: 6.629 MB / 0.6768 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.192e-05/0.7776, allocations: 51.98 kB / 0.6769 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.7777, allocations: 4.844 kB / 0.6769 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/0.7777, allocations: 11.95 kB / 0.6769 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/0.8105, allocations: 14.01 MB / 0.6906 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/0.8105, allocations: 8 kB / 0.6906 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/0.813, allocations: 455.2 kB / 0.691 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.8165, allocations: 1.217 MB / 0.6922 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006614/0.8172, allocations: 50.19 kB / 0.6922 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009379/0.8266, allocations: 6.978 MB / 0.6991 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.8266, allocations: 11.94 kB / 0.6991 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.8462, allocations: 9.866 MB / 0.7087 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.8474, allocations: 349.2 kB / 0.709 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/0.849, allocations: 44 kB / 0.7091 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/0.8517, allocations: 195.7 kB / 0.7093 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009624/0.8527, allocations: 165.5 kB / 0.7094 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005636/0.8533, allocations: 78.33 kB / 0.7095 GB, free: 6.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004519/0.8578, allocations: 1.87 MB / 0.7113 GB, free: 4.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8578, allocations: 0 / 0.7113 GB, free: 4.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007394/0.8652, allocations: 1.104 MB / 0.7124 GB, free: 3.254 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.001133/0.8664, allocations: 189.5 kB / 0.7126 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2512/1.118, allocations: 11.99 MB / 0.7243 GB, free: 201.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.387e-05/1.118, allocations: 5.375 kB / 0.7243 GB, free: 201.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.123, allocations: 2.853 MB / 0.7271 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.126, allocations: 426.9 kB / 0.7275 GB, free: 200.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.147, allocations: 11.94 MB / 0.7392 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004247/1.152, allocations: 3.581 MB / 0.7426 GB, free: 191.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.153, allocations: 288.7 kB / 0.7429 GB, free: 191.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/1.153, allocations: 0 / 0.7429 GB, free: 191.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09009/1.243, allocations: 83.6 MB / 0.8246 GB, free: 109 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches