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.001805/0.001805, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002359/0.002359, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2253/0.2253, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.002007/0.002007, allocations: 71.81 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 66.03 MB / 0.5606 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01385/0.3025, allocations: 11.44 MB / 0.5718 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006293/0.3088, allocations: 2.87 MB / 0.5746 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3103, allocations: 63.81 kB / 0.5747 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.3131, allocations: 1.358 MB / 0.576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.3162, allocations: 1.288 MB / 0.5773 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.3166, allocations: 75.91 kB / 0.5773 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.3203, allocations: 2.76 MB / 0.58 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.3227, allocations: 1.623 MB / 0.5816 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3244, allocations: 1.074 MB / 0.5827 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.3268, allocations: 1.647 MB / 0.5843 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000579/0.3274, allocations: 208 kB / 0.5845 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3286, allocations: 0.4954 MB / 0.585 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.3302, allocations: 1.476 MB / 0.5864 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.3323, allocations: 1.719 MB / 0.5881 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006186/0.3385, allocations: 5.515 MB / 0.5935 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3385, allocations: 0 / 0.5935 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.3385, allocations: 3.984 kB / 0.5935 GB, free: 2.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.3386, allocations: 4 kB / 0.5935 GB, free: 2.664 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.005659/0.3443, allocations: 3.663 MB / 0.5971 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3443, allocations: 8.031 kB / 0.5971 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008572/0.3452, allocations: 0.6797 MB / 0.5977 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.3556, allocations: 3.001 MB / 0.6007 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.359, allocations: 1.496 MB / 0.6021 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.3592, allocations: 172.6 kB / 0.6023 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005945/0.3598, allocations: 227.8 kB / 0.6025 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.3743, allocations: 9.702 MB / 0.612 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.3744, allocations: 19.81 kB / 0.612 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.3748, allocations: 115.8 kB / 0.6121 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003927/0.3787, allocations: 2.432 MB / 0.6145 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.3947, allocations: 8.815 MB / 0.6231 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04002/0.4347, allocations: 30.51 MB / 0.6529 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.4397, allocations: 2.263 MB / 0.6551 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.4409, allocations: 0.8555 MB / 0.6559 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.441, allocations: 20.97 kB / 0.6559 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.441, allocations: 47.56 kB / 0.656 GB, free: 1.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.286e-06/0.441, allocations: 0 / 0.656 GB, free: 1.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007319/0.4483, allocations: 3.379 MB / 0.6593 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4484, allocations: 64.34 kB / 0.6594 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/0.453, allocations: 3.123 MB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.4532, allocations: 45.61 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/0.4554, allocations: 2.787 MB / 0.6652 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/0.4561, allocations: 0.5892 MB / 0.6657 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.4574, allocations: 0.9845 MB / 0.6667 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4575, allocations: 305.1 kB / 0.667 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.4598, allocations: 1.528 MB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004905/0.4647, allocations: 4.455 MB / 0.6728 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00803/0.4728, allocations: 6.543 MB / 0.6792 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.47e-05/0.4729, allocations: 28 kB / 0.6793 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01007/0.4829, allocations: 5.837 MB / 0.685 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.483, allocations: 48 kB / 0.685 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.4831, allocations: 107.9 kB / 0.6851 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.4833, allocations: 136.7 kB / 0.6852 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.4863, allocations: 1.06 MB / 0.6863 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001694/0.4864, allocations: 207.2 kB / 0.6865 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.4893, allocations: 0.6978 MB / 0.6871 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/0.4896, allocations: 296 kB / 0.6874 GB, free: 14.02 MB / 0.5294 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.002735/0.4924, allocations: 1.95 MB / 0.6893 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.4927, allocations: 270.1 kB / 0.6896 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.4934, allocations: 331.8 kB / 0.6899 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.4934, allocations: 19.94 kB / 0.6899 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.4934, allocations: 0 / 0.6899 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4934, allocations: 3.984 kB / 0.6899 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.5046, allocations: 6.854 MB / 0.6966 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.5046, allocations: 12.03 kB / 0.6966 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.5054, allocations: 175.7 kB / 0.6968 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.5054, allocations: 12 kB / 0.6968 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.5055, allocations: 31.94 kB / 0.6968 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.5055, allocations: 15.98 kB / 0.6969 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.5055, allocations: 12 kB / 0.6969 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.5086, allocations: 2.269 MB / 0.6991 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.5093, allocations: 289.8 kB / 0.6994 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.5096, allocations: 31.92 kB / 0.6994 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/0.5103, allocations: 43.95 kB / 0.6994 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.5105, allocations: 92.33 kB / 0.6995 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/0.5106, allocations: 48 kB / 0.6996 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003016/0.5136, allocations: 1.975 MB / 0.7015 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5136, allocations: 0 / 0.7015 GB, free: 15.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003847/0.5174, allocations: 1.009 MB / 0.7025 GB, free: 14.32 MB / 0.545 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.003518/0.521, allocations: 2.915 MB / 0.7053 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005488/0.5264, allocations: 3.426 MB / 0.7087 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.5264, allocations: 4 kB / 0.7087 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.5276, allocations: 0.8564 MB / 0.7095 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.5293, allocations: 328 kB / 0.7098 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2654/0.7947, allocations: 33.52 MB / 0.7426 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/0.7972, allocations: 3.02 MB / 0.7455 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003162/0.8004, allocations: 1.718 MB / 0.7472 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.8019, allocations: 1.536 MB / 0.7487 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.8019, allocations: 0 / 0.7487 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/0.8773, allocations: 49.93 MB / 0.7974 GB, free: 96.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/19.15, allocations: 3.984 kB / 0.7974 GB, free: 96.9 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.30477266991511]