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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000933/0.0009331, allocations: 179.2 kB / 16.72 MB, free: 4.953 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.291/1.291, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007929/0.0007928, allocations: 86.36 kB / 271.2 MB, free: 8.242 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.3048/0.3048, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.2204/0.3382, allocations: 26.32 MB / 0.5051 GB, free: 31.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3488, allocations: 5.391 MB / 0.5104 GB, free: 28.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/0.3527, allocations: 116.1 kB / 0.5105 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.3551, allocations: 1.272 MB / 0.5117 GB, free: 27.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.3623, allocations: 3.584 MB / 0.5152 GB, free: 26.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.3628, allocations: 82.92 kB / 0.5153 GB, free: 26.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.3655, allocations: 3.285 MB / 0.5185 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.3675, allocations: 2.099 MB / 0.5206 GB, free: 24.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.3686, allocations: 0.943 MB / 0.5215 GB, free: 23.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.3699, allocations: 1.481 MB / 0.5229 GB, free: 23.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.3702, allocations: 120.4 kB / 0.523 GB, free: 23.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.3709, allocations: 413.8 kB / 0.5234 GB, free: 23.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008262/0.3718, allocations: 1.363 MB / 0.5248 GB, free: 22.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3728, allocations: 1.608 MB / 0.5263 GB, free: 21.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.3764, allocations: 4.282 MB / 0.5305 GB, free: 20.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3764, allocations: 0 / 0.5305 GB, free: 20.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3765, allocations: 3.938 kB / 0.5305 GB, free: 20.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.3766, allocations: 0 / 0.5305 GB, free: 20.74 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.004532/0.3812, allocations: 3.053 MB / 0.5335 GB, free: 18.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3812, allocations: 9.812 kB / 0.5335 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008757/0.3821, allocations: 0.6989 MB / 0.5342 GB, free: 18.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009874/0.392, allocations: 3.067 MB / 0.5372 GB, free: 18.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3949, allocations: 1.565 MB / 0.5387 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.395, allocations: 187.4 kB / 0.5389 GB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/0.3955, allocations: 230 kB / 0.5391 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.4099, allocations: 9.893 MB / 0.5488 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.41, allocations: 20.06 kB / 0.5488 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.4104, allocations: 110.9 kB / 0.5489 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003982/0.4144, allocations: 2.54 MB / 0.5514 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.4281, allocations: 8.861 MB / 0.56 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04189/0.47, allocations: 31.52 MB / 0.5908 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/0.4752, allocations: 3.3 MB / 0.594 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4765, allocations: 0.9272 MB / 0.595 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/0.4766, allocations: 12.98 kB / 0.595 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4767, allocations: 47.56 kB / 0.595 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.008e-06/0.4767, allocations: 0 / 0.595 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.006923/0.4836, allocations: 3.377 MB / 0.5983 GB, free: 10.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4837, allocations: 90.23 kB / 0.5984 GB, free: 10.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.4879, allocations: 3.165 MB / 0.6015 GB, free: 7.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.488, allocations: 41.7 kB / 0.6015 GB, free: 7.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.4897, allocations: 2.743 MB / 0.6042 GB, free: 4.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.4903, allocations: 0.5669 MB / 0.6048 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.4904, allocations: 96 kB / 0.6048 GB, free: 3.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003535/0.4908, allocations: 0.5167 MB / 0.6054 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.493, allocations: 1.52 MB / 0.6068 GB, free: 1.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.4972, allocations: 4.512 MB / 0.6112 GB, free: 11.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006449/0.5036, allocations: 6.619 MB / 0.6177 GB, free: 3.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.931e-05/0.5037, allocations: 28 kB / 0.6177 GB, free: 3.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.008104/0.5118, allocations: 5.875 MB / 0.6235 GB, free: 13.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.5119, allocations: 52 kB / 0.6235 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-05/0.512, allocations: 107.9 kB / 0.6236 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.5121, allocations: 140 kB / 0.6238 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.5148, allocations: 1.08 MB / 0.6248 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001441/0.515, allocations: 215 kB / 0.625 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.5176, allocations: 0.7038 MB / 0.6257 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/0.518, allocations: 300 kB / 0.626 GB, free: 11.27 MB / 458.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.002824/0.5208, allocations: 1.977 MB / 0.6279 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.5211, allocations: 264.5 kB / 0.6282 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.5218, allocations: 332.3 kB / 0.6285 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.5218, allocations: 19.94 kB / 0.6285 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5218, allocations: 7.938 kB / 0.6285 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5218, allocations: 11.97 kB / 0.6285 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.5319, allocations: 7.106 MB / 0.6355 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5319, allocations: 4 kB / 0.6355 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.5327, allocations: 175.7 kB / 0.6356 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.5327, allocations: 12 kB / 0.6357 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.5328, allocations: 35.92 kB / 0.6357 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.5328, allocations: 15.94 kB / 0.6357 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.5328, allocations: 16.34 kB / 0.6357 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.5354, allocations: 2.275 MB / 0.6379 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.536, allocations: 365.2 kB / 0.6383 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.5362, allocations: 27.94 kB / 0.6383 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.537, allocations: 47.95 kB / 0.6384 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.5372, allocations: 84.44 kB / 0.6384 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.5373, allocations: 52 kB / 0.6385 GB, free: 14.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002524/0.5398, allocations: 1.996 MB / 0.6404 GB, free: 12.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5398, allocations: 0 / 0.6404 GB, free: 12.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003175/0.543, allocations: 1.039 MB / 0.6415 GB, free: 11.09 MB / 474.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.002852/0.5459, allocations: 2.928 MB / 0.6443 GB, free: 8.043 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.5505, allocations: 3.567 MB / 0.6478 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5505, allocations: 0 / 0.6478 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5515, allocations: 0.9267 MB / 0.6487 GB, free: 3.586 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.555, allocations: 301.8 kB / 0.649 GB, free: 3.293 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03797/0.593, allocations: 25.93 MB / 0.6743 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.5965, allocations: 3.077 MB / 0.6773 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/0.5985, allocations: 1.632 MB / 0.6789 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.5985, allocations: 3.938 kB / 0.6789 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.669/6.268, allocations: 61.43 MB / 0.7389 GB, free: 130.3 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > 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/jenkins1/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