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.001825/0.001825, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002205/0.002205, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2338/0.2338, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.003093/0.003093, allocations: 67.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1253, allocations: 66 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01429/0.1396, allocations: 11.44 MB / 0.5665 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.1474, allocations: 2.843 MB / 0.5693 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.1491, allocations: 59.81 kB / 0.5694 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.1531, allocations: 1.354 MB / 0.5707 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.1576, allocations: 1.28 MB / 0.5719 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1581, allocations: 79.84 kB / 0.572 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005142/0.1632, allocations: 2.749 MB / 0.5747 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.1663, allocations: 1.562 MB / 0.5762 GB, free: 344 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.1686, allocations: 1.07 MB / 0.5773 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.1718, allocations: 1.647 MB / 0.5789 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006956/0.1725, allocations: 204 kB / 0.5791 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.1742, allocations: 0.4993 MB / 0.5796 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.1763, allocations: 1.464 MB / 0.581 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.1787, allocations: 1.719 MB / 0.5827 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006839/0.1855, allocations: 5.515 MB / 0.5881 GB, free: 4.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1855, allocations: 0 / 0.5881 GB, free: 4.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1855, allocations: 4 kB / 0.5881 GB, free: 4.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.1857, allocations: 0 / 0.5881 GB, free: 4.168 MB / 446.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.00757/0.1933, allocations: 3.742 MB / 0.5917 GB, free: 360 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1933, allocations: 8.031 kB / 0.5917 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2175/0.4108, allocations: 0.6847 MB / 0.5924 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4214, allocations: 2.999 MB / 0.5953 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.4244, allocations: 1.554 MB / 0.5968 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4245, allocations: 175.7 kB / 0.597 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005937/0.4251, allocations: 221.3 kB / 0.5972 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.4399, allocations: 9.713 MB / 0.6067 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-05/0.4399, allocations: 24.31 kB / 0.6067 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.4403, allocations: 113.2 kB / 0.6068 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004141/0.4444, allocations: 2.434 MB / 0.6092 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.4601, allocations: 8.812 MB / 0.6178 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/0.4961, allocations: 30.61 MB / 0.6477 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005688/0.5018, allocations: 3.179 MB / 0.6508 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.5032, allocations: 0.862 MB / 0.6517 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.5033, allocations: 12.98 kB / 0.6517 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5033, allocations: 47.5 kB / 0.6517 GB, free: 5.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.268e-06/0.5033, allocations: 0 / 0.6517 GB, free: 5.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.008466/0.5118, allocations: 3.383 MB / 0.655 GB, free: 1.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.5119, allocations: 68.41 kB / 0.6551 GB, free: 1.672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/0.5182, allocations: 3.123 MB / 0.6581 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.5185, allocations: 45.69 kB / 0.6582 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00306/0.5215, allocations: 2.779 MB / 0.6609 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009771/0.5225, allocations: 0.5892 MB / 0.6615 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.5245, allocations: 0.9883 MB / 0.6624 GB, free: 10.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5247, allocations: 305.1 kB / 0.6627 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.5274, allocations: 1.532 MB / 0.6642 GB, free: 8.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005522/0.5329, allocations: 4.455 MB / 0.6686 GB, free: 2.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009537/0.5424, allocations: 6.533 MB / 0.6749 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/0.5426, allocations: 32 kB / 0.675 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01364/0.5562, allocations: 5.849 MB / 0.6807 GB, free: 4.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.5565, allocations: 48 kB / 0.6807 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003139/0.5568, allocations: 104 kB / 0.6808 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.5571, allocations: 136 kB / 0.681 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/0.5611, allocations: 1.057 MB / 0.682 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000231/0.5614, allocations: 203.2 kB / 0.6822 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.5653, allocations: 0.6903 MB / 0.6829 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008703/0.5662, allocations: 303.9 kB / 0.6832 GB, free: 1.973 MB / 494.1 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.003863/0.5701, allocations: 1.946 MB / 0.6851 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/0.5706, allocations: 266.4 kB / 0.6853 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.5716, allocations: 333.6 kB / 0.6856 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/0.5717, allocations: 16 kB / 0.6856 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5717, allocations: 3.938 kB / 0.6856 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5717, allocations: 7.984 kB / 0.6857 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.5854, allocations: 6.878 MB / 0.6924 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.5854, allocations: 8 kB / 0.6924 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.5862, allocations: 183 kB / 0.6926 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/0.5863, allocations: 12 kB / 0.6926 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.5863, allocations: 27.98 kB / 0.6926 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.5864, allocations: 12 kB / 0.6926 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.5864, allocations: 15.88 kB / 0.6926 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.5895, allocations: 2.261 MB / 0.6948 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.5902, allocations: 366.9 kB / 0.6952 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.5907, allocations: 27.98 kB / 0.6952 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/0.5916, allocations: 47.94 kB / 0.6952 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.5918, allocations: 80.39 kB / 0.6953 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.5919, allocations: 48 kB / 0.6954 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003794/0.5957, allocations: 1.979 MB / 0.6973 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5957, allocations: 4 kB / 0.6973 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004307/0.6, allocations: 1.014 MB / 0.6983 GB, free: 2.156 MB / 0.4981 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.004298/0.6043, allocations: 2.915 MB / 0.7011 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00629/0.6105, allocations: 3.421 MB / 0.7045 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6106, allocations: 0.8125 kB / 0.7045 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.6119, allocations: 0.8629 MB / 0.7053 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.6142, allocations: 323.5 kB / 0.7056 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05929/0.6735, allocations: 33.52 MB / 0.7384 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/0.678, allocations: 3.004 MB / 0.7413 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003852/0.6818, allocations: 1.726 MB / 0.743 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/0.6845, allocations: 1.53 MB / 0.7445 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.254e-06/0.6845, allocations: 4 kB / 0.7445 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09437/0.7789, allocations: 45.91 MB / 0.7893 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.03, allocations: 7.844 kB / 0.7893 GB, free: 0.7305 MB / 0.5919 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.36443448695354]