Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 75.88 kB / 0.4916 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 66.06 MB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01396/0.1443, allocations: 11.43 MB / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006505/0.1508, allocations: 2.846 MB / 0.5701 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.1525, allocations: 59.81 kB / 0.5701 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.1559, allocations: 1.354 MB / 0.5715 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.1595, allocations: 1.272 MB / 0.5727 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.1601, allocations: 83.84 kB / 0.5728 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.1645, allocations: 2.764 MB / 0.5755 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1671, allocations: 1.55 MB / 0.577 GB, free: 80 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.1698, allocations: 1.074 MB / 0.5781 GB, free: 15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.1733, allocations: 1.643 MB / 0.5797 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000823/0.1741, allocations: 208 kB / 0.5799 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.1758, allocations: 0.5069 MB / 0.5804 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.1781, allocations: 1.468 MB / 0.5818 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00333/0.1814, allocations: 1.711 MB / 0.5835 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.1905, allocations: 5.515 MB / 0.5888 GB, free: 3.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1905, allocations: 0 / 0.5888 GB, free: 3.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1905, allocations: 0 / 0.5888 GB, free: 3.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.1907, allocations: 0 / 0.5888 GB, free: 3.906 MB / 446.1 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.009111/0.1998, allocations: 3.742 MB / 0.5925 GB, free: 92 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.1999, allocations: 12.03 kB / 0.5925 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.2441/0.444, allocations: 82.94 kB / 0.5926 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001828/0.4458, allocations: 0.6835 MB / 0.5933 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4575, allocations: 3 MB / 0.5962 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.461, allocations: 1.554 MB / 0.5977 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.4612, allocations: 182.9 kB / 0.5979 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.4622, allocations: 222.5 kB / 0.5981 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.4809, allocations: 9.703 MB / 0.6076 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.481, allocations: 19.94 kB / 0.6076 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000742/0.4818, allocations: 116.4 kB / 0.6077 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00518/0.487, allocations: 2.44 MB / 0.6101 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.504, allocations: 8.811 MB / 0.6187 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/0.5424, allocations: 30.6 MB / 0.6486 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006062/0.5484, allocations: 3.187 MB / 0.6517 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.55, allocations: 0.8598 MB / 0.6525 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.128e-05/0.5501, allocations: 12.98 kB / 0.6525 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.5501, allocations: 47.56 kB / 0.6526 GB, free: 4.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.938e-06/0.5501, allocations: 0 / 0.6526 GB, free: 4.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.008616/0.5587, allocations: 3.387 MB / 0.6559 GB, free: 1.375 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.5588, allocations: 64.41 kB / 0.6559 GB, free: 1.297 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.5645, allocations: 3.124 MB / 0.659 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.5648, allocations: 45.64 kB / 0.659 GB, free: 14.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002516/0.5673, allocations: 2.783 MB / 0.6618 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009829/0.5683, allocations: 0.5853 MB / 0.6623 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.57, allocations: 0.9845 MB / 0.6633 GB, free: 9.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5702, allocations: 305.1 kB / 0.6636 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.5728, allocations: 1.536 MB / 0.6651 GB, free: 7.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/0.5783, allocations: 4.447 MB / 0.6694 GB, free: 2.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/0.5874, allocations: 6.545 MB / 0.6758 GB, free: 10.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/0.5875, allocations: 28 kB / 0.6758 GB, free: 9.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01247/0.6, allocations: 5.839 MB / 0.6815 GB, free: 4.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/0.6, allocations: 52 kB / 0.6816 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.6002, allocations: 104 kB / 0.6817 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.6003, allocations: 136.8 kB / 0.6818 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.6039, allocations: 1.06 MB / 0.6829 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.6041, allocations: 207.2 kB / 0.6831 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/0.6081, allocations: 0.6978 MB / 0.6837 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/0.6087, allocations: 296 kB / 0.684 GB, free: 1.605 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003902/0.6126, allocations: 1.938 MB / 0.6859 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/0.6132, allocations: 270.2 kB / 0.6862 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008273/0.614, allocations: 335.8 kB / 0.6865 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/0.6141, allocations: 20 kB / 0.6865 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.6141, allocations: 3.625 kB / 0.6865 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6141, allocations: 7.922 kB / 0.6865 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.6273, allocations: 6.882 MB / 0.6932 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.6273, allocations: 8 kB / 0.6932 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.6281, allocations: 175.7 kB / 0.6934 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.6281, allocations: 8 kB / 0.6934 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.6282, allocations: 28 kB / 0.6934 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.6283, allocations: 19.92 kB / 0.6935 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.6283, allocations: 11.94 kB / 0.6935 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.6317, allocations: 2.262 MB / 0.6957 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.6325, allocations: 374.9 kB / 0.696 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/0.633, allocations: 24 kB / 0.6961 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.6339, allocations: 43.95 kB / 0.6961 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.6341, allocations: 84.33 kB / 0.6962 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.6342, allocations: 55.97 kB / 0.6962 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00365/0.6378, allocations: 1.971 MB / 0.6982 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.6378, allocations: 0 / 0.6982 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004229/0.6421, allocations: 1.009 MB / 0.6992 GB, free: 1.797 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004189/0.6462, allocations: 2.919 MB / 0.702 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006243/0.6525, allocations: 3.422 MB / 0.7053 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.6525, allocations: 4 kB / 0.7053 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.6538, allocations: 0.864 MB / 0.7062 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.656, allocations: 331.2 kB / 0.7065 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0564/0.7124, allocations: 33.5 MB / 0.7392 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005139/0.7175, allocations: 3.004 MB / 0.7422 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003983/0.7215, allocations: 1.722 MB / 0.7438 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002626/0.7241, allocations: 1.542 MB / 0.7453 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.7241, allocations: 0 / 0.7453 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09602/0.8201, allocations: 45.95 MB / 0.7902 GB, free: 288 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.36, allocations: 14.98 kB / 0.7902 GB, free: 276 kB / 0.5919 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.194715776015073]