Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007537/0.0007537, allocations: 111.2 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2932/0.2932, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002642, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.314, allocations: 62.96 MB / 0.516 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01683/0.3309, allocations: 26.03 MB / 0.5414 GB, free: 18.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3412, allocations: 5.403 MB / 0.5466 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.3455, allocations: 113.6 kB / 0.5468 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.3486, allocations: 1.26 MB / 0.548 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008564/0.3572, allocations: 3.567 MB / 0.5515 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3582, allocations: 85.02 kB / 0.5515 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004684/0.3629, allocations: 3.205 MB / 0.5547 GB, free: 11.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003835/0.3668, allocations: 2.087 MB / 0.5567 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.3692, allocations: 0.9225 MB / 0.5576 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.3722, allocations: 1.451 MB / 0.559 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.3732, allocations: 120 kB / 0.5591 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.3752, allocations: 419.5 kB / 0.5595 GB, free: 9.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.3773, allocations: 1.336 MB / 0.5609 GB, free: 9.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002895/0.3802, allocations: 1.57 MB / 0.5624 GB, free: 8.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.3852, allocations: 4.207 MB / 0.5665 GB, free: 5.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3852, allocations: 0 / 0.5665 GB, free: 5.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3852, allocations: 0 / 0.5665 GB, free: 5.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002715/0.3855, allocations: 0 / 0.5665 GB, free: 5.242 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.006416/0.3919, allocations: 2.988 MB / 0.5694 GB, free: 2.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.392, allocations: 8.031 kB / 0.5694 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001649/0.3936, allocations: 0.6913 MB / 0.5701 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009453/0.4031, allocations: 3.068 MB / 0.5731 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.4068, allocations: 1.545 MB / 0.5746 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4071, allocations: 180.6 kB / 0.5748 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.4083, allocations: 223.8 kB / 0.575 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.4249, allocations: 9.682 MB / 0.5844 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.487e-05/0.425, allocations: 19.81 kB / 0.5845 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007825/0.4258, allocations: 115.8 kB / 0.5846 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/0.4296, allocations: 2.436 MB / 0.587 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.4463, allocations: 8.767 MB / 0.5955 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04582/0.4922, allocations: 30.7 MB / 0.6255 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005403/0.4976, allocations: 3.265 MB / 0.6287 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.4991, allocations: 0.9292 MB / 0.6296 GB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.4992, allocations: 12.98 kB / 0.6296 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4992, allocations: 43.56 kB / 0.6296 GB, free: 3.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 4.799e-06/0.4992, allocations: 0 / 0.6296 GB, free: 3.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.007579/0.5068, allocations: 3.362 MB / 0.6329 GB, free: 15.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.5069, allocations: 68.34 kB / 0.633 GB, free: 15.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006394/0.5133, allocations: 3.1 MB / 0.636 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.5135, allocations: 41.7 kB / 0.6361 GB, free: 12.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002374/0.5159, allocations: 2.685 MB / 0.6387 GB, free: 9.855 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/0.5167, allocations: 0.5631 MB / 0.6392 GB, free: 9.285 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.517, allocations: 95.98 kB / 0.6393 GB, free: 9.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00048/0.5175, allocations: 0.5125 MB / 0.6398 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.5202, allocations: 1.508 MB / 0.6413 GB, free: 7.156 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/0.5249, allocations: 4.436 MB / 0.6456 GB, free: 1.262 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/0.5327, allocations: 6.516 MB / 0.652 GB, free: 9.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.5328, allocations: 28 kB / 0.652 GB, free: 9.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01059/0.5434, allocations: 5.789 MB / 0.6577 GB, free: 3.477 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.5435, allocations: 52.06 kB / 0.6577 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/0.5437, allocations: 104 kB / 0.6578 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.5439, allocations: 136 kB / 0.658 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.5471, allocations: 1.06 MB / 0.659 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001859/0.5473, allocations: 199.2 kB / 0.6592 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.5507, allocations: 0.6762 MB / 0.6598 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005247/0.5513, allocations: 300 kB / 0.6601 GB, free: 0.957 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (588): * Single equations (assignments): 582 * 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.003658/0.5549, allocations: 1.943 MB / 0.662 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.5554, allocations: 256.5 kB / 0.6623 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.5561, allocations: 335.8 kB / 0.6626 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/0.5562, allocations: 23.88 kB / 0.6626 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5562, allocations: 4 kB / 0.6626 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5562, allocations: 3.984 kB / 0.6626 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.569, allocations: 6.872 MB / 0.6693 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.569, allocations: 8 kB / 0.6693 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.5697, allocations: 175.7 kB / 0.6695 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.5697, allocations: 16.03 kB / 0.6695 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.5698, allocations: 36 kB / 0.6696 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.5699, allocations: 15.92 kB / 0.6696 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.5699, allocations: 11.94 kB / 0.6696 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.573, allocations: 2.24 MB / 0.6718 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/0.5738, allocations: 365.2 kB / 0.6721 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.5741, allocations: 31.92 kB / 0.6721 GB, free: 4.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/0.5748, allocations: 43.97 kB / 0.6722 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.575, allocations: 80.44 kB / 0.6723 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-05/0.5751, allocations: 47.98 kB / 0.6723 GB, free: 4.164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003041/0.5782, allocations: 1.967 MB / 0.6742 GB, free: 2.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5782, allocations: 0 / 0.6742 GB, free: 2.195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003876/0.5821, allocations: 1.015 MB / 0.6752 GB, free: 1.176 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * 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.2434/0.8254, allocations: 2.886 MB / 0.678 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.83, allocations: 3.529 MB / 0.6815 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.8301, allocations: 0 / 0.6815 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.8309, allocations: 0.922 MB / 0.6824 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.8345, allocations: 311.7 kB / 0.6827 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/0.868, allocations: 25.34 MB / 0.7074 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/0.8718, allocations: 3.02 MB / 0.7104 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/0.8738, allocations: 1.587 MB / 0.7119 GB, free: 107.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.8738, allocations: 0 / 0.7119 GB, free: 107.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.553/6.427, allocations: 60.21 MB / 0.7707 GB, free: 58.85 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches