Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.00201/0.00201, allocations: 100 kB / 17.63 MB, free: 5.523 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.001993/0.001993, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2127/0.2127, allocations: 44.18 MB / 336.6 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.28 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02432/0.1455, allocations: 23.19 MB / 492.5 MB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.1638, allocations: 8.01 MB / 0.4888 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007172/0.171, allocations: 199.6 kB / 0.489 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2667/0.4378, allocations: 22.25 MB / 0.5107 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.4483, allocations: 3.598 MB / 0.5143 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009002/0.4573, allocations: 4.04 MB / 0.5182 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01884/0.4762, allocations: 9.801 MB / 0.5278 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05298/0.5292, allocations: 32.32 MB / 0.5593 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/0.5431, allocations: 6.998 MB / 0.5662 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.5565, allocations: 8.759 MB / 0.5747 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006861/0.5634, allocations: 2.234 MB / 0.5769 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.5739, allocations: 3.478 MB / 0.5803 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01714/0.5911, allocations: 8.413 MB / 0.5885 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02362/0.6148, allocations: 9.804 MB / 0.5981 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04651/0.6613, allocations: 32.69 MB / 0.63 GB, free: 12.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6614, allocations: 0 / 0.63 GB, free: 12.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6614, allocations: 0 / 0.63 GB, free: 12.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001396/0.6628, allocations: 4 kB / 0.63 GB, free: 12.68 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5665 * Number of variables: 5665 Notification: Performance of Generate backend data structure: time 0.05735/0.7202, allocations: 17.12 MB / 0.6467 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.7203, allocations: 15.97 kB / 0.6468 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01156/0.7318, allocations: 2.821 MB / 0.6495 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09914/0.831, allocations: 8.385 MB / 0.6577 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02304/0.8541, allocations: 8.252 MB / 0.6658 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001694/0.8558, allocations: 1.251 MB / 0.667 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007112/0.863, allocations: 1.647 MB / 0.6686 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5799/1.443, allocations: 36.68 MB / 0.7044 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001208/1.444, allocations: 118.9 kB / 0.7045 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005885/1.45, allocations: 0.7375 MB / 0.7052 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00832/1.458, allocations: 3.925 MB / 0.7091 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06474/1.523, allocations: 27.37 MB / 0.7358 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1335/1.657, allocations: 123.7 MB / 0.8566 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02246/1.679, allocations: 8.286 MB / 0.8647 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004293/1.684, allocations: 4.073 MB / 0.8687 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/1.694, allocations: 14.68 MB / 0.883 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/1.694, allocations: 76.56 kB / 0.8831 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=277): time 6.102e-06/1.694, allocations: 0 / 0.8831 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=338): time 0.6284/2.322, allocations: 55.8 MB / 0.9376 GB, free: 190.1 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.322, allocations: 222 kB / 0.9378 GB, free: 189.9 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02249/2.345, allocations: 10.69 MB / 0.9482 GB, free: 185.8 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0008334/2.346, allocations: 80.39 kB / 0.9483 GB, free: 185.7 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.007187/2.353, allocations: 10.96 MB / 0.959 GB, free: 177.4 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/2.355, allocations: 1.451 MB / 0.9604 GB, free: 176.4 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005873/2.361, allocations: 3.832 MB / 0.9642 GB, free: 174.5 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/2.361, allocations: 308.3 kB / 0.9645 GB, free: 174.2 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008172/2.369, allocations: 6.513 MB / 0.9708 GB, free: 171.8 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/2.383, allocations: 18.86 MB / 0.9892 GB, free: 152.5 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02446/2.407, allocations: 27.39 MB / 1.016 GB, free: 128.1 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004676/2.408, allocations: 126.2 kB / 1.016 GB, free: 128 MB / 0.5764 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.03872/2.446, allocations: 24.94 MB / 1.04 GB, free: 105.5 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/2.447, allocations: 196 kB / 1.041 GB, free: 105.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004686/2.447, allocations: 444 kB / 1.041 GB, free: 104.9 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/2.45, allocations: 1.539 MB / 1.043 GB, free: 103.3 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/2.463, allocations: 4.347 MB / 1.047 GB, free: 98.97 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/2.47, allocations: 7.929 MB / 1.055 GB, free: 90.91 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01415/2.485, allocations: 1.046 MB / 1.056 GB, free: 89.86 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003794/2.488, allocations: 1.152 MB / 1.057 GB, free: 88.71 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2012 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.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],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[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 (2299): * Single equations (assignments): 2291 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01121/2.5, allocations: 7.85 MB / 1.064 GB, free: 80.84 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/2.501, allocations: 0.8251 MB / 1.065 GB, free: 80 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/2.512, allocations: 7.775 MB / 1.073 GB, free: 72.17 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/2.512, allocations: 36 kB / 1.073 GB, free: 72.14 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/2.512, allocations: 8 kB / 1.073 GB, free: 72.13 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/2.512, allocations: 15.94 kB / 1.073 GB, free: 72.11 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04216/2.554, allocations: 23.47 MB / 1.096 GB, free: 48.5 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/2.554, allocations: 4 kB / 1.096 GB, free: 48.5 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/2.557, allocations: 0.6227 MB / 1.096 GB, free: 47.88 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/2.56, allocations: 0.9449 MB / 1.097 GB, free: 46.93 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/2.56, allocations: 64.7 kB / 1.097 GB, free: 46.87 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00616/2.566, allocations: 6.194 MB / 1.103 GB, free: 40.54 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.566, allocations: 4 kB / 1.103 GB, free: 40.54 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/2.581, allocations: 12.88 MB / 1.116 GB, free: 27.5 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/2.584, allocations: 0.7771 MB / 1.117 GB, free: 26.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002509/2.587, allocations: 61.48 kB / 1.117 GB, free: 26.64 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/2.592, allocations: 357.9 kB / 1.117 GB, free: 26.29 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006835/2.592, allocations: 193.6 kB / 1.117 GB, free: 26.11 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/2.593, allocations: 107.1 kB / 1.117 GB, free: 26 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01263/2.605, allocations: 6.579 MB / 1.124 GB, free: 19.45 MB / 0.5764 GB Notification: Performance of sort global known variables: time 5.21e-07/2.605, allocations: 0 / 1.124 GB, free: 19.45 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01841/2.624, allocations: 2.988 MB / 1.127 GB, free: 16.47 MB / 0.5764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (rev.phi,rev.w,rev1.phi,rev1.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 (294): * Single equations (assignments): 286 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3252/2.949, allocations: 13.73 MB / 1.14 GB, free: 164.5 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.03407/2.983, allocations: 19.37 MB / 1.159 GB, free: 159.2 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.108e-05/2.983, allocations: 7.688 kB / 1.159 GB, free: 159.2 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.004603/2.988, allocations: 3.634 MB / 1.163 GB, free: 157.8 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008891/2.997, allocations: 1.616 MB / 1.164 GB, free: 157.1 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2229/3.22, allocations: 192.4 MB / 1.352 GB, free: 13.02 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02278/3.243, allocations: 10.47 MB / 1.362 GB, free: 2.504 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.2546/3.497, allocations: 5.484 MB / 1.368 GB, free: 217.1 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01171/3.509, allocations: 6.809 MB / 1.374 GB, free: 216.3 MB / 0.6233 GB Notification: Performance of SimCode: time 1.032e-06/3.509, allocations: 0 / 1.374 GB, free: 216.3 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2338/3.743, allocations: 176 MB / 1.546 GB, free: 71.57 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/18.84, allocations: 11.41 kB / 1.546 GB, free: 71.57 MB / 0.6233 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor/AbsoluteSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches