Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [: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.0008852/0.0008853, allocations: 192.1 kB / 7.805 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9799/0.9799, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008372/0.0008373, allocations: 95.27 kB / 261.4 MB, free: 13.62 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.1475/0.1475, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.092e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3019, allocations: 95.32 MB / 0.5585 GB, free: 3.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.3021, allocations: 75.47 kB / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.431/0.7331, allocations: 135.4 MB / 0.6908 GB, free: 103.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000231/0.7334, allocations: 125.2 kB / 0.6909 GB, free: 103.8 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01496/0.7484, allocations: 6.012 MB / 0.6968 GB, free: 100.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7484, allocations: 8.906 kB / 0.6968 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/0.7742, allocations: 5.278 MB / 0.7019 GB, free: 99.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.7852, allocations: 4.29 MB / 0.7061 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.7856, allocations: 218.6 kB / 0.7063 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/0.7888, allocations: 382.8 kB / 0.7067 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/0.8068, allocations: 12.96 MB / 0.7194 GB, free: 86.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/0.8356, allocations: 17.08 MB / 0.7361 GB, free: 68.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/0.836, allocations: 39.62 kB / 0.7361 GB, free: 68.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003315/0.8393, allocations: 20 kB / 0.7361 GB, free: 68.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.8415, allocations: 2.286 MB / 0.7383 GB, free: 66.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0659/0.9075, allocations: 59.31 MB / 0.7963 GB, free: 6.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.9126, allocations: 6.018 MB / 0.8021 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.9152, allocations: 2.089 MB / 0.8042 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.9169, allocations: 2.281 MB / 0.8064 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.917, allocations: 60.56 kB / 0.8065 GB, free: 10.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=341): time 5.65e-06/0.917, allocations: 0 / 0.8065 GB, free: 10.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=341): time 0.01023/0.9272, allocations: 5.35 MB / 0.8117 GB, free: 5.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.9273, allocations: 103.1 kB / 0.8118 GB, free: 5.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.9344, allocations: 4.581 MB / 0.8163 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.9347, allocations: 25.7 kB / 0.8163 GB, free: 0.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003093/0.9378, allocations: 5.048 MB / 0.8212 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.9391, allocations: 1.249 MB / 0.8224 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.9395, allocations: 0 / 0.8224 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006248/0.9402, allocations: 0.7556 MB / 0.8232 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/0.9446, allocations: 3.202 MB / 0.8263 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1361/1.081, allocations: 9.033 MB / 0.8351 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/1.087, allocations: 5.594 MB / 0.8406 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.606e-05/1.087, allocations: 61.62 kB / 0.8406 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01464/1.102, allocations: 11.02 MB / 0.8514 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.102, allocations: 5.906 kB / 0.8514 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.102, allocations: 212.9 kB / 0.8516 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/1.102, allocations: 308.3 kB / 0.8519 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/1.108, allocations: 2.243 MB / 0.8541 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001706/1.108, allocations: 412 kB / 0.8545 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.113, allocations: 1.104 MB / 0.8556 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007023/1.114, allocations: 0.5842 MB / 0.8561 GB, free: 165.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1237 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008702/1.115, allocations: 0.6023 MB / 0.8567 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/1.116, allocations: 473.8 kB / 0.8572 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/1.117, allocations: 0.6296 MB / 0.8578 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.521e-05/1.117, allocations: 40.06 kB / 0.8578 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.117, allocations: 3.609 kB / 0.8578 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.117, allocations: 11.28 kB / 0.8578 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/1.134, allocations: 13.48 MB / 0.871 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.134, allocations: 15.53 kB / 0.871 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.135, allocations: 425 kB / 0.8714 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/1.135, allocations: 25.66 kB / 0.8715 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.136, allocations: 22.34 kB / 0.8715 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589e-05/1.136, allocations: 32.75 kB / 0.8715 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.136, allocations: 25.44 kB / 0.8715 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005447/1.141, allocations: 6.673 MB / 0.878 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.142, allocations: 0.556 MB / 0.8786 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005843/1.143, allocations: 23.09 kB / 0.8786 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.144, allocations: 52.66 kB / 0.8787 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.144, allocations: 161.8 kB / 0.8788 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.145, allocations: 100.3 kB / 0.8789 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003498/1.148, allocations: 3.013 MB / 0.8819 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006504/1.155, allocations: 1.831 MB / 0.8836 GB, free: 156.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004156/1.155, allocations: 170.5 kB / 0.8838 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009426/1.165, allocations: 7.379 MB / 0.891 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.165, allocations: 3.969 kB / 0.891 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.167, allocations: 2.176 MB / 0.8931 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.168, allocations: 367.3 kB / 0.8935 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.191, allocations: 13.22 MB / 0.9064 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006971/1.198, allocations: 6.036 MB / 0.9123 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/1.198, allocations: 0 / 0.9123 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.0841/1.282, allocations: 48.64 MB / 0.9598 GB, free: 104.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches