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.001585/0.001585, allocations: 176.2 kB / 16.77 MB, free: 5.051 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.471/1.471, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007821/0.0007823, allocations: 85.44 kB / 271.3 MB, free: 8.262 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.3891/0.3891, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.5093, allocations: 105.6 MB / 0.5831 GB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5096, allocations: 79.97 kB / 0.5831 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5648/1.074, allocations: 126.5 MB / 0.7067 GB, free: 90.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.074, allocations: 0 / 0.7067 GB, free: 90.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004943/1.075, allocations: 115.8 kB / 0.7068 GB, free: 90.29 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02432/1.099, allocations: 6.415 MB / 0.7131 GB, free: 87.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.099, allocations: 8.875 kB / 0.7131 GB, free: 87.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02415/1.124, allocations: 5.55 MB / 0.7185 GB, free: 87.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02069/1.144, allocations: 7.228 MB / 0.7255 GB, free: 86.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005555/1.145, allocations: 441.8 kB / 0.726 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003755/1.149, allocations: 0.5807 MB / 0.7265 GB, free: 86.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04037/1.189, allocations: 15.3 MB / 0.7415 GB, free: 82.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005907/1.19, allocations: 61.22 kB / 0.7415 GB, free: 82.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003711/1.193, allocations: 265.1 kB / 0.7418 GB, free: 82.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/1.196, allocations: 1.698 MB / 0.7434 GB, free: 81.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03191/1.228, allocations: 14.67 MB / 0.7578 GB, free: 77.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08751/1.316, allocations: 56.28 MB / 0.8127 GB, free: 33.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/1.332, allocations: 7.942 MB / 0.8205 GB, free: 25.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006745/1.338, allocations: 4.729 MB / 0.8251 GB, free: 20.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/1.34, allocations: 2.214 MB / 0.8273 GB, free: 17.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.34, allocations: 69.08 kB / 0.8273 GB, free: 17.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=367): time 9.789e-06/1.34, allocations: 3.422 kB / 0.8273 GB, free: 17.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=419): time 0.3708/1.711, allocations: 38.76 MB / 0.8652 GB, free: 97.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/1.711, allocations: 116.4 kB / 0.8653 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007177/1.718, allocations: 4.37 MB / 0.8696 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.719, allocations: 83.42 kB / 0.8696 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/1.722, allocations: 3.932 MB / 0.8735 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002314/1.724, allocations: 1.492 MB / 0.8749 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/1.725, allocations: 153.5 kB / 0.8751 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004494/1.725, allocations: 0.6335 MB / 0.8757 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/1.731, allocations: 3.894 MB / 0.8795 GB, free: 95.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007467/1.738, allocations: 7.725 MB / 0.887 GB, free: 90.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/1.754, allocations: 12.65 MB / 0.8994 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002886/1.754, allocations: 41.31 kB / 0.8994 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.03443/1.788, allocations: 14.09 MB / 0.9132 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003468/1.789, allocations: 61.28 kB / 0.9133 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004894/1.789, allocations: 130.2 kB / 0.9134 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/1.797, allocations: 2.616 MB / 0.9159 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007812/1.805, allocations: 1.943 MB / 0.9178 GB, free: 79.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/1.825, allocations: 13.65 MB / 0.9312 GB, free: 73.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008295/1.834, allocations: 477.2 kB / 0.9316 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/1.836, allocations: 437.1 kB / 0.932 GB, free: 72.96 MB / 0.4948 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.008939/1.845, allocations: 2.912 MB / 0.9349 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.847, allocations: 473.5 kB / 0.9353 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02127/1.868, allocations: 10.42 MB / 0.9455 GB, free: 68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-05/1.868, allocations: 65.05 kB / 0.9456 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/1.868, allocations: 14.38 kB / 0.9456 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.118e-05/1.868, allocations: 20.88 kB / 0.9456 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03939/1.908, allocations: 21.07 MB / 0.9662 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.908, allocations: 13.5 kB / 0.9662 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/1.912, allocations: 0.7825 MB / 0.967 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006277/1.918, allocations: 2.407 MB / 0.9693 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/1.919, allocations: 84.25 kB / 0.9694 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.933, allocations: 12.38 MB / 0.9815 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.933, allocations: 19.64 kB / 0.9815 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/1.955, allocations: 14.88 MB / 0.996 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/1.959, allocations: 1.157 MB / 0.9972 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.96, allocations: 79.84 kB / 0.9972 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/1.963, allocations: 294.6 kB / 0.9975 GB, free: 37.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006914/1.964, allocations: 265.9 kB / 0.9978 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.964, allocations: 115.5 kB / 0.9979 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004432/1.968, allocations: 2.727 MB / 1.001 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/1.968, allocations: 0 / 1.001 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009986/1.978, allocations: 1.654 MB / 1.002 GB, free: 33.17 MB / 0.4948 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.001147/1.979, allocations: 239.6 kB / 1.002 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01477/1.994, allocations: 9.726 MB / 1.012 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/1.994, allocations: 4 kB / 1.012 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005884/2, allocations: 4.249 MB / 1.016 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/2.013, allocations: 0.6926 MB / 1.017 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/2.05, allocations: 18.44 MB / 1.035 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009992/2.06, allocations: 4.616 MB / 1.039 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00915/2.069, allocations: 2.745 MB / 1.042 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/2.071, allocations: 347.4 kB / 1.042 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.071, allocations: 4 kB / 1.042 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of Templates: time 0.3986/2.47, allocations: 65.49 MB / 1.106 GB, free: 96.36 MB / 0.5105 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/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_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches