Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.001317/0.001317, allocations: 112.5 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.001473/0.001473, allocations: 212.1 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.487/1.487, 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.2283/0.2283, allocations: 46.93 MB / 360.8 MB, free: 4.301 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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 76.06 kB / 0.4962 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3032, allocations: 66.1 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01447/0.3177, allocations: 12.01 MB / 0.5725 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008764/0.3265, allocations: 4.101 MB / 0.5765 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.3283, allocations: 91.69 kB / 0.5765 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.332, allocations: 1.701 MB / 0.5782 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.3359, allocations: 1.561 MB / 0.5797 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.3384, allocations: 1.2 MB / 0.5809 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005403/0.3438, allocations: 3.501 MB / 0.5843 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.347, allocations: 2 MB / 0.5863 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.349, allocations: 1.175 MB / 0.5874 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.3518, allocations: 1.732 MB / 0.5891 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007335/0.3525, allocations: 240 kB / 0.5893 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.3542, allocations: 0.7333 MB / 0.5901 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.3561, allocations: 1.593 MB / 0.5916 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.3589, allocations: 1.855 MB / 0.5934 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007776/0.3667, allocations: 6.15 MB / 0.5994 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3667, allocations: 0 / 0.5994 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3667, allocations: 0 / 0.5994 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001896/0.3669, allocations: 0 / 0.5994 GB, free: 12.62 MB / 446.1 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.008211/0.3751, allocations: 4.015 MB / 0.6034 GB, free: 8.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.3751, allocations: 12.03 kB / 0.6034 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/0.3768, allocations: 0.7125 MB / 0.6041 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00988/0.3867, allocations: 2.997 MB / 0.607 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.3926, allocations: 1.755 MB / 0.6087 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.3929, allocations: 212.8 kB / 0.6089 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.394, allocations: 243.8 kB / 0.6091 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.4186, allocations: 10.04 MB / 0.6189 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.4187, allocations: 27.75 kB / 0.619 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006531/0.4193, allocations: 123.8 kB / 0.6191 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005765/0.4251, allocations: 2.314 MB / 0.6213 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/0.4502, allocations: 8.933 MB / 0.6301 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0555/0.5057, allocations: 37.47 MB / 0.6667 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.5113, allocations: 2.343 MB / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.5132, allocations: 1.128 MB / 0.67 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.5235, allocations: 4.724 MB / 0.6747 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.5235, allocations: 51.14 kB / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.239e-06/0.5235, allocations: 0 / 0.6747 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007834/0.5313, allocations: 3.347 MB / 0.678 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.5315, allocations: 162.9 kB / 0.6781 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006761/0.5382, allocations: 3.841 MB / 0.6819 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.5384, allocations: 41.7 kB / 0.6819 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002957/0.5414, allocations: 3.321 MB / 0.6852 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008615/0.5422, allocations: 0.6321 MB / 0.6858 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/0.5447, allocations: 1.31 MB / 0.6871 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5448, allocations: 301.1 kB / 0.6873 GB, free: 476 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.5482, allocations: 1.957 MB / 0.6893 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007134/0.5553, allocations: 6.112 MB / 0.6952 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.5668, allocations: 8.793 MB / 0.7038 GB, free: 11.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/0.5669, allocations: 40 kB / 0.7039 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01537/0.5823, allocations: 7.725 MB / 0.7114 GB, free: 3.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.5825, allocations: 68 kB / 0.7115 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002547/0.5827, allocations: 148 kB / 0.7116 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.583, allocations: 196 kB / 0.7118 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/0.5879, allocations: 1.454 MB / 0.7132 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003416/0.5883, allocations: 290.9 kB / 0.7135 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/0.5932, allocations: 0.9388 MB / 0.7144 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/0.5944, allocations: 404.4 kB / 0.7148 GB, free: 200 kB / 0.545 GB 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.004715/0.5992, allocations: 2.191 MB / 0.7169 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/0.5999, allocations: 329.7 kB / 0.7172 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.6011, allocations: 403.1 kB / 0.7176 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.121e-05/0.6012, allocations: 39.98 kB / 0.7177 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.6012, allocations: 7.938 kB / 0.7177 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.6012, allocations: 7.984 kB / 0.7177 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.6138, allocations: 5.446 MB / 0.723 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.6138, allocations: 4 kB / 0.723 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6148, allocations: 207.7 kB / 0.7232 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/0.6149, allocations: 11.94 kB / 0.7232 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.615, allocations: 31.98 kB / 0.7232 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.615, allocations: 11.94 kB / 0.7233 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.615, allocations: 8 kB / 0.7233 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.6186, allocations: 2.55 MB / 0.7258 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/0.6195, allocations: 321.3 kB / 0.7261 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.62, allocations: 27.98 kB / 0.7261 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.6212, allocations: 71.97 kB / 0.7262 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.6214, allocations: 84.19 kB / 0.7262 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6215, allocations: 47.98 kB / 0.7263 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004586/0.6261, allocations: 2.334 MB / 0.7286 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6261, allocations: 0 / 0.7286 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005152/0.6313, allocations: 1.072 MB / 0.7296 GB, free: 0.8008 MB / 0.5606 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.2632/0.8945, allocations: 3.174 MB / 0.7327 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006536/0.9011, allocations: 4.259 MB / 0.7369 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.9011, allocations: 2.969 kB / 0.7369 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.9022, allocations: 0.8779 MB / 0.7377 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.9041, allocations: 342.1 kB / 0.7381 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04798/0.952, allocations: 41.8 MB / 0.7789 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/0.9554, allocations: 3.164 MB / 0.782 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004171/0.9595, allocations: 2.227 MB / 0.7841 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/0.9616, allocations: 1.663 MB / 0.7858 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/0.9616, allocations: 0 / 0.7858 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0941/1.056, allocations: 56.56 MB / 0.841 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.31/23.37, allocations: 14.25 kB / 0.841 GB, free: 46.6 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 26.51938915089704]