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.001509/0.001509, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001404/0.001404, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2275/0.2275, allocations: 46.97 MB / 360.9 MB, free: 4.012 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.003047/0.003047, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3247, allocations: 66.03 MB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01422/0.3389, allocations: 9.934 MB / 0.5703 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.3453, allocations: 2.722 MB / 0.5729 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.3467, allocations: 63.81 kB / 0.573 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.3496, allocations: 1.312 MB / 0.5743 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.3528, allocations: 1.284 MB / 0.5755 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.3531, allocations: 71.86 kB / 0.5756 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003937/0.3571, allocations: 2.76 MB / 0.5783 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.3595, allocations: 1.619 MB / 0.5799 GB, free: 216 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.3617, allocations: 1.078 MB / 0.5809 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.3649, allocations: 1.576 MB / 0.5825 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007866/0.3657, allocations: 212 kB / 0.5827 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.367, allocations: 411.3 kB / 0.5831 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.369, allocations: 1.472 MB / 0.5845 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.3706, allocations: 1.202 MB / 0.5857 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.3779, allocations: 5.534 MB / 0.5911 GB, free: 4.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3779, allocations: 0 / 0.5911 GB, free: 4.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3779, allocations: 0 / 0.5911 GB, free: 4.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001718/0.3781, allocations: 0 / 0.5911 GB, free: 4.691 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.007258/0.3853, allocations: 3.663 MB / 0.5947 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.3854, allocations: 12.02 kB / 0.5947 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.3865, allocations: 0.6797 MB / 0.5953 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.397, allocations: 3.005 MB / 0.5983 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.4019, allocations: 1.515 MB / 0.5998 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.4022, allocations: 172.7 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.4035, allocations: 227.8 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.42, allocations: 9.698 MB / 0.6096 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.4201, allocations: 27.75 kB / 0.6096 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003244/0.4204, allocations: 111.8 kB / 0.6097 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004369/0.4248, allocations: 2.435 MB / 0.6121 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.4419, allocations: 8.792 MB / 0.6207 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.4828, allocations: 29.07 MB / 0.6491 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.4876, allocations: 2.264 MB / 0.6513 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.4889, allocations: 0.8515 MB / 0.6521 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.4889, allocations: 17 kB / 0.6522 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.489, allocations: 43.56 kB / 0.6522 GB, free: 4.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.677e-06/0.489, allocations: 0 / 0.6522 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007445/0.4964, allocations: 3.383 MB / 0.6555 GB, free: 1.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.4965, allocations: 80.28 kB / 0.6556 GB, free: 1.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004703/0.5012, allocations: 3.301 MB / 0.6588 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.5014, allocations: 41.7 kB / 0.6588 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/0.5043, allocations: 2.787 MB / 0.6616 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.5054, allocations: 0.5854 MB / 0.6621 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/0.5071, allocations: 0.9767 MB / 0.6631 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5073, allocations: 305.1 kB / 0.6634 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/0.5098, allocations: 1.528 MB / 0.6649 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005222/0.515, allocations: 4.451 MB / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008264/0.5232, allocations: 6.539 MB / 0.6756 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.538e-05/0.5233, allocations: 35.94 kB / 0.6756 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009095/0.5324, allocations: 5.842 MB / 0.6813 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.5325, allocations: 48 kB / 0.6814 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5326, allocations: 104.1 kB / 0.6815 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.5327, allocations: 140 kB / 0.6816 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/0.5358, allocations: 1.06 MB / 0.6827 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000181/0.5359, allocations: 203.2 kB / 0.6828 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.5388, allocations: 0.6978 MB / 0.6835 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.5392, allocations: 300 kB / 0.6838 GB, free: 1.309 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.002893/0.5421, allocations: 1.938 MB / 0.6857 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/0.5425, allocations: 278.1 kB / 0.686 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.5431, allocations: 327.8 kB / 0.6863 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.5431, allocations: 19.94 kB / 0.6863 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5431, allocations: 0 / 0.6863 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5432, allocations: 3.984 kB / 0.6863 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.5544, allocations: 6.662 MB / 0.6928 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.5544, allocations: 12.86 kB / 0.6928 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.5551, allocations: 179.7 kB / 0.693 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.5552, allocations: 16 kB / 0.693 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.5552, allocations: 27.94 kB / 0.693 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.5553, allocations: 15.92 kB / 0.6931 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.5553, allocations: 11.94 kB / 0.6931 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.5582, allocations: 2.265 MB / 0.6953 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/0.5589, allocations: 293.7 kB / 0.6956 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.5591, allocations: 31.94 kB / 0.6956 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.5599, allocations: 43.95 kB / 0.6956 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.56, allocations: 84.34 kB / 0.6957 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.5601, allocations: 48 kB / 0.6958 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002896/0.563, allocations: 1.983 MB / 0.6977 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.563, allocations: 0 / 0.6977 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003435/0.5665, allocations: 1.001 MB / 0.6987 GB, free: 1.809 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.00346/0.5699, allocations: 2.915 MB / 0.7015 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005355/0.5753, allocations: 3.433 MB / 0.7049 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.5753, allocations: 0 / 0.7049 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.5766, allocations: 0.8643 MB / 0.7057 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5783, allocations: 328.6 kB / 0.706 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2746/0.8529, allocations: 33.51 MB / 0.7388 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/0.8559, allocations: 2.46 MB / 0.7412 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003199/0.8591, allocations: 1.719 MB / 0.7428 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/0.8607, allocations: 1.542 MB / 0.7443 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/0.8607, allocations: 0 / 0.7443 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07709/0.9378, allocations: 45.51 MB / 0.7888 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.85, allocations: 6.828 kB / 0.7888 GB, free: 103.1 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: 19.13346724724397]