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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 118.1 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.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.2289/0.2289, allocations: 44.92 MB / 349.6 MB, free: 1.758 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001903/0.001903, allocations: 67.27 kB / 491.8 MB, free: 30.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 64.26 MB / 0.543 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01322/0.1301, allocations: 11.48 MB / 0.5542 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.1364, allocations: 2.819 MB / 0.557 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.1377, allocations: 59.88 kB / 0.557 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.1404, allocations: 1.343 MB / 0.5583 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.1439, allocations: 1.288 MB / 0.5596 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1443, allocations: 75.84 kB / 0.5597 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.148, allocations: 2.788 MB / 0.5624 GB, free: 220 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.1503, allocations: 1.558 MB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.1519, allocations: 1.07 MB / 0.5649 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.1545, allocations: 1.647 MB / 0.5666 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006643/0.1552, allocations: 204 kB / 0.5668 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.1566, allocations: 0.5032 MB / 0.5672 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.1583, allocations: 1.491 MB / 0.5687 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.1603, allocations: 1.742 MB / 0.5704 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005832/0.1661, allocations: 5.557 MB / 0.5758 GB, free: 2.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.1661, allocations: 11.98 kB / 0.5758 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1661, allocations: 0 / 0.5758 GB, free: 2.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.916e-05/0.1662, allocations: 0 / 0.5758 GB, free: 2.348 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.005314/0.1715, allocations: 3.769 MB / 0.5795 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1716, allocations: 12.03 kB / 0.5795 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007894/0.1724, allocations: 0.6836 MB / 0.5802 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/0.1821, allocations: 3.001 MB / 0.5831 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.186, allocations: 1.569 MB / 0.5847 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1862, allocations: 180.6 kB / 0.5848 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.1867, allocations: 223.8 kB / 0.585 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.2017, allocations: 9.694 MB / 0.5945 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/0.2018, allocations: 23.75 kB / 0.5945 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.2021, allocations: 107.8 kB / 0.5946 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/0.2058, allocations: 2.439 MB / 0.597 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.2221, allocations: 8.816 MB / 0.6056 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2632/0.4853, allocations: 30.6 MB / 0.6355 GB, free: 35.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.4897, allocations: 3.185 MB / 0.6386 GB, free: 33.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4907, allocations: 0.8523 MB / 0.6395 GB, free: 33.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.4908, allocations: 19.67 kB / 0.6395 GB, free: 33.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4908, allocations: 46.34 kB / 0.6395 GB, free: 33.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.326e-06/0.4908, allocations: 1.875 kB / 0.6395 GB, free: 33.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.006435/0.4973, allocations: 3.38 MB / 0.6428 GB, free: 32.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4973, allocations: 60.34 kB / 0.6429 GB, free: 32.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.5005, allocations: 3.136 MB / 0.6459 GB, free: 31.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.5006, allocations: 45.12 kB / 0.646 GB, free: 31.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009872/0.5015, allocations: 2.788 MB / 0.6487 GB, free: 29.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5018, allocations: 0.588 MB / 0.6493 GB, free: 28.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008197/0.5027, allocations: 0.984 MB / 0.6502 GB, free: 28.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.5027, allocations: 301.1 kB / 0.6505 GB, free: 27.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.5042, allocations: 1.533 MB / 0.652 GB, free: 27.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.5065, allocations: 4.45 MB / 0.6564 GB, free: 22.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004697/0.5112, allocations: 6.543 MB / 0.6628 GB, free: 15.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/0.5113, allocations: 28 kB / 0.6628 GB, free: 15.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007391/0.5187, allocations: 5.837 MB / 0.6685 GB, free: 9.652 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.5188, allocations: 48 kB / 0.6685 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/0.5188, allocations: 104.9 kB / 0.6686 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.894e-05/0.5189, allocations: 136.9 kB / 0.6688 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.5214, allocations: 1.061 MB / 0.6698 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.455e-05/0.5215, allocations: 207.2 kB / 0.67 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.524, allocations: 0.7039 MB / 0.6707 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.5242, allocations: 288 kB / 0.671 GB, free: 7.117 MB / 462.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.002012/0.5262, allocations: 1.954 MB / 0.6729 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.5265, allocations: 270.2 kB / 0.6731 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.527, allocations: 331.8 kB / 0.6734 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.527, allocations: 16 kB / 0.6735 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.527, allocations: 7.625 kB / 0.6735 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.527, allocations: 7.969 kB / 0.6735 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009553/0.5366, allocations: 6.88 MB / 0.6802 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5366, allocations: 8 kB / 0.6802 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.5373, allocations: 173.2 kB / 0.6804 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.5373, allocations: 8 kB / 0.6804 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.5374, allocations: 34.48 kB / 0.6804 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.5374, allocations: 12 kB / 0.6804 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5374, allocations: 11.94 kB / 0.6804 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.5404, allocations: 2.277 MB / 0.6826 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.5411, allocations: 362.9 kB / 0.683 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.5414, allocations: 27.91 kB / 0.683 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.5421, allocations: 43.95 kB / 0.6831 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5423, allocations: 84.38 kB / 0.6831 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.5424, allocations: 48 kB / 0.6832 GB, free: 10.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002883/0.5453, allocations: 1.983 MB / 0.6851 GB, free: 8.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5453, allocations: 3.938 kB / 0.6851 GB, free: 8.336 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003776/0.549, allocations: 1.028 MB / 0.6861 GB, free: 7.305 MB / 478.1 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.003548/0.5526, allocations: 2.915 MB / 0.689 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005635/0.5582, allocations: 3.422 MB / 0.6923 GB, free: 0.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.5582, allocations: 4 kB / 0.6923 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.5594, allocations: 0.8564 MB / 0.6932 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.5612, allocations: 344.2 kB / 0.6935 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05134/0.6125, allocations: 33.53 MB / 0.7262 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00399/0.6165, allocations: 3.012 MB / 0.7292 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003803/0.6203, allocations: 1.722 MB / 0.7309 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/0.6226, allocations: 1.538 MB / 0.7324 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of SimCode: time 1.342e-06/0.6226, allocations: 0 / 0.7324 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0912/0.7138, allocations: 45.99 MB / 0.7773 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.64, allocations: 3.234 kB / 0.7773 GB, free: 5.75 MB / 0.5606 GB " [Timeout remaining time 644] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.993437755852938]