Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 204.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002933/0.002933, allocations: 71.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3419, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01285/0.3547, allocations: 9.942 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008103/0.3628, allocations: 2.718 MB / 0.5729 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.3643, allocations: 59.81 kB / 0.573 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.3672, allocations: 1.312 MB / 0.5743 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.3705, allocations: 1.291 MB / 0.5755 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3709, allocations: 79.83 kB / 0.5756 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.3751, allocations: 2.756 MB / 0.5783 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.3777, allocations: 1.623 MB / 0.5799 GB, free: 348 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.3795, allocations: 1.082 MB / 0.581 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.3823, allocations: 1.643 MB / 0.5826 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005892/0.3829, allocations: 204 kB / 0.5828 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3839, allocations: 419.4 kB / 0.5832 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.3854, allocations: 1.468 MB / 0.5846 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.3869, allocations: 1.21 MB / 0.5858 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006241/0.3931, allocations: 5.534 MB / 0.5912 GB, free: 4.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3931, allocations: 0 / 0.5912 GB, free: 4.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3931, allocations: 0 / 0.5912 GB, free: 4.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.3933, allocations: 0 / 0.5912 GB, free: 4.746 MB / 430.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.006834/0.4001, allocations: 3.663 MB / 0.5947 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4002, allocations: 8.031 kB / 0.5948 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009724/0.4012, allocations: 0.6836 MB / 0.5954 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.4117, allocations: 3.001 MB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.4159, allocations: 1.519 MB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.4161, allocations: 172.7 kB / 0.6 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006107/0.4167, allocations: 227.8 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.4321, allocations: 9.69 MB / 0.6097 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.116e-05/0.4322, allocations: 19.81 kB / 0.6097 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.4325, allocations: 111.8 kB / 0.6098 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004135/0.4367, allocations: 2.439 MB / 0.6122 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4535, allocations: 8.796 MB / 0.6208 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04886/0.5024, allocations: 29.07 MB / 0.6492 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.5074, allocations: 2.271 MB / 0.6514 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.5087, allocations: 0.8516 MB / 0.6522 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.5088, allocations: 20.92 kB / 0.6522 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5088, allocations: 39.56 kB / 0.6523 GB, free: 4.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.667e-06/0.5088, allocations: 0 / 0.6523 GB, free: 4.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007795/0.5166, allocations: 3.375 MB / 0.6556 GB, free: 1.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.5167, allocations: 76.28 kB / 0.6556 GB, free: 1.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.5215, allocations: 3.301 MB / 0.6589 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5217, allocations: 41.7 kB / 0.6589 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.5242, allocations: 2.794 MB / 0.6616 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/0.525, allocations: 0.5854 MB / 0.6622 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.5264, allocations: 0.9806 MB / 0.6632 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.5266, allocations: 301.1 kB / 0.6635 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/0.529, allocations: 1.528 MB / 0.6649 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005407/0.5344, allocations: 4.447 MB / 0.6693 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/0.5438, allocations: 6.543 MB / 0.6757 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.5439, allocations: 35.94 kB / 0.6757 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01131/0.5552, allocations: 5.837 MB / 0.6814 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5554, allocations: 48 kB / 0.6815 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.5555, allocations: 104 kB / 0.6816 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.5557, allocations: 140 kB / 0.6817 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.5592, allocations: 1.057 MB / 0.6827 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002298/0.5594, allocations: 203.2 kB / 0.6829 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.5629, allocations: 0.7017 MB / 0.6836 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/0.5636, allocations: 300 kB / 0.6839 GB, free: 1.367 MB / 0.5137 GB 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.003351/0.567, allocations: 1.938 MB / 0.6858 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.5675, allocations: 270.1 kB / 0.686 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.5683, allocations: 327.8 kB / 0.6864 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-05/0.5683, allocations: 27.84 kB / 0.6864 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5683, allocations: 4.062 kB / 0.6864 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5683, allocations: 7.969 kB / 0.6864 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.5818, allocations: 6.663 MB / 0.6929 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.5819, allocations: 8 kB / 0.6929 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.5827, allocations: 171.7 kB / 0.6931 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.5827, allocations: 12 kB / 0.6931 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/0.5828, allocations: 35.92 kB / 0.6931 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.5828, allocations: 12.53 kB / 0.6931 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.5828, allocations: 15.94 kB / 0.6931 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.5859, allocations: 2.269 MB / 0.6954 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007525/0.5866, allocations: 289.8 kB / 0.6956 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/0.5871, allocations: 27.94 kB / 0.6957 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.588, allocations: 43.95 kB / 0.6957 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.5882, allocations: 92.33 kB / 0.6958 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5883, allocations: 48 kB / 0.6958 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003453/0.5917, allocations: 1.979 MB / 0.6978 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5917, allocations: 0 / 0.6978 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003949/0.5957, allocations: 1.001 MB / 0.6987 GB, free: 1.867 MB / 0.5294 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.004028/0.5997, allocations: 2.926 MB / 0.7016 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006018/0.6057, allocations: 3.426 MB / 0.7049 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6057, allocations: 0 / 0.7049 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.607, allocations: 0.8627 MB / 0.7058 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.609, allocations: 322.3 kB / 0.7061 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3067/0.9156, allocations: 33.51 MB / 0.7388 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.9181, allocations: 2.458 MB / 0.7412 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002926/0.9211, allocations: 1.721 MB / 0.7429 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/0.9226, allocations: 1.536 MB / 0.7444 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.833e-06/0.9226, allocations: 4 kB / 0.7444 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07974/1.002, allocations: 47.73 MB / 0.791 GB, free: 101 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.37, allocations: 3.281 kB / 0.791 GB, free: 101 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 18.60719085301389]