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.0008412/0.0008412, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008582/0.0008582, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8927/0.8927, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.2492/0.2492, allocations: 34.24 MB / 294.8 MB, free: 0.707 MB / 266.7 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 1.934e-06/1.934e-06, allocations: 3.938 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.485e-05, allocations: 5.094 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.1713/0.1714, allocations: 19.53 MB / 461.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1828, allocations: 7.795 MB / 469.5 MB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/0.1878, allocations: 219.2 kB / 469.7 MB, free: 27.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01881/0.2066, allocations: 22.63 MB / 492.3 MB, free: 17.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008179/0.2148, allocations: 3.657 MB / 496 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.2212, allocations: 4.185 MB / 0.4884 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.2346, allocations: 10.14 MB / 0.4983 GB, free: 9.449 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02311/0.2578, allocations: 21.03 MB / 0.5189 GB, free: 7.516 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01872/0.2765, allocations: 10.58 MB / 0.5292 GB, free: 12.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.2868, allocations: 7.923 MB / 0.537 GB, free: 4.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004559/0.2913, allocations: 2.215 MB / 0.5391 GB, free: 2.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.2974, allocations: 3.412 MB / 0.5425 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007929/0.3053, allocations: 8.731 MB / 0.551 GB, free: 6.594 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.3153, allocations: 6.127 MB / 0.557 GB, free: 464 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02986/0.3452, allocations: 33.17 MB / 0.5894 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3452, allocations: 0 / 0.5894 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3452, allocations: 0 / 0.5894 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001053/0.3463, allocations: 0 / 0.5894 GB, free: 15.19 MB / 0.4948 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.03389/0.3801, allocations: 17.07 MB / 0.606 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3802, allocations: 19.97 kB / 0.606 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007904/0.3881, allocations: 2.775 MB / 0.6087 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04361/0.4317, allocations: 8.59 MB / 0.6171 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.4465, allocations: 7.883 MB / 0.6248 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007772/0.4472, allocations: 1.244 MB / 0.6261 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004487/0.4517, allocations: 1.637 MB / 0.6276 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3995/0.8512, allocations: 36.45 MB / 0.6632 GB, free: 112.5 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008898/0.8521, allocations: 128.7 kB / 0.6634 GB, free: 112.4 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006834/0.859, allocations: 0.7245 MB / 0.6641 GB, free: 112 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004124/0.8631, allocations: 3.681 MB / 0.6677 GB, free: 111.2 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04683/0.9099, allocations: 26.74 MB / 0.6938 GB, free: 102.2 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09646/1.006, allocations: 115.8 MB / 0.8068 GB, free: 7.496 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/1.022, allocations: 8.012 MB / 0.8147 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004548/1.026, allocations: 3.899 MB / 0.8185 GB, free: 11.55 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005098/1.031, allocations: 5.103 MB / 0.8235 GB, free: 6.531 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/1.031, allocations: 68.56 kB / 0.8235 GB, free: 6.457 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=277): time 6.402e-06/1.031, allocations: 0 / 0.8235 GB, free: 6.457 MB / 0.5574 GB Notification: Performance of matching and sorting (n=338): time 0.4438/1.475, allocations: 57.62 MB / 0.8798 GB, free: 165.6 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.475, allocations: 220.8 kB / 0.88 GB, free: 165.3 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/1.489, allocations: 11.49 MB / 0.8912 GB, free: 161.2 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.0007413/1.49, allocations: 83.28 kB / 0.8913 GB, free: 161.1 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.004412/1.494, allocations: 11.13 MB / 0.9022 GB, free: 152.9 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.496, allocations: 1.49 MB / 0.9036 GB, free: 151.9 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005464/1.501, allocations: 3.757 MB / 0.9073 GB, free: 149.9 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/1.501, allocations: 305.6 kB / 0.9076 GB, free: 149.6 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007959/1.509, allocations: 6.479 MB / 0.9139 GB, free: 147.3 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01284/1.522, allocations: 18.72 MB / 0.9322 GB, free: 128.4 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02085/1.543, allocations: 27.14 MB / 0.9587 GB, free: 104.7 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008323/1.544, allocations: 124.9 kB / 0.9588 GB, free: 104.7 MB / 0.5888 GB Notification: Performance of matching and sorting (n=2332) (initialization): time 0.03549/1.579, allocations: 24.77 MB / 0.983 GB, free: 91 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003088/1.579, allocations: 192.8 kB / 0.9832 GB, free: 90.81 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000558/1.58, allocations: 436 kB / 0.9836 GB, free: 90.39 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/1.583, allocations: 1.543 MB / 0.9851 GB, free: 89.16 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/1.591, allocations: 4.296 MB / 0.9893 GB, free: 85.4 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/1.597, allocations: 7.786 MB / 0.9969 GB, free: 78.5 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/1.608, allocations: 1.077 MB / 0.998 GB, free: 77.54 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004277/1.613, allocations: 1.14 MB / 0.9991 GB, free: 76.42 MB / 0.5888 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.01485/1.627, allocations: 7.72 MB / 1.007 GB, free: 69.52 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.629, allocations: 0.8653 MB / 1.007 GB, free: 68.65 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008073/1.637, allocations: 7.758 MB / 1.015 GB, free: 62.18 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/1.637, allocations: 36 kB / 1.015 GB, free: 62.14 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.637, allocations: 4 kB / 1.015 GB, free: 62.14 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/1.637, allocations: 15.33 kB / 1.015 GB, free: 62.14 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/1.67, allocations: 22.24 MB / 1.037 GB, free: 42.12 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.67, allocations: 4 kB / 1.037 GB, free: 42.12 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.671, allocations: 0.6231 MB / 1.037 GB, free: 41.5 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/1.673, allocations: 0.9417 MB / 1.038 GB, free: 40.55 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/1.673, allocations: 63.98 kB / 1.038 GB, free: 40.49 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/1.677, allocations: 6.131 MB / 1.044 GB, free: 34.25 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.677, allocations: 12 kB / 1.044 GB, free: 34.23 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.688, allocations: 12.89 MB / 1.057 GB, free: 21.19 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.69, allocations: 0.7675 MB / 1.058 GB, free: 20.42 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/1.692, allocations: 63.66 kB / 1.058 GB, free: 20.36 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.694, allocations: 379.4 kB / 1.058 GB, free: 19.99 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.694, allocations: 203.1 kB / 1.058 GB, free: 19.79 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.695, allocations: 115 kB / 1.058 GB, free: 19.68 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.007972/1.703, allocations: 6.643 MB / 1.065 GB, free: 13.05 MB / 0.5888 GB Notification: Performance of sort global known variables: time 2.41e-07/1.703, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01268/1.715, allocations: 3.039 MB / 1.068 GB, free: 10.01 MB / 0.5888 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.2278/1.943, allocations: 13.78 MB / 1.081 GB, free: 165.6 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.01673/1.96, allocations: 14.03 MB / 1.095 GB, free: 161.7 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.96, allocations: 0.5 kB / 1.095 GB, free: 161.7 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.963, allocations: 3.305 MB / 1.098 GB, free: 160.5 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/1.968, allocations: 1.586 MB / 1.1 GB, free: 159.9 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1667/2.135, allocations: 156.4 MB / 1.253 GB, free: 27.41 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01427/2.149, allocations: 9.939 MB / 1.262 GB, free: 19.91 MB / 0.6044 GB Notification: Performance of simCode: alias equations: time 0.008914/2.158, allocations: 5.446 MB / 1.268 GB, free: 14.62 MB / 0.6044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009868/2.168, allocations: 6.666 MB / 1.274 GB, free: 7.961 MB / 0.6044 GB Notification: Performance of SimCode: time 2.054e-06/2.168, allocations: 0 / 1.274 GB, free: 7.961 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3903/2.558, allocations: 177.4 MB / 1.447 GB, free: 108.7 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/18.62, allocations: 13.58 kB / 1.447 GB, free: 108.7 MB / 0.6357 GB " [Timeout remaining time 641] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor/AbsoluteSensor.csv","/var/lib/jenkins/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: 21.33056619297713]