Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007323/0.0007322, allocations: 82.41 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3084/0.3084, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 8 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.095, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1928/0.2879, allocations: 23.7 MB / 0.5026 GB, free: 33.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2997, allocations: 5.95 MB / 0.5084 GB, free: 29.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004552/0.3043, allocations: 111.3 kB / 0.5085 GB, free: 29.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.3074, allocations: 1.122 MB / 0.5096 GB, free: 29.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009365/0.3168, allocations: 3.392 MB / 0.5129 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3182, allocations: 231.6 kB / 0.5131 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004726/0.3229, allocations: 4.04 MB / 0.517 GB, free: 26.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.327, allocations: 3.132 MB / 0.5201 GB, free: 25.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.3287, allocations: 1.043 MB / 0.5211 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.3307, allocations: 1.6 MB / 0.5227 GB, free: 24.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006592/0.3313, allocations: 129.5 kB / 0.5228 GB, free: 24.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3328, allocations: 0.6279 MB / 0.5234 GB, free: 24.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3341, allocations: 1.49 MB / 0.5249 GB, free: 23.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.3354, allocations: 1.757 MB / 0.5266 GB, free: 22.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.3397, allocations: 4.964 MB / 0.5314 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3397, allocations: 0 / 0.5314 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3397, allocations: 0 / 0.5314 GB, free: 21.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001631/0.3399, allocations: 7.062 kB / 0.5314 GB, free: 21.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.005296/0.3452, allocations: 3.406 MB / 0.5348 GB, free: 19.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3452, allocations: 9.156 kB / 0.5348 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009126/0.3462, allocations: 0.7459 MB / 0.5355 GB, free: 18.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00926/0.3554, allocations: 3.102 MB / 0.5385 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.3594, allocations: 1.854 MB / 0.5403 GB, free: 16.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3595, allocations: 208.8 kB / 0.5405 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/0.3601, allocations: 256.8 kB / 0.5408 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.3766, allocations: 10.5 MB / 0.551 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.3767, allocations: 29.25 kB / 0.5511 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.3771, allocations: 131.2 kB / 0.5512 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.3807, allocations: 2.437 MB / 0.5536 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.3956, allocations: 9.322 MB / 0.5627 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04838/0.444, allocations: 38.96 MB / 0.6007 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.4496, allocations: 3.492 MB / 0.6041 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.4515, allocations: 1.275 MB / 0.6054 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008844/0.4604, allocations: 5.448 MB / 0.6107 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4604, allocations: 43.12 kB / 0.6107 GB, free: 13.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.977e-06/0.4604, allocations: 0 / 0.6107 GB, free: 13.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.006379/0.4668, allocations: 3.351 MB / 0.614 GB, free: 9.867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.467, allocations: 174.7 kB / 0.6142 GB, free: 9.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/0.473, allocations: 3.94 MB / 0.618 GB, free: 5.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.4731, allocations: 41.7 kB / 0.6181 GB, free: 5.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.4754, allocations: 3.316 MB / 0.6213 GB, free: 2.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.476, allocations: 0.6253 MB / 0.6219 GB, free: 1.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/0.4764, allocations: 124 kB / 0.622 GB, free: 1.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000456/0.4769, allocations: 0.5911 MB / 0.6226 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.4798, allocations: 1.977 MB / 0.6245 GB, free: 14.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.4854, allocations: 6.288 MB / 0.6307 GB, free: 6.547 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009354/0.4947, allocations: 9.017 MB / 0.6395 GB, free: 11.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00017/0.4949, allocations: 47.94 kB / 0.6395 GB, free: 11.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01459/0.5095, allocations: 7.882 MB / 0.6472 GB, free: 3.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.5098, allocations: 72 kB / 0.6473 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00035/0.5102, allocations: 152 kB / 0.6474 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.5105, allocations: 200 kB / 0.6476 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/0.5161, allocations: 1.513 MB / 0.6491 GB, free: 1.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.5166, allocations: 294.9 kB / 0.6494 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/0.5222, allocations: 0.9511 MB / 0.6503 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/0.5233, allocations: 412 kB / 0.6507 GB, free: 15.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 811 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004574/0.5279, allocations: 2.284 MB / 0.6529 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006672/0.5286, allocations: 315.8 kB / 0.6533 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.5296, allocations: 420.2 kB / 0.6537 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.656e-05/0.5297, allocations: 39.98 kB / 0.6537 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.5297, allocations: 0 / 0.6537 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.5298, allocations: 11.92 kB / 0.6537 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.541, allocations: 5.692 MB / 0.6593 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.5411, allocations: 4 kB / 0.6593 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.5421, allocations: 211.7 kB / 0.6595 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.5422, allocations: 8 kB / 0.6595 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5423, allocations: 35.97 kB / 0.6595 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.5423, allocations: 16.25 kB / 0.6595 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.5423, allocations: 11.94 kB / 0.6595 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.5454, allocations: 2.57 MB / 0.662 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/0.5463, allocations: 404.4 kB / 0.6624 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000591/0.5469, allocations: 27.98 kB / 0.6625 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.5481, allocations: 71.91 kB / 0.6625 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.5484, allocations: 88.22 kB / 0.6626 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.5485, allocations: 44 kB / 0.6627 GB, free: 3.371 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004399/0.5529, allocations: 2.395 MB / 0.665 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.553, allocations: 0 / 0.665 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005864/0.5588, allocations: 1.129 MB / 0.6661 GB, free: 15.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004668/0.5636, allocations: 3.23 MB / 0.6692 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008212/0.5718, allocations: 4.494 MB / 0.6736 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.5719, allocations: 1.812 kB / 0.6736 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.5733, allocations: 0.9606 MB / 0.6746 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/0.5791, allocations: 343.7 kB / 0.6749 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2675/0.8466, allocations: 31.14 MB / 0.7053 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004475/0.8511, allocations: 3.283 MB / 0.7085 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002771/0.854, allocations: 1.808 MB / 0.7103 GB, free: 136 MB / 0.4948 GB Notification: Performance of SimCode: time 1.873e-06/0.854, allocations: 4 kB / 0.7103 GB, free: 136 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.71/6.564, allocations: 69.54 MB / 0.7782 GB, free: 88.92 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches