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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.0009989, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007313/0.0007313, allocations: 86.98 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.38e-05, allocations: 0 / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08685, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4162, allocations: 98.58 MB / 0.6076 GB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4165, allocations: 75.08 kB / 0.6077 GB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3273/0.7438, allocations: 143.1 MB / 0.7475 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7438, allocations: 3.938 kB / 0.7475 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000264/0.7441, allocations: 123.9 kB / 0.7476 GB, free: 3.625 MB / 0.5261 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.2608/1.005, allocations: 6.072 MB / 0.7535 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.005, allocations: 12.47 kB / 0.7535 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/1.033, allocations: 6.536 MB / 0.7599 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/1.044, allocations: 4.286 MB / 0.7641 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005399/1.044, allocations: 0.5021 MB / 0.7646 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003525/1.048, allocations: 0.6559 MB / 0.7652 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/1.084, allocations: 18 MB / 0.7828 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/1.084, allocations: 40.59 kB / 0.7828 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/1.086, allocations: 308.3 kB / 0.7831 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/1.088, allocations: 2.159 MB / 0.7852 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/1.114, allocations: 17.24 MB / 0.8021 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07743/1.192, allocations: 61.82 MB / 0.8624 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.204, allocations: 8.406 MB / 0.8707 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/1.208, allocations: 2.54 MB / 0.8731 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/1.226, allocations: 11.84 MB / 0.8847 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.226, allocations: 60.5 kB / 0.8848 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 8.957e-06/1.226, allocations: 2.625 kB / 0.8848 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01286/1.239, allocations: 5.775 MB / 0.8904 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.239, allocations: 107 kB / 0.8905 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008075/1.247, allocations: 4.967 MB / 0.8954 GB, free: 42.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/1.247, allocations: 60.05 kB / 0.8954 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.25, allocations: 5.087 MB / 0.9004 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.251, allocations: 1.202 MB / 0.9016 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/1.252, allocations: 180 kB / 0.9017 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007298/1.253, allocations: 0.7148 MB / 0.9024 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004033/1.257, allocations: 3.027 MB / 0.9054 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/1.263, allocations: 8.399 MB / 0.9136 GB, free: 22.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006389/1.269, allocations: 5.172 MB / 0.9186 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.341e-05/1.269, allocations: 52 kB / 0.9187 GB, free: 18.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01459/1.284, allocations: 11.23 MB / 0.9297 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/1.284, allocations: 91.61 kB / 0.9297 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/1.284, allocations: 191.8 kB / 0.9299 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/1.284, allocations: 280.8 kB / 0.9302 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005915/1.29, allocations: 2.074 MB / 0.9322 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001944/1.291, allocations: 378.5 kB / 0.9326 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/1.297, allocations: 1.299 MB / 0.9338 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.298, allocations: 0.5425 MB / 0.9344 GB, free: 2.711 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * 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 (1135): * Single equations (assignments): 1123 * 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.001515/1.299, allocations: 0.7764 MB / 0.9351 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/1.3, allocations: 485.5 kB / 0.9356 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/1.302, allocations: 0.6605 MB / 0.9362 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/1.302, allocations: 51.98 kB / 0.9363 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.302, allocations: 0 / 0.9363 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.302, allocations: 7.969 kB / 0.9363 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.326, allocations: 12.64 MB / 0.9486 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.326, allocations: 12.22 kB / 0.9486 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.327, allocations: 423.3 kB / 0.9491 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/1.328, allocations: 27.94 kB / 0.9491 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.328, allocations: 63.98 kB / 0.9491 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/1.328, allocations: 23.94 kB / 0.9492 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.328, allocations: 19.94 kB / 0.9492 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2598/1.588, allocations: 6.544 MB / 0.9556 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.589, allocations: 0.5842 MB / 0.9561 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/1.589, allocations: 60.59 kB / 0.9562 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.591, allocations: 129.9 kB / 0.9563 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/1.591, allocations: 180.2 kB / 0.9565 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.591, allocations: 98.05 kB / 0.9566 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005826/1.597, allocations: 3.405 MB / 0.9599 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.71e-07/1.597, allocations: 2.688 kB / 0.9599 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008294/1.605, allocations: 1.991 MB / 0.9619 GB, free: 116.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 213 * 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.0006344/1.606, allocations: 201.9 kB / 0.9621 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.616, allocations: 7.038 MB / 0.9689 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.616, allocations: 0 / 0.9689 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.619, allocations: 1.984 MB / 0.9709 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.621, allocations: 0.5715 MB / 0.9714 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.639, allocations: 12.84 MB / 0.984 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005193/1.644, allocations: 5.58 MB / 0.9894 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007471/1.652, allocations: 3.655 MB / 0.993 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009726/1.653, allocations: 373.4 kB / 0.9933 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/1.653, allocations: 0 / 0.9933 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.07414/1.727, allocations: 43.1 MB / 1.035 GB, free: 110.2 MB / 0.5417 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