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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 216.2 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.96 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 83.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3118, allocations: 66.09 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02509/0.3369, allocations: 19.51 MB / 0.5797 GB, free: 424 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3538, allocations: 7.792 MB / 0.5874 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.3575, allocations: 219.1 kB / 0.5876 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03936/0.3969, allocations: 21.4 MB / 0.6085 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009423/0.4063, allocations: 3.556 MB / 0.6119 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008914/0.4152, allocations: 3.977 MB / 0.6158 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01544/0.4306, allocations: 9.646 MB / 0.6252 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03741/0.468, allocations: 20.72 MB / 0.6455 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.4808, allocations: 7.021 MB / 0.6523 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01486/0.4957, allocations: 8.048 MB / 0.6602 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.005556/0.5013, allocations: 2.219 MB / 0.6623 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008294/0.5096, allocations: 3.365 MB / 0.6656 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01143/0.521, allocations: 8.446 MB / 0.6739 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01551/0.5365, allocations: 7.338 MB / 0.6811 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04327/0.5798, allocations: 32.98 MB / 0.7133 GB, free: 7.172 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5798, allocations: 0 / 0.7133 GB, free: 7.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5798, allocations: 3.938 kB / 0.7133 GB, free: 7.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0009356/0.5807, allocations: 4 kB / 0.7133 GB, free: 7.164 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.04665/0.6274, allocations: 17.19 MB / 0.7301 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.6274, allocations: 12.03 kB / 0.7301 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008819/0.6362, allocations: 2.775 MB / 0.7328 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5799/1.216, allocations: 8.366 MB / 0.7409 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/1.236, allocations: 8.048 MB / 0.7488 GB, free: 133 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007508/1.237, allocations: 1.236 MB / 0.75 GB, free: 131.8 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005702/1.242, allocations: 1.644 MB / 0.7516 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07208/1.314, allocations: 36.44 MB / 0.7872 GB, free: 92 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000569/1.315, allocations: 130.9 kB / 0.7873 GB, free: 91.87 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004144/1.319, allocations: 0.7303 MB / 0.788 GB, free: 91.19 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004031/1.323, allocations: 3.682 MB / 0.7916 GB, free: 87.53 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04969/1.373, allocations: 26.71 MB / 0.8177 GB, free: 60.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/1.515, allocations: 115.7 MB / 0.9307 GB, free: 7.559 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02609/1.542, allocations: 7.649 MB / 0.9381 GB, free: 15.87 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006166/1.548, allocations: 3.894 MB / 0.9419 GB, free: 11.97 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009984/1.558, allocations: 5.103 MB / 0.9469 GB, free: 6.898 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.866e-05/1.558, allocations: 69.17 kB / 0.947 GB, free: 6.82 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=277): time 6.853e-06/1.558, allocations: 0 / 0.947 GB, free: 6.82 MB / 0.6388 GB Notification: Performance of matching and sorting (n=338): time 0.6145/2.172, allocations: 56.14 MB / 1.002 GB, free: 241.4 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/2.172, allocations: 219.3 kB / 1.002 GB, free: 241.1 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.185, allocations: 11.32 MB / 1.013 GB, free: 238.1 MB / 0.6858 GB Notification: Performance of collectPreVariables (initialization): time 0.0006652/2.185, allocations: 80.73 kB / 1.013 GB, free: 238.1 MB / 0.6858 GB Notification: Performance of collectInitialEqns (initialization): time 0.004779/2.19, allocations: 11.25 MB / 1.024 GB, free: 231.5 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/2.192, allocations: 1.5 MB / 1.026 GB, free: 230.5 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004804/2.196, allocations: 3.819 MB / 1.029 GB, free: 228.5 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/2.196, allocations: 304.9 kB / 1.03 GB, free: 228.2 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007548/2.204, allocations: 6.475 MB / 1.036 GB, free: 225.9 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/2.216, allocations: 18.72 MB / 1.054 GB, free: 206.9 MB / 0.6858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/2.236, allocations: 27.16 MB / 1.081 GB, free: 176.2 MB / 0.6858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00041/2.237, allocations: 124 kB / 1.081 GB, free: 176.1 MB / 0.6858 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.04136/2.278, allocations: 24.76 MB / 1.105 GB, free: 151.8 MB / 0.6858 GB Notification: Performance of prepare postOptimizeDAE: time 0.001005/2.279, allocations: 196 kB / 1.105 GB, free: 151.6 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001065/2.28, allocations: 436 kB / 1.106 GB, free: 151.2 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/2.283, allocations: 1.542 MB / 1.107 GB, free: 149.6 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/2.295, allocations: 4.296 MB / 1.111 GB, free: 145.3 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/2.303, allocations: 7.736 MB / 1.119 GB, free: 137.5 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.315, allocations: 1.049 MB / 1.12 GB, free: 136.4 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/2.318, allocations: 1.133 MB / 1.121 GB, free: 135.3 MB / 0.6858 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.01241/2.33, allocations: 7.727 MB / 1.129 GB, free: 127.6 MB / 0.6858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.332, allocations: 0.8652 MB / 1.129 GB, free: 126.7 MB / 0.6858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/2.344, allocations: 7.76 MB / 1.137 GB, free: 118.9 MB / 0.6858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/2.344, allocations: 37.78 kB / 1.137 GB, free: 118.8 MB / 0.6858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/2.344, allocations: 4 kB / 1.137 GB, free: 118.8 MB / 0.6858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/2.344, allocations: 15.95 kB / 1.137 GB, free: 118.8 MB / 0.6858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04362/2.387, allocations: 22.13 MB / 1.159 GB, free: 96.59 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/2.387, allocations: 4 kB / 1.159 GB, free: 96.58 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/2.39, allocations: 0.6245 MB / 1.159 GB, free: 95.96 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/2.393, allocations: 0.9372 MB / 1.16 GB, free: 95.02 MB / 0.6858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/2.393, allocations: 67.98 kB / 1.16 GB, free: 94.95 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/2.4, allocations: 6.084 MB / 1.166 GB, free: 88.75 MB / 0.6858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/2.4, allocations: 9.641 kB / 1.166 GB, free: 88.74 MB / 0.6858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/2.415, allocations: 12.9 MB / 1.179 GB, free: 75.68 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/2.418, allocations: 0.7439 MB / 1.18 GB, free: 74.93 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002042/2.42, allocations: 55.75 kB / 1.18 GB, free: 74.88 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005104/2.425, allocations: 358.9 kB / 1.18 GB, free: 74.54 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007972/2.426, allocations: 201.6 kB / 1.18 GB, free: 74.34 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004604/2.426, allocations: 108 kB / 1.18 GB, free: 74.23 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.01138/2.438, allocations: 6.498 MB / 1.187 GB, free: 67.75 MB / 0.6858 GB Notification: Performance of sort global known variables: time 1.6e-07/2.438, allocations: 0 / 1.187 GB, free: 67.75 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.01439/2.452, allocations: 2.941 MB / 1.189 GB, free: 64.82 MB / 0.6858 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.01727/2.469, allocations: 13.77 MB / 1.203 GB, free: 50.89 MB / 0.6858 GB Notification: Performance of simCode: created initialization part: time 0.01896/2.488, allocations: 14.04 MB / 1.217 GB, free: 36.92 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/2.488, allocations: 5.062 kB / 1.217 GB, free: 36.91 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/2.492, allocations: 3.292 MB / 1.22 GB, free: 33.6 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/2.503, allocations: 1.583 MB / 1.221 GB, free: 32.08 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4942/2.997, allocations: 156.6 MB / 1.374 GB, free: 118.6 MB / 0.7014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02022/3.017, allocations: 9.938 MB / 1.384 GB, free: 108.6 MB / 0.7014 GB Notification: Performance of simCode: alias equations: time 0.01375/3.031, allocations: 5.442 MB / 1.389 GB, free: 103.2 MB / 0.7014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01174/3.043, allocations: 6.658 MB / 1.396 GB, free: 96.54 MB / 0.7014 GB Notification: Performance of SimCode: time 3.046e-06/3.043, allocations: 3.938 kB / 1.396 GB, free: 96.53 MB / 0.7014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5404/3.583, allocations: 176.3 MB / 1.568 GB, free: 272.3 MB / 0.7483 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.62/35.2, allocations: 10.5 kB / 1.568 GB, free: 272.3 MB / 0.7483 GB " [Timeout remaining time 625] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 39.28441564878449]