Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002361/0.002366, allocations: 181.9 kB / 13.66 MB, free: 1.664 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.996/1.996, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001089, allocations: 90.62 kB / 267.5 MB, free: 14.05 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.2817/0.2817, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.613e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5733/0.6879, allocations: 105.4 MB / 0.5757 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.6882, allocations: 78.23 kB / 0.5757 GB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5497/1.238, allocations: 129.1 MB / 0.7018 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.066e-06/1.238, allocations: 0 / 0.7018 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004265/1.238, allocations: 112 kB / 0.7019 GB, free: 4.852 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.3725/1.611, allocations: 6.244 MB / 0.708 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.611, allocations: 8.625 kB / 0.708 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05273/1.664, allocations: 6.46 MB / 0.7143 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03209/1.696, allocations: 8.578 MB / 0.7227 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006788/1.697, allocations: 435.5 kB / 0.7231 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003991/1.701, allocations: 0.5787 MB / 0.7237 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04943/1.75, allocations: 15.31 MB / 0.7386 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004431/1.751, allocations: 58.31 kB / 0.7387 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003531/1.754, allocations: 266.7 kB / 0.7389 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004292/1.758, allocations: 1.701 MB / 0.7406 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04491/1.803, allocations: 14.64 MB / 0.7549 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.12/1.924, allocations: 56.38 MB / 0.8099 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02979/1.953, allocations: 7.958 MB / 0.8177 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009434/1.963, allocations: 4.693 MB / 0.8223 GB, free: 56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002782/1.966, allocations: 2.206 MB / 0.8244 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/1.966, allocations: 75.95 kB / 0.8245 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 8.496e-06/1.966, allocations: 0 / 0.8245 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.1491/2.115, allocations: 33.39 MB / 0.8571 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/2.115, allocations: 116 kB / 0.8572 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008236/2.123, allocations: 3.846 MB / 0.861 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/2.125, allocations: 85.64 kB / 0.8611 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002963/2.127, allocations: 3.786 MB / 0.8648 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/2.13, allocations: 1.498 MB / 0.8662 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/2.131, allocations: 155.8 kB / 0.8664 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006618/2.132, allocations: 0.6375 MB / 0.867 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009675/2.142, allocations: 3.83 MB / 0.8707 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/2.154, allocations: 7.63 MB / 0.8782 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/2.167, allocations: 5.417 MB / 0.8835 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/2.168, allocations: 40 kB / 0.8835 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.04796/2.216, allocations: 13.79 MB / 0.897 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.216, allocations: 74.03 kB / 0.8971 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/2.216, allocations: 132 kB / 0.8972 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.376/2.592, allocations: 2.625 MB / 0.8998 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.607, allocations: 1.949 MB / 0.9017 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/2.639, allocations: 13.61 MB / 0.9149 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/2.649, allocations: 482.7 kB / 0.9154 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/2.651, allocations: 429.3 kB / 0.9158 GB, free: 105.5 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 () * 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.003012/2.654, allocations: 0.6649 MB / 0.9165 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/2.656, allocations: 466.9 kB / 0.9169 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/2.688, allocations: 10.36 MB / 0.927 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/2.688, allocations: 59.39 kB / 0.9271 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/2.688, allocations: 7.531 kB / 0.9271 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.94e-05/2.688, allocations: 24.17 kB / 0.9271 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06198/2.75, allocations: 20.99 MB / 0.9476 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.127e-05/2.75, allocations: 14.47 kB / 0.9476 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007335/2.758, allocations: 0.7842 MB / 0.9484 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/2.77, allocations: 2.413 MB / 0.9508 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/2.772, allocations: 81.05 kB / 0.9508 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02683/2.798, allocations: 12.36 MB / 0.9629 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-05/2.799, allocations: 22.27 kB / 0.9629 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04037/2.839, allocations: 16.14 MB / 0.9787 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004703/2.844, allocations: 1.157 MB / 0.9798 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/2.846, allocations: 73.34 kB / 0.9799 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005842/2.851, allocations: 303.7 kB / 0.9802 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001624/2.853, allocations: 259.1 kB / 0.9804 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006915/2.854, allocations: 114.4 kB / 0.9805 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006786/2.861, allocations: 2.688 MB / 0.9832 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.41e-07/2.861, allocations: 2.594 kB / 0.9832 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01003/2.871, allocations: 1.651 MB / 0.9848 GB, free: 88.3 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 () * 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.00149/2.872, allocations: 241.8 kB / 0.985 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02257/2.895, allocations: 9.615 MB / 0.9944 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/2.895, allocations: 0 / 0.9944 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/2.905, allocations: 4.199 MB / 0.9985 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005814/2.911, allocations: 0.6362 MB / 0.9991 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/2.949, allocations: 14.02 MB / 1.013 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.959, allocations: 4.756 MB / 1.017 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003403/2.963, allocations: 409 kB / 1.018 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/2.963, allocations: 0 / 1.018 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.6282/3.591, allocations: 136.8 MB / 1.151 GB, free: 90.68 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches