Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") [: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.002437/0.002437, allocations: 181.3 kB / 8.15 MB, free: 2.188 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.722/1.722, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001252/0.001252, allocations: 89.55 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.2598/0.2598, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.168e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2841, allocations: 58.85 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4767, allocations: 106.7 MB / 0.5696 GB, free: 8.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.477, allocations: 75.95 kB / 0.5696 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5306/1.008, allocations: 81.48 MB / 0.6492 GB, free: 105.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002233/1.008, allocations: 87.09 kB / 0.6493 GB, free: 105.6 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02205/1.03, allocations: 4.243 MB / 0.6534 GB, free: 103.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.03, allocations: 7.625 kB / 0.6534 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/1.047, allocations: 1.888 MB / 0.6553 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/1.065, allocations: 4.847 MB / 0.66 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/1.065, allocations: 149 kB / 0.6601 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/1.067, allocations: 267.4 kB / 0.6604 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01605/1.083, allocations: 6.456 MB / 0.6667 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/1.107, allocations: 9.834 MB / 0.6763 GB, free: 100.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/1.107, allocations: 62.72 kB / 0.6764 GB, free: 100.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/1.109, allocations: 31.38 kB / 0.6764 GB, free: 100.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002047/1.111, allocations: 1.101 MB / 0.6775 GB, free: 99.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/1.183, allocations: 49.42 MB / 0.7257 GB, free: 62.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/1.189, allocations: 2.67 MB / 0.7283 GB, free: 60.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/1.193, allocations: 1.812 MB / 0.7301 GB, free: 60.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/1.209, allocations: 6.372 MB / 0.7363 GB, free: 56.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.21, allocations: 53.09 kB / 0.7364 GB, free: 56.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 5.219e-06/1.21, allocations: 0 / 0.7364 GB, free: 56.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.03539/1.245, allocations: 10.22 MB / 0.7464 GB, free: 49.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.245, allocations: 141.5 kB / 0.7465 GB, free: 49.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006187/1.251, allocations: 3.101 MB / 0.7495 GB, free: 46.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000461/1.252, allocations: 29.7 kB / 0.7496 GB, free: 46.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.254, allocations: 3.065 MB / 0.7526 GB, free: 43.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.255, allocations: 0.633 MB / 0.7532 GB, free: 43.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/1.255, allocations: 0 / 0.7532 GB, free: 43.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003852/1.256, allocations: 0.5731 MB / 0.7537 GB, free: 42.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.26, allocations: 2.116 MB / 0.7558 GB, free: 40.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007081/1.268, allocations: 5.983 MB / 0.7616 GB, free: 33.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/1.276, allocations: 3.528 MB / 0.7651 GB, free: 30.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.276, allocations: 40 kB / 0.7651 GB, free: 30.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.03448/1.311, allocations: 8.25 MB / 0.7732 GB, free: 23.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.311, allocations: 8 kB / 0.7732 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0196/1.33, allocations: 3.277 MB / 0.7764 GB, free: 20.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01906/1.349, allocations: 1.573 MB / 0.7779 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009011/1.359, allocations: 1.434 MB / 0.7793 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/1.366, allocations: 2.682 MB / 0.7819 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/1.372, allocations: 239.5 kB / 0.7822 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.374, allocations: 395.2 kB / 0.7826 GB, free: 14.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (782): * Single equations (assignments): 773 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.375, allocations: 383.3 kB / 0.7829 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.376, allocations: 316.7 kB / 0.7832 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.386, allocations: 3.03 MB / 0.7862 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008778/1.394, allocations: 2.567 MB / 0.7887 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/1.395, allocations: 4 kB / 0.7887 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.294e-05/1.395, allocations: 7.969 kB / 0.7887 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/1.42, allocations: 8.437 MB / 0.7969 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/1.421, allocations: 0 / 0.7969 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/1.424, allocations: 254.8 kB / 0.7972 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006294/1.43, allocations: 0.9554 MB / 0.7981 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/1.43, allocations: 20.45 kB / 0.7981 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.441, allocations: 4.826 MB / 0.8028 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001418/1.443, allocations: 1.382 MB / 0.8042 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01619/1.459, allocations: 5.615 MB / 0.8097 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.46, allocations: 372.9 kB / 0.81 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/1.461, allocations: 15.92 kB / 0.81 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/1.464, allocations: 83.8 kB / 0.8101 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/1.465, allocations: 72.88 kB / 0.8102 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/1.465, allocations: 43.98 kB / 0.8102 GB, free: 1.754 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005404/1.47, allocations: 2.052 MB / 0.8122 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007544/1.478, allocations: 0.9687 MB / 0.8132 GB, free: 14.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000783/1.479, allocations: 154.9 kB / 0.8133 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01839/1.497, allocations: 5.663 MB / 0.8189 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.497, allocations: 0 / 0.8189 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008243/1.505, allocations: 2.12 MB / 0.8209 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.509, allocations: 330 kB / 0.8213 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1936/1.703, allocations: 8.678 MB / 0.8297 GB, free: 175 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008492/1.711, allocations: 3.667 MB / 0.8333 GB, free: 174.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.382e-06/1.711, allocations: 3.5 kB / 0.8333 GB, free: 174.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.2006/1.912, allocations: 126.9 MB / 0.9572 GB, free: 94.84 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches