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.001791/0.001791, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002144/0.002144, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2406/0.2406, allocations: 46.93 MB / 360.8 MB, free: 4.195 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.002287/0.002287, allocations: 75.88 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3151, allocations: 66.09 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02923/0.3444, allocations: 22.93 MB / 0.5831 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.3661, allocations: 8.014 MB / 0.591 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005259/0.3714, allocations: 223.1 kB / 0.5912 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04257/0.4139, allocations: 22.44 MB / 0.6131 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.4236, allocations: 3.552 MB / 0.6165 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.4337, allocations: 4.116 MB / 0.6206 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01796/0.4517, allocations: 9.661 MB / 0.63 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03774/0.4894, allocations: 20.86 MB / 0.6504 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.5009, allocations: 7.029 MB / 0.6572 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.5159, allocations: 9.055 MB / 0.6661 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.006171/0.5221, allocations: 2.219 MB / 0.6683 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009307/0.5314, allocations: 3.509 MB / 0.6717 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0124/0.5438, allocations: 8.454 MB / 0.6799 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01842/0.5622, allocations: 9.66 MB / 0.6894 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0444/0.6066, allocations: 32.83 MB / 0.7214 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6066, allocations: 0 / 0.7214 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6066, allocations: 0 / 0.7214 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.001089/0.6077, allocations: 7.938 kB / 0.7214 GB, free: 15.13 MB / 0.5606 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.5042/1.112, allocations: 17.19 MB / 0.7382 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.112, allocations: 7.812 kB / 0.7382 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01039/1.122, allocations: 2.776 MB / 0.7409 GB, free: 133.5 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08531/1.208, allocations: 8.372 MB / 0.7491 GB, free: 131 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/1.229, allocations: 8.036 MB / 0.757 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/1.23, allocations: 1.237 MB / 0.7582 GB, free: 122.7 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00801/1.238, allocations: 1.634 MB / 0.7598 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08229/1.321, allocations: 35.93 MB / 0.7949 GB, free: 83.49 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008625/1.321, allocations: 127 kB / 0.795 GB, free: 83.36 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006124/1.327, allocations: 0.7291 MB / 0.7957 GB, free: 82.68 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004486/1.332, allocations: 3.688 MB / 0.7993 GB, free: 79.02 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0542/1.386, allocations: 26.75 MB / 0.8254 GB, free: 52.26 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/1.553, allocations: 121.5 MB / 0.9441 GB, free: 9.008 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02518/1.578, allocations: 7.644 MB / 0.9516 GB, free: 1.328 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005833/1.584, allocations: 3.892 MB / 0.9554 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009211/1.593, allocations: 5.107 MB / 0.9604 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/1.593, allocations: 72.5 kB / 0.9604 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=277): time 6.122e-06/1.593, allocations: 0 / 0.9604 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=338): time 0.6613/2.254, allocations: 55.96 MB / 1.015 GB, free: 234.5 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/2.254, allocations: 213 kB / 1.015 GB, free: 234.3 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.017/2.271, allocations: 10.59 MB / 1.026 GB, free: 230.5 MB / 0.6858 GB Notification: Performance of collectPreVariables (initialization): time 0.0008543/2.272, allocations: 80.95 kB / 1.026 GB, free: 230.4 MB / 0.6858 GB Notification: Performance of collectInitialEqns (initialization): time 0.006872/2.279, allocations: 11.24 MB / 1.037 GB, free: 222.5 MB / 0.6858 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/2.281, allocations: 1.504 MB / 1.038 GB, free: 221.4 MB / 0.6858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005728/2.286, allocations: 3.818 MB / 1.042 GB, free: 219.5 MB / 0.6858 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/2.287, allocations: 308.5 kB / 1.042 GB, free: 219.2 MB / 0.6858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008355/2.295, allocations: 6.477 MB / 1.048 GB, free: 216.9 MB / 0.6858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/2.309, allocations: 18.67 MB / 1.067 GB, free: 197.4 MB / 0.6858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02444/2.334, allocations: 27.15 MB / 1.093 GB, free: 165.2 MB / 0.6858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003197/2.334, allocations: 124 kB / 1.093 GB, free: 165.1 MB / 0.6858 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03829/2.372, allocations: 24.77 MB / 1.118 GB, free: 140.3 MB / 0.6858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002599/2.372, allocations: 192 kB / 1.118 GB, free: 140.1 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004767/2.373, allocations: 434 kB / 1.118 GB, free: 139.7 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/2.376, allocations: 1.547 MB / 1.12 GB, free: 138.1 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/2.389, allocations: 4.296 MB / 1.124 GB, free: 133.8 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/2.397, allocations: 7.803 MB / 1.131 GB, free: 125.9 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/2.41, allocations: 1.053 MB / 1.133 GB, free: 124.8 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002913/2.413, allocations: 1.142 MB / 1.134 GB, free: 123.7 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.01297/2.426, allocations: 7.719 MB / 1.141 GB, free: 116 MB / 0.6858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/2.427, allocations: 0.8652 MB / 1.142 GB, free: 115.1 MB / 0.6858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/2.439, allocations: 7.76 MB / 1.15 GB, free: 107.3 MB / 0.6858 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.481e-05/2.439, allocations: 36 kB / 1.15 GB, free: 107.2 MB / 0.6858 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/2.439, allocations: 8 kB / 1.15 GB, free: 107.2 MB / 0.6858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/2.439, allocations: 11.95 kB / 1.15 GB, free: 107.2 MB / 0.6858 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04263/2.482, allocations: 22.97 MB / 1.172 GB, free: 84.13 MB / 0.6858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/2.482, allocations: 8 kB / 1.172 GB, free: 84.12 MB / 0.6858 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/2.485, allocations: 0.6206 MB / 1.173 GB, free: 83.5 MB / 0.6858 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/2.487, allocations: 0.945 MB / 1.174 GB, free: 82.55 MB / 0.6858 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/2.488, allocations: 63.59 kB / 1.174 GB, free: 82.49 MB / 0.6858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/2.494, allocations: 6.134 MB / 1.18 GB, free: 76.23 MB / 0.6858 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.494, allocations: 12.88 kB / 1.18 GB, free: 76.22 MB / 0.6858 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/2.509, allocations: 12.91 MB / 1.192 GB, free: 63.17 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/2.511, allocations: 0.7362 MB / 1.193 GB, free: 62.43 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/2.513, allocations: 56 kB / 1.193 GB, free: 62.37 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003541/2.516, allocations: 355.5 kB / 1.193 GB, free: 62.02 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005744/2.517, allocations: 206.5 kB / 1.194 GB, free: 61.82 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/2.517, allocations: 104 kB / 1.194 GB, free: 61.72 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.01001/2.527, allocations: 6.502 MB / 1.2 GB, free: 55.24 MB / 0.6858 GB Notification: Performance of sort global known variables: time 1.7e-07/2.527, allocations: 288 / 1.2 GB, free: 55.24 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.01543/2.543, allocations: 2.948 MB / 1.203 GB, free: 52.3 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.01608/2.559, allocations: 13.77 MB / 1.216 GB, free: 38.38 MB / 0.6858 GB Notification: Performance of simCode: created initialization part: time 0.01877/2.577, allocations: 14.03 MB / 1.23 GB, free: 24.41 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/2.577, allocations: 4.438 kB / 1.23 GB, free: 24.41 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/2.581, allocations: 3.3 MB / 1.233 GB, free: 21.09 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007358/2.589, allocations: 1.578 MB / 1.235 GB, free: 19.57 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4974/3.086, allocations: 156.7 MB / 1.388 GB, free: 110.7 MB / 0.7014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01927/3.105, allocations: 10.29 MB / 1.398 GB, free: 100.4 MB / 0.7014 GB Notification: Performance of simCode: alias equations: time 0.01317/3.119, allocations: 5.443 MB / 1.403 GB, free: 94.98 MB / 0.7014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01105/3.13, allocations: 6.658 MB / 1.41 GB, free: 88.33 MB / 0.7014 GB Notification: Performance of SimCode: time 1.833e-06/3.13, allocations: 3.938 kB / 1.41 GB, free: 88.32 MB / 0.7014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.589/3.719, allocations: 185.6 MB / 1.591 GB, free: 213 MB / 0.7327 GB Notification: Performance of buildModelFMU: Generate platform static: time 134.6/138.3, allocations: 7.953 kB / 1.591 GB, free: 213 MB / 0.7327 GB " [Timeout remaining time 521] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 142.43833106802776]