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.001931/0.001931, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002249/0.002249, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.2237/0.2237, allocations: 44.93 MB / 358.9 MB, free: 6.043 MB / 286.1 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: 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.003299/0.003299, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3355, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.0128/0.3483, allocations: 9.925 MB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.3544, allocations: 2.726 MB / 0.5693 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3554, allocations: 63.81 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.3583, allocations: 1.308 MB / 0.5707 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.3614, allocations: 1.288 MB / 0.5719 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3617, allocations: 67.91 kB / 0.572 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.365, allocations: 2.764 MB / 0.5747 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.367, allocations: 1.623 MB / 0.5763 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.3686, allocations: 1.07 MB / 0.5773 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.3707, allocations: 1.588 MB / 0.5789 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.3712, allocations: 204 kB / 0.5791 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009704/0.3721, allocations: 407.5 kB / 0.5794 GB, free: 420 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3737, allocations: 1.46 MB / 0.5809 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.3752, allocations: 1.206 MB / 0.582 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006575/0.3817, allocations: 5.538 MB / 0.5875 GB, free: 8.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3817, allocations: 0 / 0.5875 GB, free: 8.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3817, allocations: 0 / 0.5875 GB, free: 8.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001738/0.3819, allocations: 0 / 0.5875 GB, free: 8.168 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.006723/0.3886, allocations: 3.667 MB / 0.591 GB, free: 4.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.3887, allocations: 12.03 kB / 0.591 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009931/0.3897, allocations: 0.6797 MB / 0.5917 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4, allocations: 3.005 MB / 0.5946 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/0.4041, allocations: 1.511 MB / 0.5961 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.4043, allocations: 180.6 kB / 0.5963 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/0.4048, allocations: 223.8 kB / 0.5965 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.4201, allocations: 9.706 MB / 0.606 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/0.4201, allocations: 19.81 kB / 0.606 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003215/0.4205, allocations: 107.8 kB / 0.6061 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004094/0.4245, allocations: 2.435 MB / 0.6085 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.4421, allocations: 8.792 MB / 0.6171 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04481/0.4869, allocations: 29.08 MB / 0.6455 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/0.4922, allocations: 2.26 MB / 0.6477 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.4936, allocations: 0.8555 MB / 0.6485 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.4937, allocations: 13 kB / 0.6485 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.4937, allocations: 48.12 kB / 0.6486 GB, free: 8.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 6.352e-06/0.4937, allocations: 8 kB / 0.6486 GB, free: 8.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007977/0.5017, allocations: 3.387 MB / 0.6519 GB, free: 4.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.5018, allocations: 64.34 kB / 0.6519 GB, free: 4.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/0.5068, allocations: 3.301 MB / 0.6552 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.5069, allocations: 41.7 kB / 0.6552 GB, free: 1.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/0.5092, allocations: 2.783 MB / 0.6579 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006368/0.5098, allocations: 0.5893 MB / 0.6585 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.5112, allocations: 0.9806 MB / 0.6595 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5113, allocations: 301.1 kB / 0.6597 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5137, allocations: 1.524 MB / 0.6612 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/0.5186, allocations: 4.459 MB / 0.6656 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008745/0.5273, allocations: 6.535 MB / 0.672 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.5275, allocations: 32 kB / 0.672 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01179/0.5392, allocations: 5.842 MB / 0.6777 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/0.5393, allocations: 52.06 kB / 0.6778 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/0.5395, allocations: 104 kB / 0.6779 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.5396, allocations: 136 kB / 0.678 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.5434, allocations: 1.06 MB / 0.679 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.5437, allocations: 199.2 kB / 0.6792 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/0.5478, allocations: 0.7017 MB / 0.6799 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.5489, allocations: 296 kB / 0.6802 GB, free: 4.781 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.004002/0.5529, allocations: 1.95 MB / 0.6821 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/0.5535, allocations: 270.1 kB / 0.6823 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.5542, allocations: 327.8 kB / 0.6827 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.5542, allocations: 19.94 kB / 0.6827 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.5543, allocations: 0 / 0.6827 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5543, allocations: 3.984 kB / 0.6827 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5678, allocations: 6.663 MB / 0.6892 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.5678, allocations: 8.188 kB / 0.6892 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.5686, allocations: 183.7 kB / 0.6894 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/0.5686, allocations: 15.94 kB / 0.6894 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.5687, allocations: 24 kB / 0.6894 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.009e-05/0.5687, allocations: 15.94 kB / 0.6894 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.5687, allocations: 7.938 kB / 0.6894 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.5722, allocations: 2.273 MB / 0.6916 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/0.5731, allocations: 293.7 kB / 0.6919 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.5734, allocations: 39.84 kB / 0.692 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.5741, allocations: 47.95 kB / 0.692 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.5743, allocations: 76.42 kB / 0.6921 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.5744, allocations: 55.92 kB / 0.6921 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00364/0.5781, allocations: 1.975 MB / 0.6941 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5781, allocations: 0 / 0.6941 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00449/0.5826, allocations: 1.005 MB / 0.695 GB, free: 5.27 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.00395/0.5865, allocations: 2.915 MB / 0.6979 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006281/0.5928, allocations: 3.429 MB / 0.7012 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.5928, allocations: 4 kB / 0.7012 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.5941, allocations: 0.8617 MB / 0.7021 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.596, allocations: 336.3 kB / 0.7024 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/0.9334, allocations: 33.5 MB / 0.7351 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/0.9364, allocations: 2.465 MB / 0.7375 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003432/0.9399, allocations: 1.721 MB / 0.7392 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/0.9419, allocations: 1.536 MB / 0.7407 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/0.9419, allocations: 0 / 0.7407 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0771/1.019, allocations: 45.51 MB / 0.7852 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.27, allocations: 10.14 kB / 0.7852 GB, free: 107.6 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.522852594964206]