Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002324/0.002324, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002735, allocations: 76.16 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3269, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02565/0.3526, allocations: 22.83 MB / 0.5528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3695, allocations: 7.953 MB / 0.5606 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005585/0.3752, allocations: 191.6 kB / 0.5608 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03716/0.4124, allocations: 22.13 MB / 0.5824 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.4225, allocations: 3.548 MB / 0.5858 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009609/0.4321, allocations: 4.024 MB / 0.5898 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.4479, allocations: 9.673 MB / 0.5992 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04708/0.4951, allocations: 32.14 MB / 0.6306 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.5065, allocations: 6.959 MB / 0.6374 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.5192, allocations: 8.681 MB / 0.6459 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00632/0.5256, allocations: 2.219 MB / 0.648 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008507/0.5341, allocations: 3.451 MB / 0.6514 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0108/0.5449, allocations: 8.3 MB / 0.6595 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01661/0.5616, allocations: 9.66 MB / 0.6689 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03738/0.599, allocations: 32.83 MB / 0.701 GB, free: 2.633 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.5991, allocations: 7.938 kB / 0.701 GB, free: 2.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5991, allocations: 3.938 kB / 0.701 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001031/0.6001, allocations: 0 / 0.701 GB, free: 2.621 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 0.04242/0.6425, allocations: 17.26 MB / 0.7179 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.6426, allocations: 12.03 kB / 0.7179 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4706/1.113, allocations: 2.774 MB / 0.7206 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08044/1.194, allocations: 8.376 MB / 0.7288 GB, free: 145.8 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/1.21, allocations: 8.124 MB / 0.7367 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008776/1.211, allocations: 1.242 MB / 0.7379 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/1.216, allocations: 1.641 MB / 0.7395 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06571/1.282, allocations: 35.92 MB / 0.7746 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005732/1.282, allocations: 123 kB / 0.7747 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004357/1.287, allocations: 0.7312 MB / 0.7754 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003994/1.291, allocations: 3.684 MB / 0.779 GB, free: 96.95 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04917/1.34, allocations: 26.75 MB / 0.8051 GB, free: 70.19 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1399/1.48, allocations: 121.5 MB / 0.9238 GB, free: 11.05 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02427/1.504, allocations: 8.302 MB / 0.9319 GB, free: 2.598 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.51, allocations: 4.078 MB / 0.9359 GB, free: 14.51 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/1.522, allocations: 14.68 MB / 0.9502 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.029e-05/1.522, allocations: 68.5 kB / 0.9503 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=277): time 6.202e-06/1.522, allocations: 0 / 0.9503 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=338): time 0.646/2.168, allocations: 56.33 MB / 1.005 GB, free: 227.5 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/2.168, allocations: 222 kB / 1.005 GB, free: 227.3 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/2.184, allocations: 10.59 MB / 1.016 GB, free: 223.6 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.0006006/2.184, allocations: 75.77 kB / 1.016 GB, free: 223.5 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.00513/2.19, allocations: 11.25 MB / 1.027 GB, free: 215.5 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/2.191, allocations: 1.504 MB / 1.028 GB, free: 214.4 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005159/2.196, allocations: 3.816 MB / 1.032 GB, free: 212.5 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/2.196, allocations: 301.9 kB / 1.032 GB, free: 212.2 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007945/2.204, allocations: 6.48 MB / 1.039 GB, free: 207.7 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.217, allocations: 18.67 MB / 1.057 GB, free: 184.2 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02139/2.238, allocations: 27.15 MB / 1.083 GB, free: 150.9 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003497/2.239, allocations: 128 kB / 1.084 GB, free: 150.7 MB / 0.6702 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03766/2.276, allocations: 24.79 MB / 1.108 GB, free: 125.9 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/2.277, allocations: 192 kB / 1.108 GB, free: 125.7 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005/2.277, allocations: 432 kB / 1.108 GB, free: 125.3 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/2.28, allocations: 1.536 MB / 1.11 GB, free: 123.8 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/2.292, allocations: 4.3 MB / 1.114 GB, free: 119.5 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/2.3, allocations: 7.923 MB / 1.122 GB, free: 111.4 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.312, allocations: 1.046 MB / 1.123 GB, free: 110.4 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/2.315, allocations: 1.141 MB / 1.124 GB, free: 109.2 MB / 0.6702 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.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 (2275): * Single equations (assignments): 2267 * 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.01348/2.328, allocations: 7.716 MB / 1.131 GB, free: 101.5 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/2.33, allocations: 0.8685 MB / 1.132 GB, free: 100.6 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/2.341, allocations: 7.764 MB / 1.14 GB, free: 92.79 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.817e-05/2.341, allocations: 39.83 kB / 1.14 GB, free: 92.75 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/2.341, allocations: 7.875 kB / 1.14 GB, free: 92.75 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/2.341, allocations: 19.95 kB / 1.14 GB, free: 92.73 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04301/2.384, allocations: 23.02 MB / 1.162 GB, free: 69.55 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/2.384, allocations: 7.938 kB / 1.162 GB, free: 69.54 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/2.387, allocations: 0.6245 MB / 1.163 GB, free: 68.92 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/2.389, allocations: 0.9476 MB / 1.164 GB, free: 67.97 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003938/2.39, allocations: 71.73 kB / 1.164 GB, free: 67.9 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/2.396, allocations: 6.241 MB / 1.17 GB, free: 61.52 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/2.396, allocations: 7.938 kB / 1.17 GB, free: 61.51 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/2.414, allocations: 12.92 MB / 1.183 GB, free: 48.44 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002912/2.417, allocations: 0.8115 MB / 1.184 GB, free: 47.61 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002828/2.42, allocations: 59.98 kB / 1.184 GB, free: 47.55 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/2.425, allocations: 347.5 kB / 1.184 GB, free: 47.21 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.426, allocations: 201.5 kB / 1.184 GB, free: 47.01 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003547/2.427, allocations: 108 kB / 1.184 GB, free: 46.91 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.01286/2.439, allocations: 6.498 MB / 1.191 GB, free: 40.43 MB / 0.6702 GB Notification: Performance of sort global known variables: time 9.42e-07/2.439, allocations: 0 / 1.191 GB, free: 40.43 MB / 0.6702 GB Notification: Performance of remove unused functions: time 0.0178/2.457, allocations: 2.945 MB / 1.193 GB, free: 37.49 MB / 0.6702 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.01792/2.475, allocations: 13.78 MB / 1.207 GB, free: 23.56 MB / 0.6702 GB Notification: Performance of simCode: created initialization part: time 0.0214/2.497, allocations: 14.63 MB / 1.221 GB, free: 8.992 MB / 0.6702 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/2.497, allocations: 448 / 1.221 GB, free: 8.988 MB / 0.6702 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/2.501, allocations: 3.643 MB / 1.225 GB, free: 5.328 MB / 0.6702 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3439/2.845, allocations: 1.581 MB / 1.226 GB, free: 225 MB / 0.6702 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/3.058, allocations: 156.4 MB / 1.379 GB, free: 75.31 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01634/3.075, allocations: 10.29 MB / 1.389 GB, free: 65 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.01153/3.086, allocations: 5.441 MB / 1.394 GB, free: 59.55 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00867/3.095, allocations: 6.654 MB / 1.401 GB, free: 52.9 MB / 0.6702 GB Notification: Performance of SimCode: time 6.31e-07/3.095, allocations: 0 / 1.401 GB, free: 52.9 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8187/3.914, allocations: 178 MB / 1.575 GB, free: 171.9 MB / 0.7014 GB Notification: Performance of buildModelFMU: Generate platform static: time 134.3/138.3, allocations: 13.08 kB / 1.575 GB, free: 171.9 MB / 0.7014 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches