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.001782/0.001782, allocations: 113 kB / 18.49 MB, free: 4.539 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.002138/0.002138, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.564/1.564, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.2256/0.2256, allocations: 44.91 MB / 355.8 MB, free: 12.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",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.002282/0.002282, allocations: 67.89 kB / 0.4885 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01444/0.1463, allocations: 11.44 MB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.1535, allocations: 2.85 MB / 0.5664 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.1558, allocations: 67.75 kB / 0.5664 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.1592, allocations: 1.351 MB / 0.5678 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.1631, allocations: 1.272 MB / 0.569 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.1637, allocations: 79.84 kB / 0.5691 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004677/0.1683, allocations: 2.768 MB / 0.5718 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.1713, allocations: 1.554 MB / 0.5733 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.1736, allocations: 1.074 MB / 0.5744 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.1764, allocations: 1.639 MB / 0.576 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008804/0.1772, allocations: 208 kB / 0.5762 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.1789, allocations: 0.5032 MB / 0.5766 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.1814, allocations: 1.456 MB / 0.5781 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.1845, allocations: 1.727 MB / 0.5798 GB, free: 14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.1923, allocations: 5.507 MB / 0.5851 GB, free: 8.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1923, allocations: 0 / 0.5851 GB, free: 8.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1923, allocations: 0 / 0.5851 GB, free: 8.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.1926, allocations: 4 kB / 0.5851 GB, free: 8.469 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.007407/0.2, allocations: 3.738 MB / 0.5888 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2, allocations: 12.03 kB / 0.5888 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001044/0.2001, allocations: 88.62 kB / 0.5889 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000965/0.2011, allocations: 0.6797 MB / 0.5895 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.2117, allocations: 3.005 MB / 0.5925 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2389/0.4506, allocations: 1.558 MB / 0.594 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.4508, allocations: 175.8 kB / 0.5942 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005838/0.4514, allocations: 218.9 kB / 0.5944 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.4663, allocations: 9.706 MB / 0.6039 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.4664, allocations: 24.19 kB / 0.6039 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.4667, allocations: 112.9 kB / 0.604 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004183/0.4709, allocations: 2.432 MB / 0.6064 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.4872, allocations: 8.813 MB / 0.615 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03186/0.5191, allocations: 30.61 MB / 0.6449 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.5246, allocations: 3.18 MB / 0.648 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.5259, allocations: 0.8571 MB / 0.6488 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.5259, allocations: 20.97 kB / 0.6488 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.526, allocations: 39.56 kB / 0.6489 GB, free: 11.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.526, allocations: 0 / 0.6489 GB, free: 11.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.007791/0.5338, allocations: 3.391 MB / 0.6522 GB, free: 8.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.5339, allocations: 60.41 kB / 0.6522 GB, free: 8.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.5385, allocations: 3.126 MB / 0.6553 GB, free: 4.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5387, allocations: 41.7 kB / 0.6553 GB, free: 4.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.5409, allocations: 2.795 MB / 0.6581 GB, free: 2.332 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007406/0.5416, allocations: 0.5854 MB / 0.6586 GB, free: 1.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.543, allocations: 0.9767 MB / 0.6596 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5431, allocations: 301.1 kB / 0.6599 GB, free: 468 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.5455, allocations: 1.534 MB / 0.6614 GB, free: 14.92 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/0.5504, allocations: 4.451 MB / 0.6657 GB, free: 9.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/0.5589, allocations: 6.541 MB / 0.6721 GB, free: 1.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.559e-05/0.559, allocations: 32 kB / 0.6721 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01095/0.5699, allocations: 5.849 MB / 0.6778 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.57, allocations: 50.19 kB / 0.6779 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.5701, allocations: 104 kB / 0.678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.5703, allocations: 136 kB / 0.6781 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/0.5734, allocations: 1.057 MB / 0.6791 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001799/0.5736, allocations: 203.2 kB / 0.6793 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/0.5768, allocations: 0.7059 MB / 0.68 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.5772, allocations: 288 kB / 0.6803 GB, free: 8.602 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.003171/0.5804, allocations: 1.954 MB / 0.6822 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.5809, allocations: 266.2 kB / 0.6825 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.5816, allocations: 327.8 kB / 0.6828 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.5817, allocations: 16 kB / 0.6828 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.5817, allocations: 4 kB / 0.6828 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5817, allocations: 7.969 kB / 0.6828 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.594, allocations: 6.874 MB / 0.6895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.594, allocations: 12.86 kB / 0.6895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.5948, allocations: 179.2 kB / 0.6897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.5948, allocations: 19.98 kB / 0.6897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.5949, allocations: 31.98 kB / 0.6898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/0.595, allocations: 15.92 kB / 0.6898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.595, allocations: 11.94 kB / 0.6898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.5987, allocations: 2.261 MB / 0.692 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/0.5995, allocations: 362.9 kB / 0.6923 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005215/0.6, allocations: 24 kB / 0.6924 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6011, allocations: 47.94 kB / 0.6924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.6012, allocations: 92.31 kB / 0.6925 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6014, allocations: 44.69 kB / 0.6925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004108/0.6055, allocations: 1.983 MB / 0.6945 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6055, allocations: 4 kB / 0.6945 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004352/0.6098, allocations: 0.9971 MB / 0.6954 GB, free: 8.785 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.004077/0.6139, allocations: 2.922 MB / 0.6983 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006189/0.6201, allocations: 3.422 MB / 0.7016 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.525e-06/0.6201, allocations: 0 / 0.7016 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.6214, allocations: 0.8589 MB / 0.7025 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.6237, allocations: 331.7 kB / 0.7028 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05953/0.6832, allocations: 33.51 MB / 0.7355 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/0.6882, allocations: 3.016 MB / 0.7385 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004591/0.6928, allocations: 1.722 MB / 0.7401 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00335/0.6961, allocations: 1.534 MB / 0.7416 GB, free: 5.035 MB / 0.545 GB Notification: Performance of SimCode: time 1.492e-06/0.6961, allocations: 0 / 0.7416 GB, free: 5.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09447/0.7906, allocations: 45.95 MB / 0.7865 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.39, allocations: 19.78 kB / 0.7865 GB, free: 7.309 MB / 0.5919 GB " [Timeout remaining time 643] (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: 20.188017950975336]