Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001012/0.001012, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008152/0.0008151, allocations: 94.67 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1781/0.1781, allocations: 45.15 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.151e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09475, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3982, allocations: 97.85 MB / 0.5993 GB, free: 5.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.3984, allocations: 74.2 kB / 0.5994 GB, free: 5.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.3453/0.7437, allocations: 139.2 MB / 0.7353 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004132/0.7442, allocations: 124 kB / 0.7354 GB, free: 1.637 MB / 0.5105 GB 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.02104/0.7652, allocations: 6.02 MB / 0.7413 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.7653, allocations: 12.03 kB / 0.7413 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/0.7932, allocations: 5.286 MB / 0.7465 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.8084, allocations: 4.288 MB / 0.7507 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/0.809, allocations: 220 kB / 0.7509 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004536/0.8136, allocations: 380 kB / 0.7512 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1776/0.9912, allocations: 12.95 MB / 0.7639 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/1.021, allocations: 17.09 MB / 0.7806 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/1.021, allocations: 37.88 kB / 0.7806 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/1.023, allocations: 21.78 kB / 0.7806 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/1.025, allocations: 2.278 MB / 0.7829 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07139/1.096, allocations: 59.31 MB / 0.8408 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006334/1.103, allocations: 6.012 MB / 0.8467 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003282/1.106, allocations: 2.081 MB / 0.8487 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/1.108, allocations: 2.284 MB / 0.8509 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.108, allocations: 62.25 kB / 0.851 GB, free: 142 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=341): time 6.963e-06/1.108, allocations: 0 / 0.851 GB, free: 142 MB / 0.5261 GB Notification: Performance of matching and sorting (n=341): time 0.009746/1.118, allocations: 5.351 MB / 0.8562 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.118, allocations: 103.1 kB / 0.8563 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/1.124, allocations: 4.577 MB / 0.8608 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/1.124, allocations: 29.2 kB / 0.8608 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.126, allocations: 5.053 MB / 0.8657 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009094/1.127, allocations: 1.242 MB / 0.8669 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.127, allocations: 4 kB / 0.867 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003977/1.128, allocations: 0.75 MB / 0.8677 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/1.131, allocations: 3.201 MB / 0.8708 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/1.136, allocations: 9.038 MB / 0.8796 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00589/1.142, allocations: 5.59 MB / 0.8851 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.171e-05/1.142, allocations: 60 kB / 0.8852 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.0155/1.158, allocations: 11.02 MB / 0.8959 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.158, allocations: 7.938 kB / 0.8959 GB, free: 99.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/1.158, allocations: 211.9 kB / 0.8961 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/1.158, allocations: 308 kB / 0.8964 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006692/1.165, allocations: 2.244 MB / 0.8986 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002089/1.165, allocations: 417.6 kB / 0.899 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006465/1.172, allocations: 1.107 MB / 0.9001 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.173, allocations: 0.5936 MB / 0.9007 GB, free: 94.89 MB / 0.5261 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.001059/1.174, allocations: 0.5925 MB / 0.9013 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/1.175, allocations: 465.7 kB / 0.9017 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.176, allocations: 0.6417 MB / 0.9023 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.46e-05/1.176, allocations: 40 kB / 0.9024 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.176, allocations: 0 / 0.9024 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.176, allocations: 17.97 kB / 0.9024 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.194, allocations: 13.47 MB / 0.9155 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.194, allocations: 12 kB / 0.9155 GB, free: 81.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.196, allocations: 424.3 kB / 0.916 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/1.196, allocations: 24 kB / 0.916 GB, free: 81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.196, allocations: 31.73 kB / 0.916 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/1.196, allocations: 28.47 kB / 0.916 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.196, allocations: 19.94 kB / 0.9161 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005157/1.202, allocations: 6.68 MB / 0.9226 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.203, allocations: 0.5505 MB / 0.9231 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/1.203, allocations: 23.61 kB / 0.9231 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.205, allocations: 54.94 kB / 0.9232 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.205, allocations: 165.4 kB / 0.9233 GB, free: 73.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.205, allocations: 103.7 kB / 0.9234 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004581/1.21, allocations: 3.006 MB / 0.9264 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008311/1.218, allocations: 1.844 MB / 0.9282 GB, free: 68.9 MB / 0.5261 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.0006248/1.219, allocations: 179.1 kB / 0.9283 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009964/1.229, allocations: 7.373 MB / 0.9356 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.229, allocations: 4 kB / 0.9356 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.231, allocations: 2.172 MB / 0.9377 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.234, allocations: 365 kB / 0.938 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/1.258, allocations: 13.22 MB / 0.9509 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008387/1.267, allocations: 6.041 MB / 0.9568 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of SimCode: time 2.294e-06/1.267, allocations: 0 / 0.9568 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.2649/1.531, allocations: 48.69 MB / 1.004 GB, free: 142.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches