Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [: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.001004/0.001004, allocations: 200.2 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.000854, allocations: 90.92 kB / 286.3 MB, free: 3.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 45.14 MB / 383.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.363e-06, allocations: 4 kB / 452.6 MB, free: 93.83 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 63.23 MB / 0.5038 GB, free: 30.86 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5284, allocations: 107 MB / 0.6083 GB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5286, allocations: 72.59 kB / 0.6083 GB, free: 8.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2243/0.753, allocations: 89.01 MB / 0.6953 GB, free: 11.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002611/0.7533, allocations: 83.98 kB / 0.6953 GB, free: 11.15 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01481/0.7681, allocations: 3.879 MB / 0.6991 GB, free: 7.207 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.7682, allocations: 12.02 kB / 0.6991 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.7832, allocations: 2.821 MB / 0.7019 GB, free: 4.363 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7952, allocations: 3.761 MB / 0.7056 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.7955, allocations: 135.9 kB / 0.7057 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.798, allocations: 248 kB / 0.7059 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01506/0.8131, allocations: 7.741 MB / 0.7135 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.8418, allocations: 10.07 MB / 0.7233 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/0.8421, allocations: 23.81 kB / 0.7234 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002726/0.8448, allocations: 12 kB / 0.7234 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.8471, allocations: 1.293 MB / 0.7246 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06495/0.912, allocations: 34.96 MB / 0.7588 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/0.9175, allocations: 3.116 MB / 0.7618 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.9214, allocations: 2.467 MB / 0.7642 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2676/1.189, allocations: 9.681 MB / 0.7737 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.189, allocations: 49.53 kB / 0.7737 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=211): time 4.99e-06/1.189, allocations: 0 / 0.7737 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=232): time 0.02807/1.217, allocations: 15.52 MB / 0.7889 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.217, allocations: 73.48 kB / 0.7889 GB, free: 194.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.221, allocations: 2.515 MB / 0.7914 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/1.222, allocations: 29.55 kB / 0.7914 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.223, allocations: 2.837 MB / 0.7942 GB, free: 192.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/1.224, allocations: 0.8294 MB / 0.795 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/1.224, allocations: 0 / 0.795 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002597/1.224, allocations: 0.5546 MB / 0.7956 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/1.227, allocations: 2.368 MB / 0.7979 GB, free: 191.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/1.231, allocations: 5.482 MB / 0.8032 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/1.237, allocations: 3.671 MB / 0.8068 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.228e-05/1.237, allocations: 31.47 kB / 0.8068 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01402/1.251, allocations: 7.986 MB / 0.8146 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.251, allocations: 2.844 kB / 0.8146 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.251, allocations: 120.8 kB / 0.8148 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.254, allocations: 0.8889 MB / 0.8156 GB, free: 185.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.258, allocations: 1.286 MB / 0.8169 GB, free: 185.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/1.264, allocations: 4.479 MB / 0.8212 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.269, allocations: 160.8 kB / 0.8214 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009648/1.27, allocations: 339.7 kB / 0.8217 GB, free: 183.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (705): * Single equations (assignments): 698 * 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,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008946/1.27, allocations: 395.5 kB / 0.8221 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/1.271, allocations: 268.7 kB / 0.8224 GB, free: 183 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/1.278, allocations: 4.734 MB / 0.827 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/1.278, allocations: 38.25 kB / 0.827 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.278, allocations: 6.094 kB / 0.827 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.278, allocations: 10.83 kB / 0.827 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/1.296, allocations: 9.286 MB / 0.8361 GB, free: 178 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.296, allocations: 7.625 kB / 0.8361 GB, free: 178 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.297, allocations: 332.6 kB / 0.8364 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/1.3, allocations: 0.6877 MB / 0.8371 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.3, allocations: 14.5 kB / 0.8371 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/1.304, allocations: 3.813 MB / 0.8408 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.304, allocations: 4 kB / 0.8408 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00956/1.314, allocations: 7.431 MB / 0.8481 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.315, allocations: 328 kB / 0.8484 GB, free: 167 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.316, allocations: 7.141 kB / 0.8484 GB, free: 167 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.317, allocations: 62.7 kB / 0.8485 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.317, allocations: 103.2 kB / 0.8486 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.317, allocations: 56 kB / 0.8486 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0025/1.32, allocations: 1.656 MB / 0.8502 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005051/1.325, allocations: 0.8978 MB / 0.8511 GB, free: 164.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005067/1.325, allocations: 142.5 kB / 0.8513 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007887/1.333, allocations: 5.56 MB / 0.8567 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.333, allocations: 0 / 0.8567 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.336, allocations: 2.028 MB / 0.8587 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.338, allocations: 235.4 kB / 0.8589 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.355, allocations: 8.208 MB / 0.8669 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005181/1.36, allocations: 3.717 MB / 0.8705 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.445e-06/1.36, allocations: 0 / 0.8705 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06471/1.425, allocations: 36.12 MB / 0.9058 GB, free: 117.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches