Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008978/0.0008981, allocations: 191.1 kB / 7.804 MB, free: 2.488 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.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008434/0.0008434, allocations: 87.44 kB / 261.4 MB, free: 13.55 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.1569/0.1569, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.511e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2276, allocations: 58.85 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.35, allocations: 104.6 MB / 0.5675 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.3503, allocations: 75.95 kB / 0.5676 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3484/0.6987, allocations: 88.72 MB / 0.6542 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001568/0.6989, allocations: 78.44 kB / 0.6543 GB, free: 109.3 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.008791/0.7077, allocations: 3.929 MB / 0.6581 GB, free: 107.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7077, allocations: 14.03 kB / 0.6582 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.7203, allocations: 2.84 MB / 0.6609 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.7307, allocations: 4.493 MB / 0.6653 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.731, allocations: 138.5 kB / 0.6655 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.7332, allocations: 249.4 kB / 0.6657 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01127/0.7444, allocations: 7.869 MB / 0.6734 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.7623, allocations: 10.22 MB / 0.6834 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/0.7625, allocations: 32.67 kB / 0.6834 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/0.7638, allocations: 12 kB / 0.6834 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/0.7656, allocations: 1.327 MB / 0.6847 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04574/0.8114, allocations: 35.68 MB / 0.7195 GB, free: 81.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.8144, allocations: 3.105 MB / 0.7226 GB, free: 78.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.8166, allocations: 2.467 MB / 0.725 GB, free: 76.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.8285, allocations: 9.726 MB / 0.7345 GB, free: 67.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8285, allocations: 44.67 kB / 0.7345 GB, free: 67.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 4.158e-06/0.8286, allocations: 0 / 0.7345 GB, free: 67.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=232): time 0.02508/0.8536, allocations: 15.61 MB / 0.7498 GB, free: 53.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.8537, allocations: 69.41 kB / 0.7498 GB, free: 53.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.8572, allocations: 2.563 MB / 0.7523 GB, free: 51.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.8573, allocations: 29.64 kB / 0.7524 GB, free: 51.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.8584, allocations: 2.928 MB / 0.7552 GB, free: 48.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.859, allocations: 0.8324 MB / 0.756 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.8593, allocations: 0 / 0.756 GB, free: 47.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.8595, allocations: 0.562 MB / 0.7566 GB, free: 46.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.8621, allocations: 2.382 MB / 0.7589 GB, free: 44.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/0.8657, allocations: 5.59 MB / 0.7644 GB, free: 37.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.8694, allocations: 3.715 MB / 0.768 GB, free: 33.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.508e-05/0.8695, allocations: 32 kB / 0.768 GB, free: 33.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01066/0.8802, allocations: 8.074 MB / 0.7759 GB, free: 25.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8802, allocations: 11.98 kB / 0.7759 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.8803, allocations: 115.9 kB / 0.776 GB, free: 25.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.8827, allocations: 0.8993 MB / 0.7769 GB, free: 24.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.8864, allocations: 1.318 MB / 0.7782 GB, free: 23.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.8912, allocations: 4.485 MB / 0.7826 GB, free: 18.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.8943, allocations: 167.8 kB / 0.7827 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/0.8948, allocations: 342.9 kB / 0.7831 GB, free: 17.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (720): * Single equations (assignments): 713 * 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.0006046/0.8954, allocations: 406.7 kB / 0.7835 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.8958, allocations: 280.3 kB / 0.7837 GB, free: 17.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/0.9024, allocations: 4.737 MB / 0.7884 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.9025, allocations: 35.98 kB / 0.7884 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.9025, allocations: 7.906 kB / 0.7884 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.9025, allocations: 7.969 kB / 0.7884 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.9168, allocations: 9.34 MB / 0.7975 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.9168, allocations: 7.984 kB / 0.7975 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9183, allocations: 319.6 kB / 0.7978 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.9204, allocations: 0.6956 MB / 0.7985 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.9206, allocations: 11.94 kB / 0.7985 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.9254, allocations: 3.798 MB / 0.8022 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.9254, allocations: 11.83 kB / 0.8023 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009602/0.935, allocations: 7.446 MB / 0.8095 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.9364, allocations: 0.6692 MB / 0.8102 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/0.937, allocations: 15.92 kB / 0.8102 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.9382, allocations: 59.91 kB / 0.8102 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.9385, allocations: 101.4 kB / 0.8103 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.9386, allocations: 59.98 kB / 0.8104 GB, free: 5.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002486/0.9411, allocations: 1.692 MB / 0.8121 GB, free: 3.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004368/0.9455, allocations: 0.8984 MB / 0.8129 GB, free: 2.941 MB / 490.7 MB 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.0005027/0.946, allocations: 154.6 kB / 0.8131 GB, free: 2.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006966/0.953, allocations: 5.603 MB / 0.8186 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.953, allocations: 4.062 kB / 0.8186 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.9553, allocations: 2.032 MB / 0.8205 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.9563, allocations: 221.7 kB / 0.8208 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.971, allocations: 8.345 MB / 0.8289 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1382/1.109, allocations: 3.788 MB / 0.8326 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/1.109, allocations: 0 / 0.8326 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.0494/1.159, allocations: 36.29 MB / 0.868 GB, free: 174.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches