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.001617/0.001617, allocations: 175.5 kB / 16.76 MB, free: 5.023 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.433/1.433, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.001088/0.001088, allocations: 90.41 kB / 271.3 MB, free: 8.258 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.3154/0.3154, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006176/0.0006176, allocations: 15.98 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.4446, allocations: 106.4 MB / 0.5838 GB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4448, allocations: 79.97 kB / 0.5839 GB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4895/0.9343, allocations: 116.3 MB / 0.6975 GB, free: 93.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.9343, allocations: 3.391 kB / 0.6975 GB, free: 93.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.9345, allocations: 93.73 kB / 0.6976 GB, free: 93.16 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.0149/0.9494, allocations: 4.587 MB / 0.7021 GB, free: 91.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9495, allocations: 10.03 kB / 0.7021 GB, free: 91.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.9653, allocations: 3.624 MB / 0.7056 GB, free: 90.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008303/0.9736, allocations: 3.758 MB / 0.7093 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.9741, allocations: 383.1 kB / 0.7097 GB, free: 90.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/0.9768, allocations: 0.4904 MB / 0.7101 GB, free: 90.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/1.01, allocations: 12.15 MB / 0.722 GB, free: 88.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000511/1.011, allocations: 37.69 kB / 0.722 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/1.014, allocations: 232.7 kB / 0.7223 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003329/1.018, allocations: 1.39 MB / 0.7236 GB, free: 88.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/1.044, allocations: 11.23 MB / 0.7346 GB, free: 85.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0587/1.103, allocations: 42.8 MB / 0.7764 GB, free: 59.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00761/1.11, allocations: 4.72 MB / 0.781 GB, free: 56.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/1.113, allocations: 2.441 MB / 0.7834 GB, free: 56.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/1.114, allocations: 1.308 MB / 0.7847 GB, free: 54.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.114, allocations: 59.95 kB / 0.7847 GB, free: 54.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.739e-06/1.114, allocations: 3.375 kB / 0.7847 GB, free: 54.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=268): time 0.03991/1.154, allocations: 19.31 MB / 0.8036 GB, free: 40.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.154, allocations: 103 kB / 0.8037 GB, free: 40.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/1.159, allocations: 3.256 MB / 0.8069 GB, free: 37.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003388/1.159, allocations: 61.64 kB / 0.8069 GB, free: 37.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.161, allocations: 3.279 MB / 0.8101 GB, free: 34.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008402/1.162, allocations: 0.9798 MB / 0.8111 GB, free: 33.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/1.162, allocations: 120 kB / 0.8112 GB, free: 33.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003618/1.162, allocations: 0.5663 MB / 0.8117 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.165, allocations: 2.453 MB / 0.8141 GB, free: 31.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004459/1.17, allocations: 5.855 MB / 0.8198 GB, free: 24.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008955/1.179, allocations: 9.147 MB / 0.8288 GB, free: 13.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.179, allocations: 32 kB / 0.8288 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01553/1.195, allocations: 9.085 MB / 0.8377 GB, free: 4.406 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.195, allocations: 56 kB / 0.8377 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.195, allocations: 116 kB / 0.8378 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.198, allocations: 1.058 MB / 0.8389 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1.202, allocations: 1.384 MB / 0.8402 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/1.209, allocations: 5.093 MB / 0.8452 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/1.213, allocations: 327.7 kB / 0.8455 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.214, allocations: 348 kB / 0.8459 GB, free: 11.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 739 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005399/1.22, allocations: 2.482 MB / 0.8483 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007073/1.22, allocations: 327.8 kB / 0.8486 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.231, allocations: 5.349 MB / 0.8538 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-05/1.231, allocations: 43.98 kB / 0.8539 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.231, allocations: 7.938 kB / 0.8539 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/1.231, allocations: 11.95 kB / 0.8539 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2499/1.481, allocations: 13.33 MB / 0.8669 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/1.481, allocations: 11.09 kB / 0.8669 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.483, allocations: 424.6 kB / 0.8673 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/1.486, allocations: 0.893 MB / 0.8682 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000371/1.486, allocations: 58.14 kB / 0.8682 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/1.491, allocations: 4.417 MB / 0.8725 GB, free: 96.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.491, allocations: 19.62 kB / 0.8726 GB, free: 96.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.502, allocations: 7.992 MB / 0.8804 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.504, allocations: 0.7327 MB / 0.8811 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.504, allocations: 55.52 kB / 0.8811 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.505, allocations: 144.8 kB / 0.8813 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/1.506, allocations: 169.2 kB / 0.8814 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.506, allocations: 75.72 kB / 0.8815 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003111/1.509, allocations: 1.997 MB / 0.8835 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.509, allocations: 0 / 0.8835 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004651/1.514, allocations: 1.12 MB / 0.8846 GB, free: 95.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * 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.0004608/1.514, allocations: 207.4 kB / 0.8848 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008711/1.523, allocations: 6.004 MB / 0.8906 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.523, allocations: 2.094 kB / 0.8906 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/1.526, allocations: 2.247 MB / 0.8928 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0077/1.534, allocations: 428.5 kB / 0.8932 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.563, allocations: 13.89 MB / 0.9068 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006886/1.57, allocations: 3.827 MB / 0.9105 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005301/1.575, allocations: 2.185 MB / 0.9127 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/1.576, allocations: 246.7 kB / 0.9129 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.051e-06/1.576, allocations: 0 / 0.9129 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.067/1.643, allocations: 35.2 MB / 0.9473 GB, free: 85.12 MB / 0.4948 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/jenkins1/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