Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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 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 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 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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.0007971/0.0007971, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 181.4 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3255/0.3255, allocations: 43.57 MB / 315 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.000557, allocations: 12 kB / 384.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 58.87 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2246/0.3372, allocations: 25.44 MB / 469 MB, free: 34.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.3525, allocations: 6.284 MB / 475.3 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005656/0.3582, allocations: 114.5 kB / 475.4 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.3597, allocations: 464.2 kB / 475.8 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.3634, allocations: 1.514 MB / 477.3 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.3642, allocations: 241 kB / 477.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004877/0.3691, allocations: 5.133 MB / 482.7 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.3735, allocations: 3.234 MB / 485.9 MB, free: 28.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3754, allocations: 0.9399 MB / 486.9 MB, free: 28.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.3777, allocations: 1.641 MB / 488.5 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005503/0.3783, allocations: 129.7 kB / 488.7 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3795, allocations: 0.6268 MB / 489.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.3809, allocations: 1.545 MB / 490.8 MB, free: 27.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.3826, allocations: 1.867 MB / 492.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008229/0.3908, allocations: 5.99 MB / 498.7 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3909, allocations: 3.938 kB / 498.7 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3909, allocations: 0 / 498.7 MB, free: 23.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003196/0.3912, allocations: 1.062 kB / 498.7 MB, free: 23.98 MB / 382.1 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.01027/0.4015, allocations: 3.4 MB / 0.4903 GB, free: 21.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.4016, allocations: 9.5 kB / 0.4903 GB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002628/0.4042, allocations: 0.7451 MB / 0.4911 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4155, allocations: 3.102 MB / 0.4941 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.4204, allocations: 1.852 MB / 0.4959 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4207, allocations: 212.2 kB / 0.4961 GB, free: 19.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.4218, allocations: 257 kB / 0.4963 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.4424, allocations: 10.53 MB / 0.5066 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.4426, allocations: 32.72 kB / 0.5067 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.4438, allocations: 130.8 kB / 0.5068 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00434/0.4482, allocations: 2.437 MB / 0.5092 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.4665, allocations: 9.365 MB / 0.5183 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05423/0.5207, allocations: 38.95 MB / 0.5563 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/0.5269, allocations: 3.499 MB / 0.5598 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.5288, allocations: 1.274 MB / 0.561 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009817/0.5387, allocations: 5.462 MB / 0.5663 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5388, allocations: 55.11 kB / 0.5664 GB, free: 15.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 5.65e-06/0.5388, allocations: 0 / 0.5664 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007397/0.5462, allocations: 3.357 MB / 0.5697 GB, free: 12.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.5463, allocations: 170.8 kB / 0.5698 GB, free: 12.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006062/0.5523, allocations: 3.955 MB / 0.5737 GB, free: 8.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.5526, allocations: 45.69 kB / 0.5737 GB, free: 8.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00246/0.5551, allocations: 3.316 MB / 0.577 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008281/0.5559, allocations: 0.6214 MB / 0.5776 GB, free: 4.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/0.5567, allocations: 0.5673 MB / 0.5781 GB, free: 3.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5568, allocations: 305.1 kB / 0.5784 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.5598, allocations: 2 MB / 0.5804 GB, free: 1.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/0.5659, allocations: 6.303 MB / 0.5865 GB, free: 8.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5764, allocations: 9.045 MB / 0.5954 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.5766, allocations: 44 kB / 0.5954 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0161/0.5927, allocations: 7.929 MB / 0.6032 GB, free: 5.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5928, allocations: 76.25 kB / 0.6032 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.593, allocations: 152 kB / 0.6034 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.5932, allocations: 200 kB / 0.6036 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/0.5978, allocations: 1.513 MB / 0.605 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000225/0.598, allocations: 298.9 kB / 0.6053 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005371/0.6034, allocations: 0.9509 MB / 0.6063 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/0.6043, allocations: 412 kB / 0.6067 GB, free: 1.93 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004552/0.6089, allocations: 2.28 MB / 0.6089 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005687/0.6095, allocations: 323.7 kB / 0.6092 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.6103, allocations: 420.2 kB / 0.6096 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/0.6104, allocations: 32 kB / 0.6096 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6104, allocations: 7.938 kB / 0.6096 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.6104, allocations: 11.91 kB / 0.6096 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/0.6194, allocations: 5.697 MB / 0.6152 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.6195, allocations: 8 kB / 0.6152 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.6204, allocations: 215.7 kB / 0.6154 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.6204, allocations: 8 kB / 0.6154 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.6205, allocations: 28 kB / 0.6155 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.689e-05/0.6206, allocations: 19.92 kB / 0.6155 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6206, allocations: 11.88 kB / 0.6155 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.6236, allocations: 2.585 MB / 0.618 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.6243, allocations: 396.4 kB / 0.6184 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.6246, allocations: 31.98 kB / 0.6184 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/0.6256, allocations: 67.92 kB / 0.6185 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6258, allocations: 84.22 kB / 0.6186 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.6259, allocations: 55.98 kB / 0.6186 GB, free: 5.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003713/0.6296, allocations: 2.407 MB / 0.621 GB, free: 3.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6296, allocations: 0 / 0.621 GB, free: 3.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005295/0.6349, allocations: 1.133 MB / 0.6221 GB, free: 1.883 MB / 494.1 MB 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 (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.004047/0.639, allocations: 3.226 MB / 0.6252 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008391/0.6474, allocations: 4.526 MB / 0.6296 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.6475, allocations: 4 kB / 0.6296 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.6489, allocations: 0.9586 MB / 0.6306 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004877/0.6538, allocations: 350.4 kB / 0.6309 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2723/0.9262, allocations: 49.3 MB / 0.6791 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/0.9297, allocations: 3.278 MB / 0.6823 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005398/0.9351, allocations: 2.284 MB / 0.6845 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/0.9377, allocations: 1.75 MB / 0.6862 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.9377, allocations: 2.297 kB / 0.6862 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/1.018, allocations: 55.37 MB / 0.7403 GB, free: 83.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.019, allocations: 205.9 kB / 0.7405 GB, free: 83.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/4.221, allocations: 0 / 0.7405 GB, free: 83.45 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches