Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009916/0.0009914, allocations: 180.4 kB / 16.41 MB, free: 5.703 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.576/1.576, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008118/0.0008119, allocations: 86.42 kB / 270.9 MB, free: 8.363 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.3769/0.3769, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2244/0.3475, allocations: 27.13 MB / 0.5052 GB, free: 31.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3612, allocations: 6.437 MB / 0.5115 GB, free: 27.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005406/0.3666, allocations: 121.7 kB / 0.5116 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.3705, allocations: 1.292 MB / 0.5129 GB, free: 26.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.3811, allocations: 4.013 MB / 0.5168 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.3829, allocations: 417.3 kB / 0.5172 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004485/0.3874, allocations: 3.952 MB / 0.5211 GB, free: 23.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.3901, allocations: 2.271 MB / 0.5233 GB, free: 22.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.3915, allocations: 1.053 MB / 0.5243 GB, free: 22.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.3931, allocations: 1.694 MB / 0.526 GB, free: 21.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.3934, allocations: 139.2 kB / 0.5261 GB, free: 21.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.395, allocations: 0.7448 MB / 0.5268 GB, free: 21.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3961, allocations: 1.506 MB / 0.5283 GB, free: 21.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.3967, allocations: 0.759 MB / 0.5291 GB, free: 20.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.402, allocations: 4.799 MB / 0.5337 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4021, allocations: 0.7031 kB / 0.5337 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4021, allocations: 0 / 0.5337 GB, free: 19.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000256/0.4023, allocations: 0 / 0.5337 GB, free: 19.58 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.007655/0.41, allocations: 3.527 MB / 0.5372 GB, free: 17.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4101, allocations: 8.656 kB / 0.5372 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4205, allocations: 3.171 MB / 0.5403 GB, free: 16.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.4251, allocations: 1.918 MB / 0.5422 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4254, allocations: 197.1 kB / 0.5423 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.4264, allocations: 248.7 kB / 0.5426 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/0.4438, allocations: 10.7 MB / 0.553 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-05/0.4439, allocations: 28.12 kB / 0.5531 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.4443, allocations: 115.5 kB / 0.5532 GB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.4485, allocations: 2.653 MB / 0.5558 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.4668, allocations: 9.986 MB / 0.5655 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.5187, allocations: 35.28 MB / 0.6 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/0.5281, allocations: 5.164 MB / 0.605 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.5316, allocations: 2.283 MB / 0.6072 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.5335, allocations: 1.888 MB / 0.6091 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.5336, allocations: 54.2 kB / 0.6091 GB, free: 14.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.33e-06/0.5336, allocations: 0 / 0.6091 GB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.03356/0.5672, allocations: 13.97 MB / 0.6228 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5673, allocations: 73.41 kB / 0.6229 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.5714, allocations: 2.66 MB / 0.6255 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.5719, allocations: 57.69 kB / 0.6255 GB, free: 14.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.5738, allocations: 2.705 MB / 0.6281 GB, free: 11.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00097/0.5748, allocations: 0.8518 MB / 0.629 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.5751, allocations: 100 kB / 0.6291 GB, free: 10.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003474/0.5754, allocations: 0.5372 MB / 0.6296 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003251/0.5787, allocations: 2.197 MB / 0.6317 GB, free: 7.664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005059/0.5837, allocations: 5.115 MB / 0.6367 GB, free: 1.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005144/0.5889, allocations: 3.346 MB / 0.64 GB, free: 13.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.038e-05/0.589, allocations: 32 kB / 0.64 GB, free: 13.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01392/0.6029, allocations: 7.914 MB / 0.6478 GB, free: 5.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.903e-05/0.603, allocations: 48 kB / 0.6478 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/0.6032, allocations: 103.4 kB / 0.6479 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.6054, allocations: 0.8092 MB / 0.6487 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.6094, allocations: 1.205 MB / 0.6499 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.6152, allocations: 4.198 MB / 0.654 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/0.6192, allocations: 303.7 kB / 0.6543 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008589/0.6201, allocations: 308 kB / 0.6546 GB, free: 14.71 MB / 490.7 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 (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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004517/0.6246, allocations: 2.051 MB / 0.6566 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/0.6252, allocations: 264.5 kB / 0.6568 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/0.6334, allocations: 4.722 MB / 0.6614 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.6335, allocations: 44 kB / 0.6615 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6335, allocations: 3.984 kB / 0.6615 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.6335, allocations: 7.969 kB / 0.6615 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.6517, allocations: 10.59 MB / 0.6718 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.6518, allocations: 4 kB / 0.6718 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.6533, allocations: 359.4 kB / 0.6722 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.6553, allocations: 0.6601 MB / 0.6728 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.6555, allocations: 47.89 kB / 0.6729 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.66, allocations: 3.655 MB / 0.6764 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.66, allocations: 11.94 kB / 0.6764 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.6703, allocations: 7.117 MB / 0.6834 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.6717, allocations: 0.6421 MB / 0.684 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/0.6722, allocations: 43.98 kB / 0.6841 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1861/0.8582, allocations: 138.8 kB / 0.6842 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006324/0.8589, allocations: 132.5 kB / 0.6843 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/0.8593, allocations: 65.53 kB / 0.6844 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00362/0.863, allocations: 1.616 MB / 0.686 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.863, allocations: 1.531 kB / 0.686 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005234/0.8682, allocations: 0.9447 MB / 0.6869 GB, free: 152.3 MB / 0.4948 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 (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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/0.8687, allocations: 174.3 kB / 0.687 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007993/0.8767, allocations: 5.363 MB / 0.6923 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.8768, allocations: 2.938 kB / 0.6923 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.8791, allocations: 2.014 MB / 0.6943 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.881, allocations: 341.7 kB / 0.6946 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.8961, allocations: 11.78 MB / 0.7061 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/0.899, allocations: 3.233 MB / 0.7092 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.9001, allocations: 248.7 kB / 0.7095 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.9001, allocations: 0 / 0.7095 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.08611/0.9862, allocations: 70.8 MB / 0.7786 GB, free: 95.18 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches