Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.0009511/0.0009508, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.311/1.311, 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.000738/0.000738, allocations: 98.33 kB / 271.2 MB, free: 8.25 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.3118/0.3118, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003946, allocations: 12 kB / 432.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2122/0.3145, allocations: 59.24 MB / 0.5373 GB, free: 8.176 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.3419, allocations: 14.22 MB / 0.5512 GB, free: 14.37 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01183/0.3537, allocations: 307.4 kB / 0.5514 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.3639, allocations: 3.295 MB / 0.5547 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02586/0.3898, allocations: 9.242 MB / 0.5637 GB, free: 9.152 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007557/0.3974, allocations: 1.756 MB / 0.5654 GB, free: 8.414 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03724/0.4346, allocations: 27.5 MB / 0.5923 GB, free: 2.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06161/0.4963, allocations: 42.67 MB / 0.6339 GB, free: 7.707 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/0.5043, allocations: 3.593 MB / 0.6374 GB, free: 4.102 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.5136, allocations: 5.896 MB / 0.6432 GB, free: 14.19 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002498/0.5162, allocations: 0.5234 MB / 0.6437 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.5213, allocations: 1.857 MB / 0.6455 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007629/0.529, allocations: 6.122 MB / 0.6515 GB, free: 5.668 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009343/0.5383, allocations: 6.828 MB / 0.6582 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5035/1.042, allocations: 27.62 MB / 0.6851 GB, free: 52.32 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/1.042, allocations: 0 / 0.6851 GB, free: 52.32 MB / 490.8 MB Notification: Performance of FrontEnd: time 4.158e-06/1.042, allocations: 0 / 0.6851 GB, free: 52.32 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001903/1.044, allocations: 0 / 0.6851 GB, free: 52.32 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.04322/1.087, allocations: 13.19 MB / 0.698 GB, free: 47.21 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.087, allocations: 13.47 kB / 0.698 GB, free: 47.21 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01284/1.1, allocations: 2.845 MB / 0.7008 GB, free: 47.03 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09318/1.193, allocations: 8.612 MB / 0.7092 GB, free: 43.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02426/1.218, allocations: 8.318 MB / 0.7173 GB, free: 41.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001652/1.219, allocations: 1.252 MB / 0.7186 GB, free: 41.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008101/1.227, allocations: 1.652 MB / 0.7202 GB, free: 41.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08781/1.315, allocations: 38.7 MB / 0.758 GB, free: 26.39 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00068/1.316, allocations: 117.6 kB / 0.7581 GB, free: 26.33 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005992/1.322, allocations: 0.7355 MB / 0.7588 GB, free: 26.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005177/1.327, allocations: 3.969 MB / 0.7627 GB, free: 22.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05916/1.386, allocations: 29.28 MB / 0.7913 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4133/1.8, allocations: 123.2 MB / 0.9116 GB, free: 131.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03688/1.837, allocations: 12.96 MB / 0.9243 GB, free: 131 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004723/1.841, allocations: 3.684 MB / 0.9279 GB, free: 131 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009887/1.851, allocations: 15.2 MB / 0.9427 GB, free: 118.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.212e-05/1.851, allocations: 64.84 kB / 0.9428 GB, free: 118.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 7.945e-06/1.851, allocations: 0.8438 kB / 0.9428 GB, free: 118.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.2021/2.054, allocations: 77.83 MB / 1.019 GB, free: 71.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/2.054, allocations: 209.7 kB / 1.019 GB, free: 70.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/2.068, allocations: 10.67 MB / 1.029 GB, free: 60.21 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006205/2.068, allocations: 73.7 kB / 1.029 GB, free: 60.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005252/2.074, allocations: 11.07 MB / 1.04 GB, free: 49.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/2.075, allocations: 1.356 MB / 1.042 GB, free: 47.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/2.076, allocations: 366.2 kB / 1.042 GB, free: 47.37 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008803/2.077, allocations: 1.078 MB / 1.043 GB, free: 46.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008526/2.086, allocations: 6.102 MB / 1.049 GB, free: 40.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01543/2.101, allocations: 18.59 MB / 1.067 GB, free: 15.55 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0257/2.127, allocations: 26.73 MB / 1.093 GB, free: 15.18 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004915/2.128, allocations: 128 kB / 1.093 GB, free: 15.06 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.2895/2.417, allocations: 23.51 MB / 1.116 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007328/2.418, allocations: 200.9 kB / 1.116 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001315/2.419, allocations: 444 kB / 1.117 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/2.421, allocations: 0.8375 MB / 1.118 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/2.436, allocations: 4.403 MB / 1.122 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/2.441, allocations: 3.939 MB / 1.126 GB, free: 202.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/2.454, allocations: 1.067 MB / 1.127 GB, free: 202.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003594/2.458, allocations: 1.156 MB / 1.128 GB, free: 202.5 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2306): * Single equations (assignments): 2298 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01579/2.473, allocations: 7.866 MB / 1.136 GB, free: 201 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/2.475, allocations: 0.8262 MB / 1.137 GB, free: 201 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/2.486, allocations: 6.22 MB / 1.143 GB, free: 198.5 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/2.486, allocations: 38.45 kB / 1.143 GB, free: 198.5 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/2.486, allocations: 3.906 kB / 1.143 GB, free: 198.5 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/2.486, allocations: 12.28 kB / 1.143 GB, free: 198.5 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03788/2.524, allocations: 21.35 MB / 1.164 GB, free: 190.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/2.524, allocations: 3.906 kB / 1.164 GB, free: 190.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/2.527, allocations: 0.6173 MB / 1.164 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/2.528, allocations: 234.5 kB / 1.164 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/2.528, allocations: 62.34 kB / 1.164 GB, free: 190.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/2.53, allocations: 2.533 MB / 1.167 GB, free: 188.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.53, allocations: 7.406 kB / 1.167 GB, free: 188.8 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/2.541, allocations: 10.27 MB / 1.177 GB, free: 184.7 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003238/2.544, allocations: 1.29 MB / 1.178 GB, free: 184 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/2.546, allocations: 57.06 kB / 1.178 GB, free: 184 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/2.549, allocations: 378.2 kB / 1.179 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/2.549, allocations: 173.5 kB / 1.179 GB, free: 183.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/2.55, allocations: 102.1 kB / 1.179 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.009308/2.559, allocations: 6.546 MB / 1.185 GB, free: 178.1 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.81e-07/2.559, allocations: 4 kB / 1.185 GB, free: 178.1 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0146/2.574, allocations: 2.89 MB / 1.188 GB, free: 175.2 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0125/2.586, allocations: 11.09 MB / 1.199 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.02005/2.606, allocations: 13.58 MB / 1.212 GB, free: 152.5 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.606, allocations: 448 / 1.212 GB, free: 152.5 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003569/2.61, allocations: 2.956 MB / 1.215 GB, free: 149.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/2.621, allocations: 1.414 MB / 1.216 GB, free: 148.1 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1543/2.776, allocations: 117.5 MB / 1.331 GB, free: 19.18 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2476/3.023, allocations: 10.45 MB / 1.341 GB, free: 221.2 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01072/3.034, allocations: 6.957 MB / 1.348 GB, free: 220.4 MB / 0.6043 GB Notification: Performance of SimCode: time 1.372e-06/3.034, allocations: 0 / 1.348 GB, free: 220.4 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 16.6/19.63, allocations: 306.6 MB / 1.648 GB, free: 161.1 MB / 0.6043 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor/AbsoluteSensor.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches