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.0008506/0.0008506, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001016/0.001016, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9547/0.9547, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2599/0.2599, allocations: 32.8 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.937e-05, allocations: 3.969 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.1897/0.1897, allocations: 9.944 MB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.1939, allocations: 2.729 MB / 452.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.1946, allocations: 60.09 kB / 452.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.196, allocations: 1.36 MB / 453.7 MB, free: 39.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1974, allocations: 1.323 MB / 455 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1976, allocations: 86.02 kB / 455.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.1992, allocations: 2.816 MB / 457.9 MB, free: 37.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.2004, allocations: 1.632 MB / 459.5 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2018, allocations: 1.561 MB / 461.1 MB, free: 35.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.203, allocations: 1.541 MB / 462.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.2032, allocations: 206.4 kB / 462.8 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006343/0.2039, allocations: 474.8 kB / 463.3 MB, free: 35.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006791/0.2045, allocations: 1.521 MB / 464.8 MB, free: 34.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.2051, allocations: 0.8675 MB / 465.7 MB, free: 34.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.2081, allocations: 5.369 MB / 471 MB, free: 32.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.2081, allocations: 3.281 kB / 471 MB, free: 32.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2081, allocations: 0 / 471 MB, free: 32.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.2083, allocations: 0 / 471 MB, free: 32.38 MB / 410.7 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.005999/0.2143, allocations: 3.616 MB / 474.7 MB, free: 30.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2143, allocations: 9.625 kB / 474.7 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005997/0.2149, allocations: 0.6798 MB / 475.3 MB, free: 29.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.22, allocations: 3.033 MB / 478.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.2223, allocations: 1.512 MB / 479.9 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/0.2224, allocations: 175.3 kB / 480.1 MB, free: 28.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.2228, allocations: 218.4 kB / 480.3 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.2363, allocations: 9.713 MB / 490 MB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.2363, allocations: 25.5 kB / 490 MB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.2366, allocations: 113 kB / 490.1 MB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.2396, allocations: 2.439 MB / 492.6 MB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.2539, allocations: 8.801 MB / 0.4896 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/0.2831, allocations: 29.17 MB / 0.5181 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.2864, allocations: 2.343 MB / 0.5204 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.2873, allocations: 0.8614 MB / 0.5212 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.2873, allocations: 12.98 kB / 0.5212 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2873, allocations: 47.5 kB / 0.5213 GB, free: 5.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 3.997e-06/0.2873, allocations: 0 / 0.5213 GB, free: 5.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.004777/0.2921, allocations: 3.535 MB / 0.5247 GB, free: 1.699 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2922, allocations: 64.41 kB / 0.5248 GB, free: 1.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.2955, allocations: 3.3 MB / 0.528 GB, free: 14.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.2956, allocations: 45.7 kB / 0.5281 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.297, allocations: 2.767 MB / 0.5308 GB, free: 11.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.2974, allocations: 0.5814 MB / 0.5313 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008177/0.2982, allocations: 0.9611 MB / 0.5323 GB, free: 9.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.2983, allocations: 309 kB / 0.5326 GB, free: 9.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.2997, allocations: 1.524 MB / 0.5341 GB, free: 8.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.3025, allocations: 4.451 MB / 0.5384 GB, free: 2.156 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.3075, allocations: 6.536 MB / 0.5448 GB, free: 10.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/0.3076, allocations: 32 kB / 0.5448 GB, free: 10.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007312/0.3149, allocations: 5.841 MB / 0.5505 GB, free: 4.293 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.315, allocations: 53.7 kB / 0.5506 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.945e-05/0.3151, allocations: 106.3 kB / 0.5507 GB, free: 4.141 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/0.3152, allocations: 136 kB / 0.5508 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.3172, allocations: 1.057 MB / 0.5518 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001329/0.3173, allocations: 206.4 kB / 0.552 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.3202, allocations: 0.6939 MB / 0.5527 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.3205, allocations: 299.9 kB / 0.553 GB, free: 1.758 MB / 458.7 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.002628/0.3231, allocations: 1.946 MB / 0.5549 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.3234, allocations: 270.1 kB / 0.5552 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.3238, allocations: 335.8 kB / 0.5555 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.3238, allocations: 19.98 kB / 0.5555 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3238, allocations: 0 / 0.5555 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3238, allocations: 3.984 kB / 0.5555 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.3311, allocations: 6.704 MB / 0.562 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.3311, allocations: 9.125 kB / 0.5621 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.3316, allocations: 175.7 kB / 0.5622 GB, free: 8.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.3316, allocations: 12.81 kB / 0.5622 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.3316, allocations: 31.98 kB / 0.5623 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.3316, allocations: 12 kB / 0.5623 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.3316, allocations: 11.94 kB / 0.5623 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.3337, allocations: 2.257 MB / 0.5645 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.3342, allocations: 285.8 kB / 0.5648 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3344, allocations: 24 kB / 0.5648 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.3348, allocations: 43.95 kB / 0.5648 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3349, allocations: 96.34 kB / 0.5649 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.3349, allocations: 51.97 kB / 0.565 GB, free: 5.203 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002058/0.337, allocations: 1.977 MB / 0.5669 GB, free: 3.227 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.337, allocations: 0 / 0.5669 GB, free: 3.227 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003317/0.3403, allocations: 1.001 MB / 0.5679 GB, free: 2.227 MB / 474.7 MB 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.002904/0.3432, allocations: 2.911 MB / 0.5707 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.3472, allocations: 3.43 MB / 0.5741 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.3472, allocations: 4 kB / 0.5741 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.3479, allocations: 0.8603 MB / 0.5749 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3492, allocations: 321.1 kB / 0.5752 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03679/0.386, allocations: 33.36 MB / 0.6078 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.3883, allocations: 2.462 MB / 0.6102 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002201/0.3906, allocations: 1.723 MB / 0.6119 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.3919, allocations: 1.539 MB / 0.6134 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/0.3919, allocations: 0 / 0.6134 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/0.6336, allocations: 45.5 MB / 0.6578 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/9.103, allocations: 22.8 kB / 0.6578 GB, free: 153.6 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/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: 11.371139503084123]