Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 115.1 kB / 17.08 MB, free: 6.016 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.001522/0.001522, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.304/1.304, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.196/0.196, allocations: 43.52 MB / 314.8 MB, free: 476 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.001489/0.001489, allocations: 67.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1004, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01253/0.113, allocations: 12.68 MB / 0.5009 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.1207, allocations: 3.961 MB / 0.5048 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.1225, allocations: 63.88 kB / 0.5049 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.1252, allocations: 1.323 MB / 0.5061 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.1298, allocations: 1.786 MB / 0.5079 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1314, allocations: 487 kB / 0.5084 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.1364, allocations: 3.668 MB / 0.5119 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.1389, allocations: 2.052 MB / 0.5139 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.1405, allocations: 1.23 MB / 0.5151 GB, free: 456 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.143, allocations: 1.748 MB / 0.5169 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.1435, allocations: 240 kB / 0.5171 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1454, allocations: 0.94 MB / 0.518 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.1468, allocations: 1.632 MB / 0.5196 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.1487, allocations: 1.937 MB / 0.5215 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.1548, allocations: 6.367 MB / 0.5277 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1548, allocations: 3.984 kB / 0.5277 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1548, allocations: 0 / 0.5277 GB, free: 3.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.155, allocations: 0 / 0.5277 GB, free: 3.535 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2297/0.3847, allocations: 4.233 MB / 0.5318 GB, free: 37.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.3848, allocations: 13.05 kB / 0.5319 GB, free: 37.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.3959, allocations: 3.077 MB / 0.5349 GB, free: 37.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/0.4001, allocations: 1.957 MB / 0.5368 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.4003, allocations: 202.8 kB / 0.537 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007802/0.4011, allocations: 256.3 kB / 0.5372 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.4202, allocations: 10.69 MB / 0.5476 GB, free: 32.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-05/0.4204, allocations: 30.09 kB / 0.5477 GB, free: 32.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.4208, allocations: 124.1 kB / 0.5478 GB, free: 32.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004296/0.4251, allocations: 2.647 MB / 0.5504 GB, free: 32.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.4415, allocations: 10.03 MB / 0.5602 GB, free: 25.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/0.4826, allocations: 35.08 MB / 0.5944 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008994/0.4917, allocations: 5.191 MB / 0.5995 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.4946, allocations: 2.299 MB / 0.6017 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.4962, allocations: 1.872 MB / 0.6036 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.4962, allocations: 52.56 kB / 0.6036 GB, free: 11.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.839e-06/0.4962, allocations: 4 kB / 0.6036 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03131/0.5276, allocations: 14.04 MB / 0.6173 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.5277, allocations: 69.41 kB / 0.6174 GB, free: 13.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.5311, allocations: 2.672 MB / 0.62 GB, free: 10.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.5315, allocations: 57.7 kB / 0.6201 GB, free: 10.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.5331, allocations: 2.697 MB / 0.6227 GB, free: 7.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009447/0.534, allocations: 0.8518 MB / 0.6235 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.5353, allocations: 1.056 MB / 0.6246 GB, free: 5.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.5354, allocations: 309.1 kB / 0.6249 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/0.5383, allocations: 2.22 MB / 0.627 GB, free: 3.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/0.5432, allocations: 5.13 MB / 0.632 GB, free: 12.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008591/0.5519, allocations: 8.058 MB / 0.6399 GB, free: 3.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.647e-05/0.552, allocations: 32.69 kB / 0.6399 GB, free: 3.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01337/0.5653, allocations: 7.954 MB / 0.6477 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.5655, allocations: 48 kB / 0.6477 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.5656, allocations: 104 kB / 0.6478 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.5679, allocations: 0.7958 MB / 0.6486 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/0.5719, allocations: 1.205 MB / 0.6498 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.5775, allocations: 4.508 MB / 0.6542 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.5809, allocations: 299.7 kB / 0.6545 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008389/0.5818, allocations: 311.2 kB / 0.6548 GB, free: 3.742 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (644): * Single equations (assignments): 637 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003611/0.5854, allocations: 2.063 MB / 0.6568 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006249/0.5861, allocations: 264.5 kB / 0.6571 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007927/0.594, allocations: 4.728 MB / 0.6617 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.378e-05/0.5941, allocations: 47.98 kB / 0.6617 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.5941, allocations: 4 kB / 0.6617 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.5942, allocations: 7.969 kB / 0.6617 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.6125, allocations: 10.59 MB / 0.6721 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.6126, allocations: 8 kB / 0.6721 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.6142, allocations: 363.3 kB / 0.6724 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.6163, allocations: 0.6565 MB / 0.6731 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/0.6165, allocations: 39.98 kB / 0.6731 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/0.6213, allocations: 3.913 MB / 0.6769 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.6213, allocations: 12.28 kB / 0.6769 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.6316, allocations: 7.136 MB / 0.6839 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.633, allocations: 0.6498 MB / 0.6845 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.6337, allocations: 43.92 kB / 0.6846 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.6351, allocations: 143.8 kB / 0.6847 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.6355, allocations: 129 kB / 0.6848 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.6356, allocations: 71.97 kB / 0.6849 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002579/0.6382, allocations: 1.648 MB / 0.6865 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6382, allocations: 0 / 0.6865 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003997/0.6422, allocations: 0.9402 MB / 0.6874 GB, free: 1.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005344/0.6428, allocations: 185.3 kB / 0.6876 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007703/0.6505, allocations: 5.417 MB / 0.6929 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.6506, allocations: 0 / 0.6929 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.6533, allocations: 2.019 MB / 0.6949 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.6556, allocations: 362 kB / 0.6952 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.6722, allocations: 9.921 MB / 0.7049 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004143/0.6764, allocations: 3.232 MB / 0.7081 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.6775, allocations: 251.4 kB / 0.7083 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/0.6776, allocations: 0 / 0.7083 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.3124/0.9899, allocations: 71.4 MB / 0.778 GB, free: 185.8 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches