Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.789/1.789, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001002/0.001002, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2621/0.2621, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 15.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6312, allocations: 105.4 MB / 0.5817 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.6316, allocations: 85.3 kB / 0.5818 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3389/0.9706, allocations: 128.9 MB / 0.7077 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9706, allocations: 0 / 0.7077 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003158/0.9709, allocations: 116 kB / 0.7078 GB, free: 1.102 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.3448/1.316, allocations: 6.685 MB / 0.7144 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/1.316, allocations: 10.31 kB / 0.7144 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03049/1.346, allocations: 6.446 MB / 0.7207 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02682/1.373, allocations: 8.619 MB / 0.7291 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007369/1.374, allocations: 439.5 kB / 0.7295 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004935/1.379, allocations: 0.5801 MB / 0.7301 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04998/1.429, allocations: 15.44 MB / 0.7451 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006921/1.43, allocations: 57.25 kB / 0.7452 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004813/1.435, allocations: 271.4 kB / 0.7455 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/1.438, allocations: 1.695 MB / 0.7471 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/1.473, allocations: 14.84 MB / 0.7616 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09967/1.573, allocations: 56.37 MB / 0.8167 GB, free: 67.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01787/1.591, allocations: 7.998 MB / 0.8245 GB, free: 60.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.593, allocations: 2.219 MB / 0.8266 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/1.593, allocations: 65.08 kB / 0.8267 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 1.027e-05/1.593, allocations: 0 / 0.8267 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.109/1.702, allocations: 39.69 MB / 0.8655 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/1.702, allocations: 115.8 kB / 0.8656 GB, free: 23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008389/1.71, allocations: 3.879 MB / 0.8694 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/1.712, allocations: 85.7 kB / 0.8694 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002829/1.714, allocations: 3.915 MB / 0.8733 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.717, allocations: 1.493 MB / 0.8747 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/1.718, allocations: 156 kB / 0.8749 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008196/1.719, allocations: 0.6366 MB / 0.8755 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006623/1.726, allocations: 3.888 MB / 0.8793 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.736, allocations: 7.698 MB / 0.8868 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.747, allocations: 5.435 MB / 0.8921 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/1.747, allocations: 40 kB / 0.8921 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.3184/2.066, allocations: 14.09 MB / 0.9059 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.066, allocations: 61.81 kB / 0.906 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002752/2.066, allocations: 131.8 kB / 0.9061 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/2.075, allocations: 2.637 MB / 0.9087 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008675/2.084, allocations: 1.949 MB / 0.9106 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/2.104, allocations: 14.07 MB / 0.9243 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007088/2.112, allocations: 480 kB / 0.9248 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.113, allocations: 433.7 kB / 0.9252 GB, free: 102.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (923): * Single equations (assignments): 915 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007025/2.12, allocations: 2.92 MB / 0.928 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.122, allocations: 468.6 kB / 0.9285 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/2.139, allocations: 10.43 MB / 0.9387 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/2.139, allocations: 68.5 kB / 0.9387 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/2.139, allocations: 14.62 kB / 0.9387 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/2.139, allocations: 14.95 kB / 0.9388 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/2.181, allocations: 21.05 MB / 0.9593 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/2.181, allocations: 11.41 kB / 0.9593 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/2.185, allocations: 0.7905 MB / 0.9601 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/2.192, allocations: 2.416 MB / 0.9624 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/2.193, allocations: 76.64 kB / 0.9625 GB, free: 98.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/2.209, allocations: 12.82 MB / 0.975 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/2.209, allocations: 17.97 kB / 0.9751 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/2.24, allocations: 16.25 MB / 0.9909 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/2.245, allocations: 1.154 MB / 0.9921 GB, free: 84.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/2.247, allocations: 80.05 kB / 0.9921 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004298/2.251, allocations: 294.4 kB / 0.9924 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001571/2.253, allocations: 266.5 kB / 0.9927 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00108/2.254, allocations: 113.5 kB / 0.9928 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006461/2.26, allocations: 2.723 MB / 0.9954 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.52e-07/2.261, allocations: 6.266 kB / 0.9954 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01198/2.272, allocations: 1.651 MB / 0.9971 GB, free: 83.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/2.274, allocations: 240.4 kB / 0.9973 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01894/2.293, allocations: 9.729 MB / 1.007 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.112e-05/2.293, allocations: 0 / 1.007 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00795/2.301, allocations: 4.252 MB / 1.011 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/2.307, allocations: 0.6352 MB / 1.012 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/2.343, allocations: 18.4 MB / 1.03 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/2.355, allocations: 4.755 MB / 1.034 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01007/2.365, allocations: 2.742 MB / 1.037 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/2.368, allocations: 351.6 kB / 1.037 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/2.368, allocations: 0 / 1.037 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.4027/2.77, allocations: 65.23 MB / 1.101 GB, free: 115 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches