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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.371/1.371, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008785/0.0008785, allocations: 96.73 kB / 267.1 MB, free: 9.258 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.3392/0.3392, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.139e-05, allocations: 8 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.83 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.5033, allocations: 102.3 MB / 0.5727 GB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5037, allocations: 73.97 kB / 0.5728 GB, free: 3.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2123/0.716, allocations: 86.59 MB / 0.6573 GB, free: 5.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.7161, allocations: 0 / 0.6573 GB, free: 5.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.7162, allocations: 68 kB / 0.6574 GB, free: 5.582 MB / 474.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.01198/0.7282, allocations: 3.672 MB / 0.661 GB, free: 1.848 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7283, allocations: 8.031 kB / 0.661 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.7431, allocations: 3.512 MB / 0.6644 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.7535, allocations: 4.159 MB / 0.6685 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.7538, allocations: 295.7 kB / 0.6687 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.7558, allocations: 389.1 kB / 0.6691 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.778, allocations: 10.23 MB / 0.6791 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.7781, allocations: 27.72 kB / 0.6791 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009795/0.7791, allocations: 179.8 kB / 0.6793 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001614/0.7808, allocations: 1.211 MB / 0.6805 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.7991, allocations: 9.871 MB / 0.6901 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3246/1.124, allocations: 35.58 MB / 0.7249 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008419/1.132, allocations: 4.921 MB / 0.7297 GB, free: 88.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/1.135, allocations: 2.272 MB / 0.7319 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/1.137, allocations: 1.881 MB / 0.7337 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.137, allocations: 55.53 kB / 0.7338 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.933e-06/1.137, allocations: 0 / 0.7338 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.02597/1.163, allocations: 11.25 MB / 0.7448 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.163, allocations: 79.64 kB / 0.7449 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/1.167, allocations: 2.362 MB / 0.7472 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005104/1.168, allocations: 60.81 kB / 0.7472 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/1.17, allocations: 2.709 MB / 0.7499 GB, free: 84.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001809/1.172, allocations: 0.8502 MB / 0.7507 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.172, allocations: 104.2 kB / 0.7508 GB, free: 83.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003712/1.172, allocations: 0.5328 MB / 0.7513 GB, free: 83.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.176, allocations: 2.144 MB / 0.7534 GB, free: 82.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00559/1.181, allocations: 5.043 MB / 0.7583 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/1.187, allocations: 3.321 MB / 0.7616 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.188, allocations: 28.78 kB / 0.7616 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01443/1.202, allocations: 7.807 MB / 0.7692 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/1.202, allocations: 54.12 kB / 0.7693 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/1.202, allocations: 100.4 kB / 0.7694 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/1.204, allocations: 0.7989 MB / 0.7702 GB, free: 74.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/1.209, allocations: 1.204 MB / 0.7713 GB, free: 74.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/1.213, allocations: 4.139 MB / 0.7754 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00432/1.218, allocations: 294 kB / 0.7757 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009816/1.219, allocations: 304.5 kB / 0.776 GB, free: 71.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 632 * 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.001046/1.22, allocations: 0.489 MB / 0.7764 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/1.22, allocations: 262.2 kB / 0.7767 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007785/1.228, allocations: 4.675 MB / 0.7812 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/1.228, allocations: 43.95 kB / 0.7813 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.228, allocations: 4.422 kB / 0.7813 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/1.228, allocations: 12.81 kB / 0.7813 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.246, allocations: 10.58 MB / 0.7916 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.246, allocations: 8.094 kB / 0.7916 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.247, allocations: 376.3 kB / 0.792 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.249, allocations: 0.6499 MB / 0.7926 GB, free: 66.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.249, allocations: 34.97 kB / 0.7927 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/1.253, allocations: 3.595 MB / 0.7962 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.253, allocations: 11.56 kB / 0.7962 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008842/1.262, allocations: 7.619 MB / 0.8036 GB, free: 60.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.264, allocations: 0.6505 MB / 0.8043 GB, free: 60.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.264, allocations: 40.53 kB / 0.8043 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.265, allocations: 135 kB / 0.8044 GB, free: 60.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.266, allocations: 138.2 kB / 0.8046 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.266, allocations: 63.89 kB / 0.8046 GB, free: 60.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002/1.268, allocations: 1.61 MB / 0.8062 GB, free: 59.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 0.8062 GB, free: 59.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004722/1.273, allocations: 0.9518 MB / 0.8071 GB, free: 59.73 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 () * 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.0004626/1.273, allocations: 187.5 kB / 0.8073 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007149/1.28, allocations: 5.28 MB / 0.8125 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.28, allocations: 4 kB / 0.8125 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.283, allocations: 1.987 MB / 0.8144 GB, free: 54.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.284, allocations: 324 kB / 0.8147 GB, free: 53.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.298, allocations: 8.003 MB / 0.8225 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.302, allocations: 3.316 MB / 0.8258 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004236/1.306, allocations: 1.966 MB / 0.8277 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006769/1.307, allocations: 203.2 kB / 0.8279 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/1.307, allocations: 0 / 0.8279 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.04838/1.355, allocations: 28.97 MB / 0.8562 GB, free: 20.77 MB / 0.4948 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/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_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches