Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007862, allocations: 86.62 kB / 261.7 MB, free: 1.625 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.2259/0.2259, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.621e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4789, allocations: 105.4 MB / 0.5689 GB, free: 6.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4792, allocations: 81.55 kB / 0.569 GB, free: 6.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2815/0.7606, allocations: 115.5 MB / 0.6818 GB, free: 10.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7607, allocations: 0 / 0.6818 GB, free: 10.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002134/0.7609, allocations: 92 kB / 0.6819 GB, free: 10.36 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01499/0.7759, allocations: 4.453 MB / 0.6862 GB, free: 5.844 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.776, allocations: 12.03 kB / 0.6862 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.7909, allocations: 3.659 MB / 0.6898 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.8027, allocations: 4.811 MB / 0.6945 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.8029, allocations: 160 kB / 0.6947 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/0.805, allocations: 292 kB / 0.6949 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01522/0.8203, allocations: 8.459 MB / 0.7032 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2832/1.104, allocations: 11.21 MB / 0.7141 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003074/1.104, allocations: 33.75 kB / 0.7142 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/1.106, allocations: 16.91 kB / 0.7142 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/1.109, allocations: 1.4 MB / 0.7156 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/1.168, allocations: 39.83 MB / 0.7545 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/1.172, allocations: 4.381 MB / 0.7587 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/1.175, allocations: 2.373 MB / 0.761 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/1.176, allocations: 1.315 MB / 0.7623 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.176, allocations: 55.31 kB / 0.7624 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=252): time 5.149e-06/1.176, allocations: 0 / 0.7624 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=271): time 0.02928/1.205, allocations: 18.84 MB / 0.7808 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.205, allocations: 104.4 kB / 0.7809 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/1.209, allocations: 2.671 MB / 0.7835 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004061/1.209, allocations: 28.23 kB / 0.7835 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.211, allocations: 3.383 MB / 0.7868 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008279/1.211, allocations: 0.9636 MB / 0.7878 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.212, allocations: 0 / 0.7878 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002645/1.212, allocations: 0.586 MB / 0.7883 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/1.214, allocations: 2.393 MB / 0.7907 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/1.218, allocations: 6.039 MB / 0.7966 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00422/1.222, allocations: 3.824 MB / 0.8003 GB, free: 76.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.311e-05/1.222, allocations: 37.38 kB / 0.8003 GB, free: 76.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=862) (initialization): time 0.01267/1.235, allocations: 8.579 MB / 0.8087 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/1.235, allocations: 59.44 kB / 0.8088 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.235, allocations: 135.9 kB / 0.8089 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/1.238, allocations: 1.073 MB / 0.81 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/1.243, allocations: 1.493 MB / 0.8114 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/1.248, allocations: 4.86 MB / 0.8162 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/1.253, allocations: 218.3 kB / 0.8164 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008732/1.254, allocations: 389.1 kB / 0.8167 GB, free: 68.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (800): * Single equations (assignments): 793 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009582/1.255, allocations: 442.6 kB / 0.8172 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/1.256, allocations: 311.9 kB / 0.8175 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/1.263, allocations: 5.18 MB / 0.8225 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/1.263, allocations: 56.03 kB / 0.8226 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.263, allocations: 3.688 kB / 0.8226 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/1.263, allocations: 12.34 kB / 0.8226 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/1.28, allocations: 12.01 MB / 0.8343 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.28, allocations: 15.66 kB / 0.8343 GB, free: 53.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.282, allocations: 428.3 kB / 0.8347 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/1.285, allocations: 0.8792 MB / 0.8356 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/1.285, allocations: 23.28 kB / 0.8356 GB, free: 52.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/1.289, allocations: 4.229 MB / 0.8397 GB, free: 49.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.289, allocations: 19.94 kB / 0.8398 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009079/1.298, allocations: 8.961 MB / 0.8485 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.3, allocations: 0.7208 MB / 0.8492 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/1.3, allocations: 19.8 kB / 0.8492 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.302, allocations: 108.2 kB / 0.8493 GB, free: 39.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.302, allocations: 179.5 kB / 0.8495 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.302, allocations: 75.47 kB / 0.8496 GB, free: 39.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002432/1.304, allocations: 1.743 MB / 0.8513 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/1.304, allocations: 0 / 0.8513 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005099/1.31, allocations: 0.9833 MB / 0.8522 GB, free: 37.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 205 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000435/1.31, allocations: 168.9 kB / 0.8524 GB, free: 36.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007073/1.317, allocations: 5.819 MB / 0.8581 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/1.317, allocations: 4 kB / 0.8581 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.32, allocations: 2.186 MB / 0.8602 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.321, allocations: 277.6 kB / 0.8605 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.336, allocations: 9.72 MB / 0.87 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.34, allocations: 3.936 MB / 0.8738 GB, free: 16.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004536/1.344, allocations: 2.302 MB / 0.8761 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/1.345, allocations: 231.4 kB / 0.8763 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/1.345, allocations: 4 kB / 0.8763 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.3119/1.657, allocations: 30.99 MB / 0.9066 GB, free: 118.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches