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.001716/0.001716, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002197/0.002197, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2526/0.2526, allocations: 46.93 MB / 361.6 MB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 66.03 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01399/0.3755, allocations: 11.45 MB / 0.5726 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.3824, allocations: 2.862 MB / 0.5754 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.3841, allocations: 63.81 kB / 0.5754 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.3872, allocations: 1.362 MB / 0.5768 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.3903, allocations: 1.284 MB / 0.578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.3907, allocations: 75.84 kB / 0.5781 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.3948, allocations: 2.761 MB / 0.5808 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.3973, allocations: 1.623 MB / 0.5824 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.3992, allocations: 1.082 MB / 0.5834 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.4018, allocations: 1.639 MB / 0.585 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005629/0.4023, allocations: 204 kB / 0.5852 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.4036, allocations: 0.511 MB / 0.5857 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.4052, allocations: 1.476 MB / 0.5872 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.4071, allocations: 1.715 MB / 0.5889 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007495/0.4146, allocations: 5.515 MB / 0.5942 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4146, allocations: 0 / 0.5942 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4146, allocations: 0 / 0.5942 GB, free: 2.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001734/0.4147, allocations: 0 / 0.5942 GB, free: 2.668 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.008052/0.4228, allocations: 3.659 MB / 0.5978 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4228, allocations: 12.03 kB / 0.5978 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001263/0.423, allocations: 88.64 kB / 0.5979 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.424, allocations: 0.6836 MB / 0.5986 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4347, allocations: 3.001 MB / 0.6015 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.4387, allocations: 1.496 MB / 0.603 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4389, allocations: 184.3 kB / 0.6031 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/0.4395, allocations: 223.8 kB / 0.6034 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.4544, allocations: 9.698 MB / 0.6128 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/0.4544, allocations: 23.8 kB / 0.6129 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.4548, allocations: 103.8 kB / 0.6129 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004376/0.4592, allocations: 2.439 MB / 0.6153 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.477, allocations: 8.814 MB / 0.6239 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04651/0.5235, allocations: 30.5 MB / 0.6537 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/0.5288, allocations: 2.271 MB / 0.6559 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.5302, allocations: 0.8555 MB / 0.6568 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.5303, allocations: 16.98 kB / 0.6568 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5303, allocations: 39.56 kB / 0.6568 GB, free: 1.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.657e-06/0.5303, allocations: 0 / 0.6568 GB, free: 1.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.00822/0.5385, allocations: 3.383 MB / 0.6601 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.5386, allocations: 64.5 kB / 0.6602 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007155/0.5457, allocations: 3.135 MB / 0.6633 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003452/0.5461, allocations: 41.69 kB / 0.6633 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003218/0.5493, allocations: 2.791 MB / 0.666 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009743/0.5503, allocations: 0.5853 MB / 0.6666 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/0.5525, allocations: 0.9845 MB / 0.6676 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5526, allocations: 301.1 kB / 0.6678 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/0.5558, allocations: 1.528 MB / 0.6693 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006084/0.5619, allocations: 4.447 MB / 0.6737 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009219/0.5711, allocations: 6.543 MB / 0.6801 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.5712, allocations: 32 kB / 0.6801 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01215/0.5834, allocations: 5.842 MB / 0.6858 GB, free: 484 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.5835, allocations: 52.03 kB / 0.6859 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.5837, allocations: 108 kB / 0.686 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.5839, allocations: 143.9 kB / 0.6861 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.5874, allocations: 1.057 MB / 0.6871 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002113/0.5876, allocations: 203.2 kB / 0.6873 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.5915, allocations: 0.69 MB / 0.688 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007625/0.5923, allocations: 296 kB / 0.6883 GB, free: 13.93 MB / 0.5294 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.003671/0.5959, allocations: 1.958 MB / 0.6902 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/0.5966, allocations: 274.1 kB / 0.6905 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.5975, allocations: 323.8 kB / 0.6908 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.605e-05/0.5975, allocations: 23.94 kB / 0.6908 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5975, allocations: 0 / 0.6908 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.5976, allocations: 3.984 kB / 0.6908 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.6117, allocations: 6.857 MB / 0.6975 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.6117, allocations: 4 kB / 0.6975 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.6125, allocations: 179.7 kB / 0.6977 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/0.6125, allocations: 11.94 kB / 0.6977 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.6126, allocations: 31.98 kB / 0.6977 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.6126, allocations: 16.53 kB / 0.6977 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.6126, allocations: 8 kB / 0.6977 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.6158, allocations: 2.269 MB / 0.6999 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/0.6166, allocations: 285.8 kB / 0.7002 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/0.6172, allocations: 27.94 kB / 0.7002 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6182, allocations: 47.94 kB / 0.7003 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6184, allocations: 88.34 kB / 0.7004 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.6185, allocations: 44 kB / 0.7004 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003812/0.6223, allocations: 1.983 MB / 0.7023 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6223, allocations: 0 / 0.7023 GB, free: 15.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004428/0.6267, allocations: 1.005 MB / 0.7033 GB, free: 14.24 MB / 0.545 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.004092/0.6308, allocations: 2.922 MB / 0.7062 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00634/0.6371, allocations: 3.425 MB / 0.7095 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6372, allocations: 1.938 kB / 0.7095 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.6386, allocations: 0.8638 MB / 0.7104 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.6409, allocations: 328.1 kB / 0.7107 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3375/0.9784, allocations: 33.52 MB / 0.7434 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/0.9813, allocations: 3.006 MB / 0.7464 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003132/0.9845, allocations: 1.716 MB / 0.748 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.9862, allocations: 1.544 MB / 0.7495 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.9862, allocations: 0 / 0.7495 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07972/1.066, allocations: 49.95 MB / 0.7983 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/20.05, allocations: 3.938 kB / 0.7983 GB, free: 96.86 MB / 0.5606 GB " [Timeout remaining time 640] (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: 23.842343212047126]