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.001546/0.00155, allocations: 185.4 kB / 16.4 MB, free: 5.75 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.96/1.96, 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.001163/0.001163, allocations: 100.5 kB / 270.9 MB, free: 8.371 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.5544/0.5544, allocations: 43.54 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 19.98 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6238, allocations: 102.4 MB / 0.5787 GB, free: 180 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6242, allocations: 75.95 kB / 0.5788 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3748/0.999, allocations: 86.52 MB / 0.6633 GB, free: 8.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9991, allocations: 0 / 0.6633 GB, free: 8.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002246/0.9993, allocations: 72 kB / 0.6633 GB, free: 8.863 MB / 490.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.01558/1.015, allocations: 3.808 MB / 0.667 GB, free: 4.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.015, allocations: 8.031 kB / 0.6671 GB, free: 4.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/1.042, allocations: 3.508 MB / 0.6705 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3665/1.409, allocations: 4.174 MB / 0.6746 GB, free: 96.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/1.41, allocations: 297 kB / 0.6748 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/1.412, allocations: 388.5 kB / 0.6752 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/1.445, allocations: 10.32 MB / 0.6853 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/1.445, allocations: 31.06 kB / 0.6853 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/1.447, allocations: 178.2 kB / 0.6855 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/1.45, allocations: 1.211 MB / 0.6867 GB, free: 94.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02795/1.478, allocations: 10.02 MB / 0.6964 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/1.556, allocations: 35.58 MB / 0.7312 GB, free: 75.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.57, allocations: 4.952 MB / 0.736 GB, free: 73.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/1.572, allocations: 1.885 MB / 0.7379 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.573, allocations: 52.12 kB / 0.7379 GB, free: 71.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 6.112e-06/1.573, allocations: 3.188 kB / 0.7379 GB, free: 71.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.05205/1.625, allocations: 14.36 MB / 0.7519 GB, free: 66.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.625, allocations: 69.62 kB / 0.752 GB, free: 66.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/1.629, allocations: 2.393 MB / 0.7544 GB, free: 65.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005506/1.63, allocations: 56.25 kB / 0.7544 GB, free: 65.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.632, allocations: 2.698 MB / 0.757 GB, free: 63.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.633, allocations: 0.8576 MB / 0.7579 GB, free: 63.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005233/1.634, allocations: 101.7 kB / 0.758 GB, free: 63.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003306/1.634, allocations: 0.5399 MB / 0.7585 GB, free: 62.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.639, allocations: 2.178 MB / 0.7606 GB, free: 62.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/1.646, allocations: 5.086 MB / 0.7656 GB, free: 57.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/1.653, allocations: 3.333 MB / 0.7689 GB, free: 56.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.475e-05/1.653, allocations: 28.28 kB / 0.7689 GB, free: 56.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02086/1.674, allocations: 7.808 MB / 0.7765 GB, free: 53.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/1.674, allocations: 49.09 kB / 0.7766 GB, free: 53.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/1.675, allocations: 102.2 kB / 0.7766 GB, free: 53.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/1.679, allocations: 0.8115 MB / 0.7774 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00769/1.687, allocations: 1.201 MB / 0.7786 GB, free: 53.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008728/1.695, allocations: 4.244 MB / 0.7828 GB, free: 51.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.701, allocations: 296.7 kB / 0.783 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.702, allocations: 303.3 kB / 0.7833 GB, free: 50.66 MB / 490.7 MB 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 () * Number of clocked 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.005699/1.708, allocations: 2.049 MB / 0.7853 GB, free: 48.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006658/1.709, allocations: 264.6 kB / 0.7856 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.723, allocations: 4.71 MB / 0.7902 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/1.723, allocations: 42.75 kB / 0.7902 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.723, allocations: 7.953 kB / 0.7902 GB, free: 44.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/1.723, allocations: 7.359 kB / 0.7902 GB, free: 44.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/1.755, allocations: 10.62 MB / 0.8006 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-05/1.755, allocations: 11.95 kB / 0.8006 GB, free: 35.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004563/1.76, allocations: 361.9 kB / 0.801 GB, free: 35.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/1.765, allocations: 0.6535 MB / 0.8016 GB, free: 35.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006515/1.766, allocations: 36 kB / 0.8016 GB, free: 35.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.776, allocations: 3.696 MB / 0.8052 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-05/1.776, allocations: 7.938 kB / 0.8053 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/1.797, allocations: 7.672 MB / 0.8127 GB, free: 24.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.799, allocations: 0.6467 MB / 0.8134 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000898/1.8, allocations: 43.14 kB / 0.8134 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.803, allocations: 138.3 kB / 0.8136 GB, free: 24.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/1.803, allocations: 129.9 kB / 0.8137 GB, free: 24.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.804, allocations: 66.81 kB / 0.8137 GB, free: 24.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003507/1.807, allocations: 1.634 MB / 0.8153 GB, free: 22.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.807, allocations: 0 / 0.8153 GB, free: 22.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006339/1.814, allocations: 0.95 MB / 0.8163 GB, free: 21.72 MB / 490.7 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 (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.0008549/1.815, allocations: 181.7 kB / 0.8164 GB, free: 21.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.826, allocations: 5.341 MB / 0.8217 GB, free: 16.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.826, allocations: 0 / 0.8217 GB, free: 16.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/1.831, allocations: 2.018 MB / 0.8236 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.834, allocations: 309.5 kB / 0.8239 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.86, allocations: 11.76 MB / 0.8354 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007132/1.867, allocations: 3.337 MB / 0.8387 GB, free: 1.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/1.869, allocations: 246 kB / 0.8389 GB, free: 1.141 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/1.869, allocations: 3.938 kB / 0.8389 GB, free: 1.137 MB / 490.7 MB Notification: Performance of Templates: time 0.4972/2.366, allocations: 68.68 MB / 0.906 GB, free: 90.12 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/jenkins1/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