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.001635/0.001635, allocations: 100.1 kB / 16.26 MB, free: 5.93 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.002028/0.002028, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.552/1.552, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2151/0.2151, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.00157/0.00157, allocations: 67.05 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1063, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01091/0.1173, allocations: 12.67 MB / 453.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007839/0.1251, allocations: 3.961 MB / 457.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1269, allocations: 63.88 kB / 457.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.1296, allocations: 1.331 MB / 458.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.1337, allocations: 1.782 MB / 460.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1349, allocations: 495 kB / 460.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004773/0.1397, allocations: 3.657 MB / 464.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.1427, allocations: 2.041 MB / 466.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.1446, allocations: 1.23 MB / 467.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.1467, allocations: 1.752 MB / 469.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.1472, allocations: 244 kB / 469.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.149, allocations: 0.9439 MB / 470.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1505, allocations: 1.624 MB / 472.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.1524, allocations: 1.945 MB / 474.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.1589, allocations: 6.059 MB / 480.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.159, allocations: 4 kB / 480.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.159, allocations: 0 / 480.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001582/0.1591, allocations: 0 / 480.3 MB, free: 14.93 MB / 366.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.007871/0.167, allocations: 4.238 MB / 484.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1671, allocations: 15.89 kB / 484.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.178, allocations: 3.08 MB / 487.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.1821, allocations: 1.955 MB / 489.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.1823, allocations: 193.2 kB / 489.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006753/0.183, allocations: 259.8 kB / 490 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.1992, allocations: 10.7 MB / 0.489 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.56e-05/0.1994, allocations: 27.75 kB / 0.489 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.1997, allocations: 123.8 kB / 0.4891 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004629/0.2044, allocations: 2.636 MB / 0.4917 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.2232, allocations: 10.03 MB / 0.5015 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2647/0.4879, allocations: 35.29 MB / 0.536 GB, free: 67.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009381/0.4974, allocations: 5.178 MB / 0.541 GB, free: 65.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.5005, allocations: 2.297 MB / 0.5433 GB, free: 65.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.502, allocations: 1.881 MB / 0.5451 GB, free: 64.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.502, allocations: 50.38 kB / 0.5452 GB, free: 64.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 5.23e-06/0.502, allocations: 1.031 kB / 0.5452 GB, free: 64.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.02948/0.5315, allocations: 14.03 MB / 0.5589 GB, free: 60.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5316, allocations: 73.03 kB / 0.5589 GB, free: 60.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.5345, allocations: 2.677 MB / 0.5615 GB, free: 59.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.5348, allocations: 59.47 kB / 0.5616 GB, free: 59.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.5362, allocations: 2.699 MB / 0.5642 GB, free: 57.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/0.5371, allocations: 0.8538 MB / 0.5651 GB, free: 56.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.5383, allocations: 1.051 MB / 0.5661 GB, free: 56.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.5384, allocations: 305.1 kB / 0.5664 GB, free: 56.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.5408, allocations: 2.219 MB / 0.5685 GB, free: 54.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.544, allocations: 5.14 MB / 0.5736 GB, free: 48.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006127/0.5502, allocations: 8.066 MB / 0.5814 GB, free: 38.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.5502, allocations: 28 kB / 0.5815 GB, free: 38.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01037/0.5606, allocations: 7.949 MB / 0.5892 GB, free: 30.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.5607, allocations: 52.22 kB / 0.5893 GB, free: 30.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.589e-05/0.5608, allocations: 107.4 kB / 0.5894 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.5627, allocations: 0.7928 MB / 0.5902 GB, free: 29.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.5663, allocations: 1.206 MB / 0.5913 GB, free: 28.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/0.5708, allocations: 4.518 MB / 0.5957 GB, free: 23.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.5742, allocations: 302.5 kB / 0.596 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005795/0.5748, allocations: 308 kB / 0.5963 GB, free: 23.38 MB / 414.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.002841/0.5777, allocations: 2.055 MB / 0.5983 GB, free: 21.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.5781, allocations: 264.5 kB / 0.5986 GB, free: 21.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/0.5845, allocations: 4.729 MB / 0.6032 GB, free: 16.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.5846, allocations: 43.98 kB / 0.6032 GB, free: 16.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.5846, allocations: 4.844 kB / 0.6033 GB, free: 16.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.5846, allocations: 7.969 kB / 0.6033 GB, free: 16.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.6015, allocations: 10.62 MB / 0.6136 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.6016, allocations: 8 kB / 0.6136 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.603, allocations: 359.4 kB / 0.614 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.6049, allocations: 0.6615 MB / 0.6146 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.605, allocations: 43.98 kB / 0.6147 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.6088, allocations: 3.916 MB / 0.6185 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.6089, allocations: 11.81 kB / 0.6185 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.6189, allocations: 7.131 MB / 0.6255 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.6203, allocations: 0.6537 MB / 0.6261 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.6207, allocations: 40 kB / 0.6261 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6219, allocations: 143.5 kB / 0.6263 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.6222, allocations: 134.1 kB / 0.6264 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.6223, allocations: 63.98 kB / 0.6265 GB, free: 8.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002198/0.6245, allocations: 1.648 MB / 0.6281 GB, free: 6.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.6246, allocations: 0 / 0.6281 GB, free: 6.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003719/0.6283, allocations: 0.9506 MB / 0.629 GB, free: 5.512 MB / 430.1 MB 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.0004875/0.6288, allocations: 177.3 kB / 0.6292 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01452/0.6433, allocations: 8.708 MB / 0.6377 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6434, allocations: 4.188 kB / 0.6377 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.6461, allocations: 2.018 MB / 0.6397 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6482, allocations: 362.1 kB / 0.64 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.6665, allocations: 9.601 MB / 0.6494 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004656/0.6712, allocations: 3.23 MB / 0.6525 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004777/0.676, allocations: 1.973 MB / 0.6545 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.6767, allocations: 203.4 kB / 0.6547 GB, free: 11.16 MB / 462.1 MB Notification: Performance of SimCode: time 3.577e-06/0.6767, allocations: 0 / 0.6547 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.05563/0.7324, allocations: 31.05 MB / 0.685 GB, free: 12.21 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/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