Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.000982, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008685/0.0008685, allocations: 99.97 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.174/0.174, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.845e-05, allocations: 0 / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 61.9 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4862, allocations: 103.7 MB / 0.603 GB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4865, allocations: 79.95 kB / 0.6031 GB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2055/0.692, allocations: 86.02 MB / 0.6871 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.692, allocations: 0 / 0.6871 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001231/0.6922, allocations: 67.98 kB / 0.6872 GB, free: 10.68 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009197/0.7014, allocations: 3.592 MB / 0.6907 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7014, allocations: 8.031 kB / 0.6907 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.7157, allocations: 3.489 MB / 0.6941 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.7269, allocations: 3.983 MB / 0.698 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.7273, allocations: 287.4 kB / 0.6982 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/0.7296, allocations: 379.8 kB / 0.6986 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.7486, allocations: 10.05 MB / 0.7084 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.7487, allocations: 23.81 kB / 0.7084 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005874/0.7493, allocations: 175.9 kB / 0.7086 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.7508, allocations: 1.176 MB / 0.7098 GB, free: 3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2945/1.045, allocations: 9.78 MB / 0.7193 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04828/1.094, allocations: 34.71 MB / 0.7532 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/1.102, allocations: 4.929 MB / 0.758 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00284/1.104, allocations: 2.277 MB / 0.7602 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/1.106, allocations: 1.881 MB / 0.7621 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.106, allocations: 56.22 kB / 0.7621 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 5.76e-06/1.106, allocations: 0 / 0.7621 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.02222/1.128, allocations: 11.17 MB / 0.773 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.128, allocations: 77.8 kB / 0.7731 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.131, allocations: 2.325 MB / 0.7754 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/1.131, allocations: 57.56 kB / 0.7754 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.133, allocations: 2.632 MB / 0.778 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007026/1.133, allocations: 0.8456 MB / 0.7788 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.133, allocations: 99.19 kB / 0.7789 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002469/1.134, allocations: 0.5356 MB / 0.7795 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/1.136, allocations: 2.135 MB / 0.7815 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/1.14, allocations: 4.985 MB / 0.7864 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/1.143, allocations: 3.295 MB / 0.7896 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-05/1.143, allocations: 28.5 kB / 0.7897 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01001/1.153, allocations: 7.738 MB / 0.7972 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/1.153, allocations: 45.97 kB / 0.7973 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.436e-05/1.153, allocations: 99.62 kB / 0.7973 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.155, allocations: 0.8019 MB / 0.7981 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.158, allocations: 1.18 MB / 0.7993 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/1.163, allocations: 4.15 MB / 0.8033 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.166, allocations: 285.9 kB / 0.8036 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/1.166, allocations: 308.6 kB / 0.8039 GB, free: 90.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (630): * Single equations (assignments): 623 * 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.0005771/1.167, allocations: 486.3 kB / 0.8044 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/1.167, allocations: 256.6 kB / 0.8046 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006274/1.173, allocations: 4.677 MB / 0.8092 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/1.173, allocations: 39.42 kB / 0.8092 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.173, allocations: 4 kB / 0.8092 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.173, allocations: 12.94 kB / 0.8092 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.187, allocations: 10.51 MB / 0.8195 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.187, allocations: 4 kB / 0.8195 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.189, allocations: 369 kB / 0.8198 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.19, allocations: 0.6513 MB / 0.8205 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.191, allocations: 48.64 kB / 0.8205 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/1.194, allocations: 3.583 MB / 0.824 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.194, allocations: 11.94 kB / 0.824 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008075/1.202, allocations: 7.605 MB / 0.8315 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/1.203, allocations: 317.2 kB / 0.8318 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.203, allocations: 45.34 kB / 0.8318 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.205, allocations: 135.7 kB / 0.8319 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.205, allocations: 137.2 kB / 0.8321 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.205, allocations: 64.73 kB / 0.8321 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001847/1.207, allocations: 1.578 MB / 0.8337 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.207, allocations: 0 / 0.8337 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003194/1.21, allocations: 0.9414 MB / 0.8346 GB, free: 63.09 MB / 0.5105 GB 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 () * 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.0003507/1.21, allocations: 180.2 kB / 0.8348 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006125/1.217, allocations: 5.258 MB / 0.8399 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.217, allocations: 0 / 0.8399 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/1.219, allocations: 1.99 MB / 0.8418 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.22, allocations: 320.2 kB / 0.8422 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.231, allocations: 7.868 MB / 0.8498 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/1.233, allocations: 3.257 MB / 0.853 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003824/1.237, allocations: 1.952 MB / 0.8549 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/1.238, allocations: 207.3 kB / 0.8551 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/1.238, allocations: 4 kB / 0.8551 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.04398/1.282, allocations: 28.84 MB / 0.8833 GB, free: 15.98 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches