Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001552, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.944/1.944, 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.001158/0.001157, allocations: 91.39 kB / 270.9 MB, free: 8.379 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.5121/0.5121, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005086, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1302, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5001/0.6303, allocations: 107.6 MB / 0.5838 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6307, allocations: 75.97 kB / 0.5839 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3178/0.9485, allocations: 73.29 MB / 0.6555 GB, free: 1.234 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.9485, allocations: 0 / 0.6555 GB, free: 1.234 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002572/0.9488, allocations: 64 kB / 0.6555 GB, free: 1.172 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01486/0.9637, allocations: 3.619 MB / 0.6591 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9638, allocations: 12.02 kB / 0.6591 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.9803, allocations: 2.089 MB / 0.6611 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.9971, allocations: 4.116 MB / 0.6652 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/0.9976, allocations: 266.9 kB / 0.6654 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.9998, allocations: 352.8 kB / 0.6657 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3767/1.376, allocations: 8.987 MB / 0.6745 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003417/1.377, allocations: 58.33 kB / 0.6746 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.379, allocations: 179.6 kB / 0.6747 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/1.382, allocations: 0.8887 MB / 0.6756 GB, free: 93.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/1.405, allocations: 7.268 MB / 0.6827 GB, free: 93.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05944/1.465, allocations: 42.97 MB / 0.7247 GB, free: 65.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.477, allocations: 3.296 MB / 0.7279 GB, free: 64.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/1.488, allocations: 4.438 MB / 0.7322 GB, free: 61.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.488, allocations: 51.72 kB / 0.7323 GB, free: 61.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 6.733e-06/1.488, allocations: 0 / 0.7323 GB, free: 61.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.04823/1.536, allocations: 11.67 MB / 0.7437 GB, free: 57.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/1.537, allocations: 165 kB / 0.7438 GB, free: 56.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008546/1.545, allocations: 3.342 MB / 0.7471 GB, free: 55.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/1.546, allocations: 46.58 kB / 0.7471 GB, free: 55.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002459/1.548, allocations: 2.696 MB / 0.7498 GB, free: 53.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009226/1.549, allocations: 0.521 MB / 0.7503 GB, free: 53.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000659/1.55, allocations: 104.7 kB / 0.7504 GB, free: 53.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003632/1.55, allocations: 0.5367 MB / 0.7509 GB, free: 52.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004402/1.554, allocations: 1.682 MB / 0.7526 GB, free: 52.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006582/1.561, allocations: 5.095 MB / 0.7575 GB, free: 46.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/1.568, allocations: 2.871 MB / 0.7603 GB, free: 45.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.568, allocations: 35.75 kB / 0.7604 GB, free: 45.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01683/1.585, allocations: 6.57 MB / 0.7668 GB, free: 43.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.585, allocations: 54.75 kB / 0.7668 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/1.585, allocations: 124.7 kB / 0.767 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.586, allocations: 333.4 kB / 0.7673 GB, free: 43.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/1.594, allocations: 1.286 MB / 0.7685 GB, free: 43.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/1.597, allocations: 2.329 MB / 0.7708 GB, free: 41.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/1.604, allocations: 295.9 kB / 0.7711 GB, free: 41.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.605, allocations: 330.2 kB / 0.7714 GB, free: 41.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005056/1.61, allocations: 1.802 MB / 0.7732 GB, free: 40.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/1.611, allocations: 311.4 kB / 0.7735 GB, free: 40.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007764/1.619, allocations: 2.359 MB / 0.7758 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.207e-05/1.619, allocations: 16.97 kB / 0.7758 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.619, allocations: 3.969 kB / 0.7758 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.619, allocations: 3.797 kB / 0.7758 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.638, allocations: 5.95 MB / 0.7816 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/1.638, allocations: 7.641 kB / 0.7816 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.64, allocations: 167.4 kB / 0.7818 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/1.644, allocations: 0.7053 MB / 0.7824 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/1.644, allocations: 27.09 kB / 0.7825 GB, free: 37.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008854/1.653, allocations: 4.57 MB / 0.7869 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.653, allocations: 5.906 kB / 0.7869 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.664, allocations: 4.448 MB / 0.7913 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.666, allocations: 0.537 MB / 0.7918 GB, free: 32.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009622/1.667, allocations: 26.77 kB / 0.7918 GB, free: 32.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.67, allocations: 69.2 kB / 0.7919 GB, free: 32.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/1.67, allocations: 63.78 kB / 0.792 GB, free: 32.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.67, allocations: 35 kB / 0.792 GB, free: 32.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005834/1.676, allocations: 2.33 MB / 0.7943 GB, free: 31.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.676, allocations: 0 / 0.7943 GB, free: 31.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006203/1.683, allocations: 0.8353 MB / 0.7951 GB, free: 31.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000563/1.683, allocations: 155.6 kB / 0.7952 GB, free: 31.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008768/1.692, allocations: 4.004 MB / 0.7991 GB, free: 29.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.692, allocations: 0 / 0.7991 GB, free: 29.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.694, allocations: 1.108 MB / 0.8002 GB, free: 29.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.697, allocations: 356.7 kB / 0.8006 GB, free: 29.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.718, allocations: 8.986 MB / 0.8093 GB, free: 23.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005849/1.723, allocations: 2.873 MB / 0.8121 GB, free: 21.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.725, allocations: 246.8 kB / 0.8124 GB, free: 20.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/1.725, allocations: 4 kB / 0.8124 GB, free: 20.77 MB / 490.7 MB Notification: Performance of Templates: time 0.4854/2.21, allocations: 61.67 MB / 0.8726 GB, free: 116.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches