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.001063/0.001064, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3474, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02469/0.3721, allocations: 22.81 MB / 0.5528 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.3926, allocations: 7.954 MB / 0.5606 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008328/0.401, allocations: 191.6 kB / 0.5607 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03742/0.4385, allocations: 22.14 MB / 0.5824 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.4497, allocations: 3.548 MB / 0.5858 GB, free: 9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009471/0.4592, allocations: 4.02 MB / 0.5897 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01957/0.4788, allocations: 9.669 MB / 0.5992 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04635/0.5252, allocations: 32.14 MB / 0.6306 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.5369, allocations: 6.963 MB / 0.6374 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.5505, allocations: 8.685 MB / 0.6459 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.007149/0.5577, allocations: 2.215 MB / 0.648 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.5697, allocations: 3.455 MB / 0.6514 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01353/0.5832, allocations: 8.3 MB / 0.6595 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01722/0.6005, allocations: 9.66 MB / 0.6689 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03857/0.6391, allocations: 32.83 MB / 0.701 GB, free: 2.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.6392, allocations: 4 kB / 0.701 GB, free: 2.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6392, allocations: 0 / 0.701 GB, free: 2.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00104/0.6402, allocations: 0 / 0.701 GB, free: 2.656 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.0427/0.683, allocations: 17.27 MB / 0.7179 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.683, allocations: 12.03 kB / 0.7179 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4869/1.17, allocations: 2.773 MB / 0.7206 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09673/1.267, allocations: 8.375 MB / 0.7288 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/1.287, allocations: 8.123 MB / 0.7367 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008637/1.288, allocations: 1.243 MB / 0.7379 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005701/1.293, allocations: 1.64 MB / 0.7395 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0706/1.364, allocations: 35.92 MB / 0.7746 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006115/1.365, allocations: 119 kB / 0.7747 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005001/1.37, allocations: 0.7339 MB / 0.7754 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/1.374, allocations: 3.686 MB / 0.779 GB, free: 96.97 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05348/1.427, allocations: 26.74 MB / 0.8051 GB, free: 70.21 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1395/1.567, allocations: 121.5 MB / 0.9238 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/1.592, allocations: 8.296 MB / 0.9319 GB, free: 2.613 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/1.598, allocations: 4.081 MB / 0.9359 GB, free: 14.52 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/1.61, allocations: 14.68 MB / 0.9502 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.592e-05/1.611, allocations: 64.56 kB / 0.9503 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=277): time 7.574e-06/1.611, allocations: 4 kB / 0.9503 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=338): time 0.6353/2.246, allocations: 56.33 MB / 1.005 GB, free: 227.6 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/2.246, allocations: 217.3 kB / 1.006 GB, free: 227.4 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/2.264, allocations: 10.59 MB / 1.016 GB, free: 223.6 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.0006822/2.264, allocations: 81.14 kB / 1.016 GB, free: 223.6 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.006275/2.271, allocations: 11.25 MB / 1.027 GB, free: 215.6 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/2.273, allocations: 1.501 MB / 1.028 GB, free: 214.5 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008887/2.282, allocations: 3.82 MB / 1.032 GB, free: 212.6 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/2.282, allocations: 301.9 kB / 1.032 GB, free: 212.3 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/2.292, allocations: 6.48 MB / 1.039 GB, free: 207.7 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/2.307, allocations: 18.67 MB / 1.057 GB, free: 184.2 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02154/2.328, allocations: 27.15 MB / 1.083 GB, free: 150.9 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003592/2.329, allocations: 124 kB / 1.084 GB, free: 150.8 MB / 0.6702 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.0381/2.367, allocations: 24.79 MB / 1.108 GB, free: 126 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/2.367, allocations: 196.1 kB / 1.108 GB, free: 125.8 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005589/2.368, allocations: 436 kB / 1.108 GB, free: 125.3 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/2.371, allocations: 1.535 MB / 1.11 GB, free: 123.8 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/2.383, allocations: 4.3 MB / 1.114 GB, free: 119.5 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008052/2.391, allocations: 7.911 MB / 1.122 GB, free: 111.4 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/2.404, allocations: 1.053 MB / 1.123 GB, free: 110.4 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/2.407, allocations: 1.137 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.01209/2.419, allocations: 7.728 MB / 1.131 GB, free: 101.5 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/2.421, allocations: 0.8614 MB / 1.132 GB, free: 100.6 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/2.433, allocations: 7.77 MB / 1.14 GB, free: 92.82 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/2.433, allocations: 36 kB / 1.14 GB, free: 92.79 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/2.433, allocations: 7.938 kB / 1.14 GB, free: 92.78 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/2.433, allocations: 15.94 kB / 1.14 GB, free: 92.77 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/2.479, allocations: 23.02 MB / 1.162 GB, free: 69.59 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/2.479, allocations: 7.938 kB / 1.162 GB, free: 69.58 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/2.482, allocations: 0.6245 MB / 1.163 GB, free: 68.95 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/2.484, allocations: 0.9507 MB / 1.164 GB, free: 68 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004628/2.485, allocations: 59.52 kB / 1.164 GB, free: 67.95 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006081/2.491, allocations: 6.241 MB / 1.17 GB, free: 61.57 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/2.491, allocations: 11.94 kB / 1.17 GB, free: 61.55 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/2.506, allocations: 12.92 MB / 1.183 GB, free: 48.48 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/2.508, allocations: 0.8076 MB / 1.184 GB, free: 47.65 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/2.51, allocations: 60 kB / 1.184 GB, free: 47.59 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/2.514, allocations: 354.9 kB / 1.184 GB, free: 47.25 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007334/2.515, allocations: 193.7 kB / 1.184 GB, free: 47.05 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/2.515, allocations: 104 kB / 1.184 GB, free: 46.95 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.01025/2.525, allocations: 6.506 MB / 1.191 GB, free: 40.47 MB / 0.6702 GB Notification: Performance of sort global known variables: time 8.02e-07/2.525, allocations: 4.219 kB / 1.191 GB, free: 40.46 MB / 0.6702 GB Notification: Performance of remove unused functions: time 0.0157/2.541, allocations: 2.933 MB / 1.193 GB, free: 37.54 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.01644/2.558, allocations: 13.79 MB / 1.207 GB, free: 23.59 MB / 0.6702 GB Notification: Performance of simCode: created initialization part: time 0.01948/2.577, allocations: 14.63 MB / 1.221 GB, free: 9.027 MB / 0.6702 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.577, allocations: 4.438 kB / 1.221 GB, free: 9.02 MB / 0.6702 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/2.581, allocations: 3.644 MB / 1.225 GB, free: 5.359 MB / 0.6702 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2899/2.871, allocations: 1.566 MB / 1.226 GB, free: 225.1 MB / 0.6702 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1961/3.067, allocations: 156.4 MB / 1.379 GB, free: 75.38 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01968/3.087, allocations: 10.3 MB / 1.389 GB, free: 65.06 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.01196/3.099, allocations: 5.433 MB / 1.394 GB, free: 59.62 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009695/3.109, allocations: 6.658 MB / 1.401 GB, free: 52.96 MB / 0.6702 GB Notification: Performance of SimCode: time 1.593e-06/3.109, allocations: 4 kB / 1.401 GB, free: 52.96 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5049/3.614, allocations: 178 MB / 1.575 GB, free: 171.8 MB / 0.7014 GB Notification: Performance of buildModelFMU: Generate platform static: time 132.6/136.3, allocations: 14.55 kB / 1.575 GB, free: 171.7 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