Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004468/0.004468, allocations: 172.7 kB / 8.145 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 93.31 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.366/0.366, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.154e-05/1.193e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3564, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5401, allocations: 101.1 MB / 0.5641 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5405, allocations: 75.95 kB / 0.5642 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5542/1.095, allocations: 82.91 MB / 0.6451 GB, free: 111.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001648/1.095, allocations: 73.48 kB / 0.6452 GB, free: 111.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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01166/1.107, allocations: 3.474 MB / 0.6486 GB, free: 109.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.107, allocations: 7.062 kB / 0.6486 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/1.132, allocations: 2.804 MB / 0.6513 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/1.148, allocations: 4.242 MB / 0.6555 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/1.148, allocations: 131.2 kB / 0.6556 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/1.15, allocations: 224.6 kB / 0.6558 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0171/1.168, allocations: 7.198 MB / 0.6629 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/1.193, allocations: 9.391 MB / 0.672 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.193, allocations: 23.72 kB / 0.6721 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001862/1.195, allocations: 13.56 kB / 0.6721 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002355/1.197, allocations: 1.246 MB / 0.6733 GB, free: 107.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06541/1.263, allocations: 30.09 MB / 0.7027 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/1.267, allocations: 1.547 MB / 0.7042 GB, free: 89.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/1.27, allocations: 1.066 MB / 0.7052 GB, free: 88.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/1.286, allocations: 6.465 MB / 0.7115 GB, free: 84.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.286, allocations: 47.97 kB / 0.7116 GB, free: 84.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 5.51e-06/1.286, allocations: 0 / 0.7116 GB, free: 84.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02568/1.312, allocations: 6.948 MB / 0.7184 GB, free: 81.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.312, allocations: 60.41 kB / 0.7184 GB, free: 81.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/1.318, allocations: 2.513 MB / 0.7209 GB, free: 79.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/1.318, allocations: 25.7 kB / 0.7209 GB, free: 79.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.32, allocations: 2.839 MB / 0.7237 GB, free: 76.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009609/1.321, allocations: 0.5998 MB / 0.7243 GB, free: 76.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/1.322, allocations: 4 kB / 0.7243 GB, free: 76.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004216/1.322, allocations: 0.5377 MB / 0.7248 GB, free: 75.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/1.326, allocations: 1.56 MB / 0.7263 GB, free: 74.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/1.332, allocations: 4.698 MB / 0.7309 GB, free: 68.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/1.339, allocations: 2.787 MB / 0.7336 GB, free: 65.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.49e-05/1.339, allocations: 39.94 kB / 0.7337 GB, free: 65.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01504/1.354, allocations: 5.562 MB / 0.7391 GB, free: 60.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.354, allocations: 8.75 kB / 0.7391 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.354, allocations: 112 kB / 0.7392 GB, free: 60.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/1.355, allocations: 208.1 kB / 0.7394 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007285/1.362, allocations: 1.167 MB / 0.7405 GB, free: 59.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/1.364, allocations: 1.693 MB / 0.7422 GB, free: 57.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.369, allocations: 115.7 kB / 0.7423 GB, free: 57.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.37, allocations: 324.4 kB / 0.7426 GB, free: 57.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 27 (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],prismatic.boxColor[3],prismatic.boxColor[2],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 (651): * Single equations (assignments): 644 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001885/1.372, allocations: 312 kB / 0.7429 GB, free: 57.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006855/1.373, allocations: 252.6 kB / 0.7432 GB, free: 56.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/1.374, allocations: 321 kB / 0.7435 GB, free: 56.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/1.374, allocations: 8 kB / 0.7435 GB, free: 56.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/1.374, allocations: 4.703 kB / 0.7435 GB, free: 56.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/1.374, allocations: 4.922 kB / 0.7435 GB, free: 56.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.392, allocations: 5.213 MB / 0.7486 GB, free: 52.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.392, allocations: 4.516 kB / 0.7486 GB, free: 52.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/1.394, allocations: 191.8 kB / 0.7488 GB, free: 51.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/1.394, allocations: 52.11 kB / 0.7488 GB, free: 51.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/1.394, allocations: 9.453 kB / 0.7488 GB, free: 51.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.396, allocations: 1.402 MB / 0.7502 GB, free: 50.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.396, allocations: 4 kB / 0.7502 GB, free: 50.35 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006936/1.403, allocations: 3.696 MB / 0.7538 GB, free: 46.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.404, allocations: 0.4915 MB / 0.7543 GB, free: 46.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/1.405, allocations: 5.312 kB / 0.7543 GB, free: 46.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.407, allocations: 22.62 kB / 0.7543 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.407, allocations: 64.03 kB / 0.7544 GB, free: 46.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.407, allocations: 53.08 kB / 0.7544 GB, free: 46.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004075/1.411, allocations: 1.653 MB / 0.756 GB, free: 44.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006117/1.417, allocations: 0.722 MB / 0.7567 GB, free: 44.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006944/1.418, allocations: 148.2 kB / 0.7569 GB, free: 43.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008674/1.427, allocations: 3.709 MB / 0.7605 GB, free: 40.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.427, allocations: 7.938 kB / 0.7605 GB, free: 40.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002463/1.429, allocations: 1.057 MB / 0.7615 GB, free: 39.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.431, allocations: 195.5 kB / 0.7617 GB, free: 39.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.452, allocations: 7.178 MB / 0.7687 GB, free: 32.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007728/1.46, allocations: 3.496 MB / 0.7721 GB, free: 28.79 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/1.46, allocations: 4 kB / 0.7721 GB, free: 28.79 MB / 474.7 MB Notification: Performance of Templates: time 0.2864/1.747, allocations: 62.61 MB / 0.8333 GB, free: 182 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches