Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 179.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, 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.0008533/0.0008536, allocations: 97.05 kB / 270.9 MB, free: 8.355 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.3979/0.3979, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.2728/0.4039, allocations: 26.31 MB / 0.5044 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.4187, allocations: 5.393 MB / 0.5097 GB, free: 28.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00532/0.4241, allocations: 116 kB / 0.5098 GB, free: 28.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.4269, allocations: 1.263 MB / 0.5111 GB, free: 27.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00824/0.4351, allocations: 3.577 MB / 0.5145 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.4356, allocations: 82.31 kB / 0.5146 GB, free: 26.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.4388, allocations: 3.203 MB / 0.5178 GB, free: 25.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.4418, allocations: 1.984 MB / 0.5197 GB, free: 24.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.4439, allocations: 0.9503 MB / 0.5206 GB, free: 24.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.4459, allocations: 1.472 MB / 0.5221 GB, free: 23.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.4463, allocations: 126.7 kB / 0.5222 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009151/0.4472, allocations: 372.3 kB / 0.5225 GB, free: 23.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.4482, allocations: 1.36 MB / 0.5239 GB, free: 23.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.4488, allocations: 0.7212 MB / 0.5246 GB, free: 22.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.4524, allocations: 4.283 MB / 0.5287 GB, free: 21.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4524, allocations: 0 / 0.5287 GB, free: 21.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4524, allocations: 4.031 kB / 0.5288 GB, free: 21.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001324/0.4526, allocations: 0 / 0.5288 GB, free: 21.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.004428/0.457, allocations: 3.107 MB / 0.5318 GB, free: 19.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.457, allocations: 8.844 kB / 0.5318 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.4673, allocations: 3.068 MB / 0.5348 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.4703, allocations: 1.546 MB / 0.5363 GB, free: 18.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4704, allocations: 176.6 kB / 0.5365 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.4708, allocations: 233.1 kB / 0.5367 GB, free: 18.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4871, allocations: 9.896 MB / 0.5464 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/0.4873, allocations: 20.16 kB / 0.5464 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.4876, allocations: 110.6 kB / 0.5465 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0043/0.4919, allocations: 2.532 MB / 0.549 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.5091, allocations: 8.873 MB / 0.5576 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04784/0.557, allocations: 31.5 MB / 0.5884 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.5623, allocations: 3.296 MB / 0.5916 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.5635, allocations: 0.9232 MB / 0.5925 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.5636, allocations: 16.98 kB / 0.5925 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5637, allocations: 47.56 kB / 0.5926 GB, free: 172 kB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.727e-06/0.5637, allocations: 0 / 0.5926 GB, free: 172 kB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.00764/0.5713, allocations: 3.381 MB / 0.5959 GB, free: 12.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.5714, allocations: 90.11 kB / 0.5959 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/0.5767, allocations: 3.153 MB / 0.599 GB, free: 9.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.5769, allocations: 41.7 kB / 0.5991 GB, free: 9.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.5789, allocations: 2.751 MB / 0.6018 GB, free: 6.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/0.5795, allocations: 0.5669 MB / 0.6023 GB, free: 6.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.5797, allocations: 100.1 kB / 0.6024 GB, free: 6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003101/0.58, allocations: 0.5128 MB / 0.6029 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.5824, allocations: 1.52 MB / 0.6044 GB, free: 3.953 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004138/0.5865, allocations: 4.512 MB / 0.6088 GB, free: 13.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.5901, allocations: 2.628 MB / 0.6114 GB, free: 11.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.974e-05/0.5901, allocations: 35.95 kB / 0.6114 GB, free: 11.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.008527/0.5987, allocations: 5.863 MB / 0.6171 GB, free: 5.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.5987, allocations: 54.81 kB / 0.6172 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.784e-05/0.5989, allocations: 104 kB / 0.6173 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.599, allocations: 156.8 kB / 0.6174 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.602, allocations: 1.08 MB / 0.6185 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.6022, allocations: 211.3 kB / 0.6187 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.6054, allocations: 0.6994 MB / 0.6194 GB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004274/0.6059, allocations: 300 kB / 0.6196 GB, free: 2.824 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 593 * Array equations: 6 * 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.003344/0.6092, allocations: 1.993 MB / 0.6216 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.6097, allocations: 264.5 kB / 0.6218 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.6102, allocations: 336.3 kB / 0.6222 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.6103, allocations: 23.94 kB / 0.6222 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6103, allocations: 0 / 0.6222 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.6103, allocations: 3.984 kB / 0.6222 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.6212, allocations: 7.113 MB / 0.6291 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.6213, allocations: 11.95 kB / 0.6291 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.622, allocations: 183.7 kB / 0.6293 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.622, allocations: 12.81 kB / 0.6293 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.6221, allocations: 28 kB / 0.6294 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.6221, allocations: 23.92 kB / 0.6294 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.6222, allocations: 11.94 kB / 0.6294 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.6248, allocations: 2.255 MB / 0.6316 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.6255, allocations: 377.1 kB / 0.632 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.6258, allocations: 24 kB / 0.632 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.6265, allocations: 55.94 kB / 0.632 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6266, allocations: 80.39 kB / 0.6321 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.6267, allocations: 52 kB / 0.6322 GB, free: 5.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002791/0.6295, allocations: 2 MB / 0.6341 GB, free: 3.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6295, allocations: 0 / 0.6341 GB, free: 3.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003497/0.633, allocations: 1.043 MB / 0.6351 GB, free: 2.625 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * 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.0003118/0.6333, allocations: 151 kB / 0.6353 GB, free: 2.469 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.6384, allocations: 3.566 MB / 0.6388 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6384, allocations: 0 / 0.6388 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6395, allocations: 0.9262 MB / 0.6397 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6409, allocations: 319 kB / 0.64 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.6554, allocations: 9.855 MB / 0.6496 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.6584, allocations: 3.073 MB / 0.6526 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/0.6592, allocations: 235.4 kB / 0.6528 GB, free: 400 kB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6592, allocations: 0 / 0.6528 GB, free: 400 kB / 474.7 MB Notification: Performance of Templates: time 0.2962/0.9554, allocations: 46.37 MB / 0.6981 GB, free: 138.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches