Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001232, allocations: 200.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.6 MB / 243.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00076/0.0007599, allocations: 95.36 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3128/0.3128, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002792, allocations: 4 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 62.95 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.02618/0.3547, allocations: 37.34 MB / 0.5523 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.3737, allocations: 7.551 MB / 0.5597 GB, free: 5.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008675/0.3824, allocations: 176.2 kB / 0.5599 GB, free: 5.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007071/0.3895, allocations: 1.949 MB / 0.5618 GB, free: 4.652 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01847/0.408, allocations: 5.691 MB / 0.5673 GB, free: 2.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.4104, allocations: 299.5 kB / 0.5676 GB, free: 2.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.04485/0.4552, allocations: 34.82 MB / 0.6016 GB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007356/0.4627, allocations: 4.013 MB / 0.6056 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.4672, allocations: 1.876 MB / 0.6074 GB, free: 11.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.4719, allocations: 2.745 MB / 0.6101 GB, free: 8.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.4734, allocations: 232 kB / 0.6103 GB, free: 8.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.476, allocations: 0.6825 MB / 0.611 GB, free: 7.828 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003845/0.4799, allocations: 2.559 MB / 0.6135 GB, free: 5.262 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005824/0.4858, allocations: 3.002 MB / 0.6164 GB, free: 2.234 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.4963, allocations: 8.15 MB / 0.6243 GB, free: 10.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.4964, allocations: 4 kB / 0.6243 GB, free: 10.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4964, allocations: 0 / 0.6243 GB, free: 10.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00041/0.4968, allocations: 0 / 0.6243 GB, free: 10.06 MB / 442.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.01154/0.5084, allocations: 5.715 MB / 0.6299 GB, free: 4.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5084, allocations: 8.031 kB / 0.6299 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/0.5275, allocations: 6.031 MB / 0.6358 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008185/0.5357, allocations: 3.245 MB / 0.639 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.5362, allocations: 328.2 kB / 0.6393 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.5381, allocations: 419.6 kB / 0.6397 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/0.573, allocations: 18.85 MB / 0.6581 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.5733, allocations: 31.69 kB / 0.6581 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/0.5755, allocations: 211.6 kB / 0.6584 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008167/0.5837, allocations: 4.746 MB / 0.663 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03426/0.618, allocations: 17.45 MB / 0.68 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3114/0.9295, allocations: 61.29 MB / 0.7399 GB, free: 83.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.9429, allocations: 8.419 MB / 0.7481 GB, free: 78.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.9463, allocations: 2.573 MB / 0.7506 GB, free: 76.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/0.9656, allocations: 11.88 MB / 0.7622 GB, free: 68.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.9657, allocations: 60.56 kB / 0.7623 GB, free: 68.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 6.712e-06/0.9657, allocations: 4 kB / 0.7623 GB, free: 68.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.01567/0.9813, allocations: 7.484 MB / 0.7696 GB, free: 61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.9814, allocations: 107.1 kB / 0.7697 GB, free: 60.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00711/0.9885, allocations: 5.641 MB / 0.7752 GB, free: 55.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004751/0.9891, allocations: 65.14 kB / 0.7753 GB, free: 55.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.9916, allocations: 5.075 MB / 0.7802 GB, free: 50.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.993, allocations: 1.199 MB / 0.7814 GB, free: 48.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.9935, allocations: 180 kB / 0.7816 GB, free: 48.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004389/0.9939, allocations: 0.727 MB / 0.7823 GB, free: 48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.998, allocations: 3.173 MB / 0.7854 GB, free: 44.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006563/1.005, allocations: 8.619 MB / 0.7938 GB, free: 33.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.016, allocations: 12.85 MB / 0.8063 GB, free: 18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.016, allocations: 52 kB / 0.8064 GB, free: 17.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01813/1.034, allocations: 11.59 MB / 0.8177 GB, free: 6.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.034, allocations: 90.66 kB / 0.8178 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/1.035, allocations: 188.9 kB / 0.818 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.035, allocations: 256 kB / 0.8182 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006528/1.041, allocations: 2.078 MB / 0.8202 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002702/1.042, allocations: 374.5 kB / 0.8206 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006745/1.048, allocations: 1.322 MB / 0.8219 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.05, allocations: 0.5508 MB / 0.8224 GB, free: 1.504 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.006641/1.056, allocations: 3.71 MB / 0.826 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008225/1.057, allocations: 489.4 kB / 0.8265 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.059, allocations: 0.645 MB / 0.8271 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.185e-05/1.059, allocations: 51.98 kB / 0.8272 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.059, allocations: 0 / 0.8272 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/1.059, allocations: 11.95 kB / 0.8272 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.079, allocations: 12.62 MB / 0.8395 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.079, allocations: 16.06 kB / 0.8395 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.08, allocations: 427.4 kB / 0.8399 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/1.081, allocations: 24 kB / 0.84 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.081, allocations: 63.97 kB / 0.84 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/1.081, allocations: 27.94 kB / 0.84 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/1.081, allocations: 23.88 kB / 0.8401 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005293/1.086, allocations: 4.618 MB / 0.8446 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.087, allocations: 0.5839 MB / 0.8452 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/1.088, allocations: 55.98 kB / 0.8452 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.089, allocations: 127.8 kB / 0.8453 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/1.089, allocations: 176.8 kB / 0.8455 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.09, allocations: 99.98 kB / 0.8456 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005057/1.095, allocations: 3.462 MB / 0.849 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 0.849 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006859/1.101, allocations: 1.989 MB / 0.8509 GB, free: 3.766 MB / 0.5105 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 () * 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.0005044/1.102, allocations: 202.4 kB / 0.8511 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.112, allocations: 7.231 MB / 0.8582 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.113, allocations: 4 kB / 0.8582 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.115, allocations: 1.996 MB / 0.8601 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/1.127, allocations: 0.5956 MB / 0.8607 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.154, allocations: 19.37 MB / 0.8796 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006729/1.161, allocations: 5.436 MB / 0.8849 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.162, allocations: 463.4 kB / 0.8854 GB, free: 244 kB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/1.162, allocations: 0 / 0.8854 GB, free: 244 kB / 0.5417 GB Notification: Performance of Templates: time 0.3481/1.51, allocations: 91.04 MB / 0.9743 GB, free: 115.9 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches