Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8931/0.8931, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.701e-05, allocations: 3.969 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1822/0.1822, allocations: 10.4 MB / 450 MB, free: 40.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.1886, allocations: 3.914 MB / 453.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.1906, allocations: 87.59 kB / 454 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.1929, allocations: 1.701 MB / 455.7 MB, free: 37.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.1957, allocations: 1.607 MB / 457.3 MB, free: 37.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.197, allocations: 1.211 MB / 458.5 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.2002, allocations: 3.57 MB / 462.1 MB, free: 35.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.202, allocations: 1.999 MB / 464.1 MB, free: 34.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.2035, allocations: 1.715 MB / 465.8 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.2048, allocations: 1.625 MB / 467.4 MB, free: 33.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.2051, allocations: 235.4 kB / 467.6 MB, free: 33.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.2058, allocations: 0.6876 MB / 468.3 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.2066, allocations: 1.63 MB / 470 MB, free: 32.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.2072, allocations: 0.9464 MB / 470.9 MB, free: 31.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.2105, allocations: 6.036 MB / 476.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2105, allocations: 4 kB / 476.9 MB, free: 29.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2105, allocations: 0 / 476.9 MB, free: 29.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.2106, allocations: 0 / 476.9 MB, free: 29.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.005032/0.2157, allocations: 3.954 MB / 480.9 MB, free: 27.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2157, allocations: 9.5 kB / 480.9 MB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007098/0.2164, allocations: 0.7142 MB / 481.6 MB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.2223, allocations: 3.028 MB / 484.6 MB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.2259, allocations: 1.769 MB / 486.4 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2261, allocations: 195.2 kB / 486.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006837/0.2267, allocations: 244.8 kB / 486.8 MB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.24, allocations: 10.05 MB / 496.9 MB, free: 20.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/0.24, allocations: 32.69 kB / 496.9 MB, free: 20.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.2403, allocations: 126.5 kB / 497.1 MB, free: 20.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.2428, allocations: 2.316 MB / 499.4 MB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.2547, allocations: 8.927 MB / 0.4964 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.2886, allocations: 36.11 MB / 0.5316 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.292, allocations: 2.425 MB / 0.534 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.2931, allocations: 1.135 MB / 0.5351 GB, free: 6.473 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005775/0.2989, allocations: 4.575 MB / 0.5396 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2989, allocations: 51.16 kB / 0.5396 GB, free: 1.805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 4.758e-06/0.299, allocations: 0 / 0.5396 GB, free: 1.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.004394/0.3033, allocations: 3.458 MB / 0.543 GB, free: 14.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.3034, allocations: 170.8 kB / 0.5432 GB, free: 14.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.308, allocations: 4.089 MB / 0.5472 GB, free: 10.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.3082, allocations: 41.7 kB / 0.5472 GB, free: 10 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.3105, allocations: 3.279 MB / 0.5504 GB, free: 6.691 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.3112, allocations: 0.6204 MB / 0.551 GB, free: 6.066 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.3124, allocations: 1.298 MB / 0.5523 GB, free: 4.758 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.3124, allocations: 301.1 kB / 0.5526 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.3144, allocations: 1.957 MB / 0.5545 GB, free: 2.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.3183, allocations: 6.104 MB / 0.5604 GB, free: 10.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007172/0.3254, allocations: 8.786 MB / 0.569 GB, free: 15.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/0.3256, allocations: 46.38 kB / 0.5691 GB, free: 15.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.011/0.3366, allocations: 7.724 MB / 0.5766 GB, free: 7.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.3366, allocations: 68.19 kB / 0.5767 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.3367, allocations: 152 kB / 0.5768 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.3369, allocations: 195.9 kB / 0.577 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/0.3397, allocations: 1.454 MB / 0.5784 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001654/0.3398, allocations: 286.9 kB / 0.5787 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.3431, allocations: 0.9384 MB / 0.5796 GB, free: 4.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/0.3437, allocations: 400 kB / 0.58 GB, free: 4.219 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002796/0.3465, allocations: 2.203 MB / 0.5822 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.3469, allocations: 321.8 kB / 0.5825 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.3473, allocations: 407.1 kB / 0.5829 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-05/0.3473, allocations: 43.92 kB / 0.5829 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.3473, allocations: 0 / 0.5829 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3473, allocations: 7.984 kB / 0.5829 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.3535, allocations: 5.314 MB / 0.5881 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.3535, allocations: 7.938 kB / 0.5881 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.354, allocations: 203.7 kB / 0.5883 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.354, allocations: 8 kB / 0.5883 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.3541, allocations: 29.61 kB / 0.5883 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.3541, allocations: 17.86 kB / 0.5883 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3541, allocations: 15.88 kB / 0.5884 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.3565, allocations: 2.537 MB / 0.5908 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/0.357, allocations: 313.5 kB / 0.5911 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.3572, allocations: 27.98 kB / 0.5912 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.3577, allocations: 59.92 kB / 0.5912 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3578, allocations: 84.19 kB / 0.5913 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.3578, allocations: 47.98 kB / 0.5913 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002627/0.3605, allocations: 2.338 MB / 0.5936 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3605, allocations: 4 kB / 0.5936 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003669/0.3641, allocations: 1.072 MB / 0.5947 GB, free: 4.988 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (108): * Single equations (assignments): 102 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002821/0.367, allocations: 3.17 MB / 0.5978 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005791/0.3728, allocations: 4.256 MB / 0.6019 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.3728, allocations: 4.938 kB / 0.6019 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.3736, allocations: 0.8696 MB / 0.6028 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.3757, allocations: 360.1 kB / 0.6031 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2137/0.5894, allocations: 41.54 MB / 0.6437 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.5919, allocations: 2.619 MB / 0.6463 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002875/0.5947, allocations: 2.225 MB / 0.6484 GB, free: 166.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.596, allocations: 1.665 MB / 0.6501 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/0.596, allocations: 0 / 0.6501 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.6703, allocations: 49.91 MB / 0.6988 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/9.149, allocations: 11.06 kB / 0.6988 GB, free: 151.1 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 11.259310501627624]