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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 183.9 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.89 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3597, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01199/0.3718, allocations: 11.43 MB / 0.5296 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.3783, allocations: 2.812 MB / 0.5323 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.3799, allocations: 58.81 kB / 0.5324 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.3827, allocations: 1.318 MB / 0.5337 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.386, allocations: 1.242 MB / 0.5349 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.3863, allocations: 77.47 kB / 0.5349 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.3901, allocations: 2.795 MB / 0.5377 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.3926, allocations: 1.768 MB / 0.5394 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.395, allocations: 1.066 MB / 0.5404 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.3969, allocations: 1.489 MB / 0.5419 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.3973, allocations: 205.6 kB / 0.5421 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.3984, allocations: 498.9 kB / 0.5426 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.3999, allocations: 1.457 MB / 0.544 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.4015, allocations: 1.738 MB / 0.5457 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.407, allocations: 5.545 MB / 0.5511 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.407, allocations: 0 / 0.5511 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.407, allocations: 0 / 0.5511 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.4072, allocations: 4 kB / 0.5511 GB, free: 10.54 MB / 414.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.005416/0.4126, allocations: 3.671 MB / 0.5547 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4126, allocations: 11.97 kB / 0.5547 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007476/0.4134, allocations: 0.6875 MB / 0.5554 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4235, allocations: 2.971 MB / 0.5583 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.4271, allocations: 1.561 MB / 0.5598 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4272, allocations: 172.7 kB / 0.56 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.4277, allocations: 227.8 kB / 0.5602 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.44, allocations: 9.702 MB / 0.5697 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.4401, allocations: 19.81 kB / 0.5697 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.4404, allocations: 107.8 kB / 0.5698 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.444, allocations: 2.439 MB / 0.5722 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.4651, allocations: 8.816 MB / 0.5808 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04604/0.5112, allocations: 30.52 MB / 0.6106 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005834/0.5171, allocations: 3.274 MB / 0.6138 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.5185, allocations: 0.9219 MB / 0.6147 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.5186, allocations: 16.98 kB / 0.6147 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5186, allocations: 39.56 kB / 0.6147 GB, free: 7.734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.799e-06/0.5187, allocations: 0 / 0.6147 GB, free: 7.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.007461/0.5261, allocations: 3.374 MB / 0.618 GB, free: 4.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5262, allocations: 72.34 kB / 0.6181 GB, free: 4.266 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.5315, allocations: 3.115 MB / 0.6211 GB, free: 1.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5316, allocations: 41.7 kB / 0.6212 GB, free: 1.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.534, allocations: 2.685 MB / 0.6238 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.5346, allocations: 0.5592 MB / 0.6243 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.5358, allocations: 0.9758 MB / 0.6253 GB, free: 12.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.536, allocations: 305.1 kB / 0.6256 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.5381, allocations: 1.532 MB / 0.6271 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/0.5425, allocations: 4.447 MB / 0.6314 GB, free: 5.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/0.5498, allocations: 6.539 MB / 0.6378 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.145e-05/0.5499, allocations: 32 kB / 0.6378 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008708/0.5586, allocations: 5.824 MB / 0.6435 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.5587, allocations: 48 kB / 0.6436 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/0.5588, allocations: 104 kB / 0.6437 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.5589, allocations: 136 kB / 0.6438 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/0.5618, allocations: 1.06 MB / 0.6448 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001492/0.562, allocations: 207.2 kB / 0.645 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.5648, allocations: 0.6843 MB / 0.6457 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/0.5651, allocations: 296 kB / 0.646 GB, free: 4.68 MB / 0.4981 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.002486/0.5676, allocations: 1.946 MB / 0.6479 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.5679, allocations: 252.6 kB / 0.6481 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.5685, allocations: 327.8 kB / 0.6484 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.5685, allocations: 19.94 kB / 0.6485 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5685, allocations: 4 kB / 0.6485 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5685, allocations: 7.969 kB / 0.6485 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.579, allocations: 6.87 MB / 0.6552 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.5791, allocations: 8.859 kB / 0.6552 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.5798, allocations: 175.7 kB / 0.6554 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.5798, allocations: 16 kB / 0.6554 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.5799, allocations: 35.92 kB / 0.6554 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.5799, allocations: 20 kB / 0.6554 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.58, allocations: 4 kB / 0.6554 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.5827, allocations: 2.26 MB / 0.6576 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/0.5834, allocations: 357.2 kB / 0.658 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.5836, allocations: 31.88 kB / 0.658 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.5843, allocations: 43.95 kB / 0.658 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.5845, allocations: 88.38 kB / 0.6581 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.5846, allocations: 47.98 kB / 0.6582 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002786/0.5873, allocations: 1.983 MB / 0.6601 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5874, allocations: 4 kB / 0.6601 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003377/0.5907, allocations: 1.008 MB / 0.6611 GB, free: 4.887 MB / 0.5137 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.003063/0.5938, allocations: 2.909 MB / 0.6639 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005633/0.5995, allocations: 3.578 MB / 0.6674 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5995, allocations: 0 / 0.6674 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6006, allocations: 0.9175 MB / 0.6683 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.6022, allocations: 323 kB / 0.6686 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/0.644, allocations: 33.38 MB / 0.7012 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.6473, allocations: 3.012 MB / 0.7042 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003421/0.6507, allocations: 1.73 MB / 0.7059 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/0.6527, allocations: 1.534 MB / 0.7074 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.6527, allocations: 0 / 0.7074 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/0.966, allocations: 46.34 MB / 0.7526 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.47, allocations: 8 kB / 0.7526 GB, free: 176.2 MB / 0.5762 GB (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 --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) 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) Reference file matches