Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 196.1 kB / 8.536 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008717/0.0008718, allocations: 89.05 kB / 286.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.144e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.522, allocations: 107.9 MB / 0.6091 GB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5223, allocations: 74.02 kB / 0.6092 GB, free: 11.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3087/0.831, allocations: 113 MB / 0.7195 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003746/0.8314, allocations: 91.94 kB / 0.7196 GB, free: 2.18 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01975/0.8512, allocations: 4.291 MB / 0.7238 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.8513, allocations: 8.031 kB / 0.7238 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.868, allocations: 2.906 MB / 0.7266 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.8819, allocations: 4.109 MB / 0.7306 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.8823, allocations: 152 kB / 0.7308 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/0.8856, allocations: 283.9 kB / 0.731 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01825/0.9039, allocations: 8.419 MB / 0.7393 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/0.9365, allocations: 11.06 MB / 0.7501 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004419/0.937, allocations: 39.66 kB / 0.7501 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003434/0.9404, allocations: 16 kB / 0.7501 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002459/0.9429, allocations: 1.408 MB / 0.7515 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2915/1.234, allocations: 38.86 MB / 0.7894 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/1.239, allocations: 3.064 MB / 0.7924 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/1.242, allocations: 2.502 MB / 0.7949 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/1.254, allocations: 9.863 MB / 0.8045 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.254, allocations: 51.31 kB / 0.8046 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 4.789e-06/1.254, allocations: 0 / 0.8046 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.02904/1.284, allocations: 16.44 MB / 0.8206 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.284, allocations: 72.34 kB / 0.8207 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/1.288, allocations: 2.817 MB / 0.8234 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000539/1.289, allocations: 28.92 kB / 0.8235 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.29, allocations: 3.166 MB / 0.8266 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.292, allocations: 0.8852 MB / 0.8274 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/1.292, allocations: 0 / 0.8274 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003866/1.292, allocations: 0.5764 MB / 0.828 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/1.295, allocations: 2.518 MB / 0.8304 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005299/1.301, allocations: 5.998 MB / 0.8363 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006622/1.307, allocations: 3.962 MB / 0.8402 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/1.307, allocations: 35.91 kB / 0.8402 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.0178/1.325, allocations: 8.622 MB / 0.8486 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.325, allocations: 4 kB / 0.8486 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/1.325, allocations: 124 kB / 0.8487 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/1.328, allocations: 1.005 MB / 0.8497 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.334, allocations: 1.418 MB / 0.8511 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/1.339, allocations: 4.766 MB / 0.8558 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/1.344, allocations: 172.2 kB / 0.8559 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.346, allocations: 373.5 kB / 0.8563 GB, free: 141.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 563 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (780): * Single equations (assignments): 773 * 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 {(5,76.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.347, allocations: 430.5 kB / 0.8567 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/1.347, allocations: 307.4 kB / 0.857 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007255/1.354, allocations: 4.93 MB / 0.8618 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.355, allocations: 43.33 kB / 0.8618 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.355, allocations: 4 kB / 0.8618 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/1.355, allocations: 14.41 kB / 0.8619 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.371, allocations: 10.07 MB / 0.8717 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.371, allocations: 7.938 kB / 0.8717 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.373, allocations: 354.7 kB / 0.872 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/1.375, allocations: 0.7958 MB / 0.8728 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.375, allocations: 11.38 kB / 0.8728 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/1.38, allocations: 4.167 MB / 0.8769 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.38, allocations: 4 kB / 0.8769 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009357/1.389, allocations: 7.93 MB / 0.8846 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/1.39, allocations: 355.8 kB / 0.885 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/1.391, allocations: 12 kB / 0.885 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.392, allocations: 66.39 kB / 0.8851 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/1.393, allocations: 110 kB / 0.8852 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.393, allocations: 60 kB / 0.8852 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002654/1.395, allocations: 1.86 MB / 0.887 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005122/1.4, allocations: 0.9725 MB / 0.888 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (188): * Single equations (assignments): 181 * 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.0004317/1.401, allocations: 160.7 kB / 0.8881 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007954/1.409, allocations: 5.912 MB / 0.8939 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.409, allocations: 3.938 kB / 0.8939 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/1.411, allocations: 2.121 MB / 0.896 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.413, allocations: 279.2 kB / 0.8963 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.432, allocations: 9.191 MB / 0.9052 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006809/1.439, allocations: 4.086 MB / 0.9092 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/1.439, allocations: 0 / 0.9092 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.06828/1.507, allocations: 39.09 MB / 0.9474 GB, free: 55.87 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches