Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002226/0.002226, allocations: 183.6 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00166/0.00166, allocations: 95.48 kB / 270.9 MB, free: 8.359 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.5341/0.5341, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004904, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.3702/0.497, allocations: 35.38 MB / 0.5133 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.5178, allocations: 7.812 MB / 0.5209 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007951/0.5258, allocations: 177.2 kB / 0.5211 GB, free: 20.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006555/0.5324, allocations: 1.887 MB / 0.5229 GB, free: 19.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01895/0.5514, allocations: 5.303 MB / 0.5281 GB, free: 17.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.5538, allocations: 241.1 kB / 0.5283 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03671/0.5906, allocations: 15.27 MB / 0.5432 GB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009234/0.5999, allocations: 3.866 MB / 0.547 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.6043, allocations: 1.561 MB / 0.5485 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.609, allocations: 1.935 MB / 0.5504 GB, free: 9.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.6107, allocations: 234.2 kB / 0.5506 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.6139, allocations: 0.5581 MB / 0.5512 GB, free: 9.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.6181, allocations: 2.388 MB / 0.5535 GB, free: 8.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.6204, allocations: 1.326 MB / 0.5548 GB, free: 7.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.6315, allocations: 8.131 MB / 0.5627 GB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6315, allocations: 0 / 0.5627 GB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6316, allocations: 0 / 0.5627 GB, free: 240 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000373/0.6319, allocations: 0 / 0.5627 GB, free: 240 kB / 378.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.01678/0.6487, allocations: 5.961 MB / 0.5686 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6488, allocations: 8.031 kB / 0.5686 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04259/0.6914, allocations: 7.13 MB / 0.5755 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.7023, allocations: 3.21 MB / 0.5787 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.7029, allocations: 323.9 kB / 0.579 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002525/0.7054, allocations: 415.7 kB / 0.5794 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05148/0.7569, allocations: 18.98 MB / 0.5979 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.7572, allocations: 35.64 kB / 0.5979 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/0.7597, allocations: 203.7 kB / 0.5981 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01395/0.7737, allocations: 4.75 MB / 0.6028 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05642/0.8302, allocations: 17.6 MB / 0.62 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5104/1.341, allocations: 61.35 MB / 0.6799 GB, free: 93.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/1.365, allocations: 8.436 MB / 0.6881 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03542/1.4, allocations: 11.93 MB / 0.6998 GB, free: 87.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.401, allocations: 56.44 kB / 0.6998 GB, free: 87.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 8.005e-06/1.401, allocations: 0 / 0.6998 GB, free: 87.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.03121/1.432, allocations: 8.546 MB / 0.7082 GB, free: 85.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.432, allocations: 101 kB / 0.7083 GB, free: 85.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/1.446, allocations: 5.649 MB / 0.7138 GB, free: 83.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/1.447, allocations: 68.17 kB / 0.7139 GB, free: 83.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004806/1.452, allocations: 4.987 MB / 0.7187 GB, free: 79.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002118/1.454, allocations: 1.194 MB / 0.7199 GB, free: 78.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.455, allocations: 183.8 kB / 0.7201 GB, free: 78.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009704/1.456, allocations: 0.7266 MB / 0.7208 GB, free: 77.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009352/1.465, allocations: 3.177 MB / 0.7239 GB, free: 76.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/1.478, allocations: 8.585 MB / 0.7323 GB, free: 68.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.491, allocations: 5.276 MB / 0.7374 GB, free: 66.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002141/1.491, allocations: 51.75 kB / 0.7375 GB, free: 66.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02918/1.52, allocations: 11.43 MB / 0.7486 GB, free: 62.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.52, allocations: 89.44 kB / 0.7487 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003117/1.521, allocations: 196.2 kB / 0.7489 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/1.521, allocations: 280.8 kB / 0.7492 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/1.534, allocations: 2.075 MB / 0.7512 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004227/1.534, allocations: 380.4 kB / 0.7516 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.545, allocations: 1.328 MB / 0.7528 GB, free: 61.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/1.547, allocations: 0.5547 MB / 0.7534 GB, free: 61.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.009964/1.557, allocations: 3.708 MB / 0.757 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.558, allocations: 486.7 kB / 0.7575 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/1.56, allocations: 0.6422 MB / 0.7581 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001509/1.56, allocations: 55.95 kB / 0.7582 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.56, allocations: 3.125 kB / 0.7582 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/1.56, allocations: 10.36 kB / 0.7582 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03475/1.595, allocations: 12.62 MB / 0.7705 GB, free: 49.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.595, allocations: 12 kB / 0.7705 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003672/1.598, allocations: 423.1 kB / 0.7709 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.301e-05/1.599, allocations: 27.61 kB / 0.7709 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000487/1.599, allocations: 60 kB / 0.771 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.963e-05/1.599, allocations: 35.48 kB / 0.771 GB, free: 48.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/1.599, allocations: 15.94 kB / 0.771 GB, free: 48.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.609, allocations: 6.589 MB / 0.7775 GB, free: 41.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.611, allocations: 0.5892 MB / 0.778 GB, free: 41.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.613, allocations: 59.42 kB / 0.7781 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/1.616, allocations: 120.4 kB / 0.7782 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008619/1.617, allocations: 176.9 kB / 0.7784 GB, free: 41.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/1.618, allocations: 103.4 kB / 0.7785 GB, free: 40.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00868/1.626, allocations: 3.46 MB / 0.7819 GB, free: 38.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.626, allocations: 4 kB / 0.7819 GB, free: 38.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0105/1.637, allocations: 1.979 MB / 0.7838 GB, free: 36.16 MB / 490.7 MB 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 () * Number of clocked 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.001007/1.638, allocations: 207.8 kB / 0.784 GB, free: 35.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01566/1.654, allocations: 7.23 MB / 0.7911 GB, free: 28.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/1.654, allocations: 7.938 kB / 0.7911 GB, free: 28.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.658, allocations: 2.001 MB / 0.793 GB, free: 26.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.663, allocations: 0.5698 MB / 0.7936 GB, free: 26.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04317/1.706, allocations: 19.28 MB / 0.8124 GB, free: 6.727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01143/1.717, allocations: 5.59 MB / 0.8179 GB, free: 1.098 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/1.72, allocations: 455.4 kB / 0.8183 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/1.72, allocations: 0 / 0.8183 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of Templates: time 0.5669/2.287, allocations: 89.84 MB / 0.906 GB, free: 157.9 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches