Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001917/0.001917, allocations: 115.6 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.002425/0.002425, allocations: 214.1 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3197/0.3197, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01412/0.3503, allocations: 11.45 MB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007448/0.3577, allocations: 2.862 MB / 0.571 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.3597, allocations: 67.81 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.363, allocations: 1.358 MB / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.3665, allocations: 1.288 MB / 0.5736 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.367, allocations: 71.91 kB / 0.5737 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.3713, allocations: 2.764 MB / 0.5764 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.3739, allocations: 1.627 MB / 0.578 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.376, allocations: 1.074 MB / 0.5791 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.3788, allocations: 1.643 MB / 0.5807 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007433/0.3795, allocations: 208 kB / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.381, allocations: 0.5032 MB / 0.5813 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.3829, allocations: 1.464 MB / 0.5828 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.386, allocations: 1.719 MB / 0.5845 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.3934, allocations: 5.515 MB / 0.5898 GB, free: 6.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3934, allocations: 4 kB / 0.5898 GB, free: 6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3934, allocations: 0 / 0.5898 GB, free: 6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001853/0.3936, allocations: 0 / 0.5898 GB, free: 6 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.007956/0.4015, allocations: 3.663 MB / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4016, allocations: 8.031 kB / 0.5934 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001387/0.403, allocations: 0.6875 MB / 0.5941 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4135, allocations: 2.997 MB / 0.597 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.418, allocations: 1.496 MB / 0.5985 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.4183, allocations: 180.7 kB / 0.5987 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.4198, allocations: 227.7 kB / 0.5989 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.4371, allocations: 9.698 MB / 0.6083 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/0.4372, allocations: 31.8 kB / 0.6084 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007073/0.4379, allocations: 107.8 kB / 0.6085 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004187/0.4421, allocations: 2.436 MB / 0.6109 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.4599, allocations: 8.812 MB / 0.6195 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04755/0.5074, allocations: 30.5 MB / 0.6493 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.5125, allocations: 2.272 MB / 0.6515 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.5139, allocations: 0.8477 MB / 0.6523 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.5139, allocations: 20.97 kB / 0.6523 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.514, allocations: 47.5 kB / 0.6524 GB, free: 4.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.358e-06/0.514, allocations: 0 / 0.6524 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007963/0.5219, allocations: 3.379 MB / 0.6557 GB, free: 1.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.522, allocations: 72.33 kB / 0.6557 GB, free: 1.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005382/0.5274, allocations: 3.123 MB / 0.6588 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.5275, allocations: 41.7 kB / 0.6588 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.5299, allocations: 2.791 MB / 0.6615 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000728/0.5306, allocations: 0.5931 MB / 0.6621 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.5321, allocations: 0.9689 MB / 0.6631 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5322, allocations: 309.1 kB / 0.6634 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.5346, allocations: 1.528 MB / 0.6649 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005566/0.5401, allocations: 4.459 MB / 0.6692 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009139/0.5493, allocations: 6.535 MB / 0.6756 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/0.5494, allocations: 28 kB / 0.6756 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01092/0.5604, allocations: 5.846 MB / 0.6813 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.5605, allocations: 55.98 kB / 0.6814 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/0.5606, allocations: 100 kB / 0.6815 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.5608, allocations: 136 kB / 0.6816 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.5641, allocations: 1.057 MB / 0.6826 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001959/0.5643, allocations: 211.2 kB / 0.6828 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/0.5676, allocations: 0.6939 MB / 0.6835 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005458/0.5682, allocations: 292.2 kB / 0.6838 GB, free: 1.348 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.003309/0.5715, allocations: 1.954 MB / 0.6857 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.572, allocations: 270.1 kB / 0.686 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/0.5727, allocations: 331.8 kB / 0.6863 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.5728, allocations: 23.92 kB / 0.6863 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5728, allocations: 0 / 0.6863 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.5728, allocations: 7.984 kB / 0.6863 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.5862, allocations: 6.853 MB / 0.693 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.5862, allocations: 4 kB / 0.693 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.5871, allocations: 175.7 kB / 0.6932 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/0.5871, allocations: 16.83 kB / 0.6932 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.5872, allocations: 35.94 kB / 0.6932 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.5872, allocations: 12 kB / 0.6932 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.5873, allocations: 11.94 kB / 0.6932 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.5907, allocations: 2.277 MB / 0.6955 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.5914, allocations: 281.8 kB / 0.6957 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/0.592, allocations: 31.92 kB / 0.6958 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.593, allocations: 47.95 kB / 0.6958 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5932, allocations: 76.42 kB / 0.6959 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.5933, allocations: 55.97 kB / 0.6959 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003808/0.5971, allocations: 1.971 MB / 0.6979 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5971, allocations: 7.938 kB / 0.6979 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004152/0.6013, allocations: 1.013 MB / 0.6989 GB, free: 1.637 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.004038/0.6053, allocations: 2.907 MB / 0.7017 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006065/0.6114, allocations: 3.434 MB / 0.7051 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.6114, allocations: 0 / 0.7051 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.6128, allocations: 0.8638 MB / 0.7059 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.615, allocations: 322.2 kB / 0.7062 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3208/0.9358, allocations: 33.51 MB / 0.7389 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.9385, allocations: 3.005 MB / 0.7419 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002949/0.9414, allocations: 1.727 MB / 0.7436 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.9431, allocations: 1.537 MB / 0.7451 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.9431, allocations: 2.969 kB / 0.7451 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08773/1.031, allocations: 49.92 MB / 0.7938 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.09/20.12, allocations: 19.08 kB / 0.7938 GB, free: 101.4 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 23.547009789850563]