Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00174/0.00174, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 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.002118/0.002118, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.61/1.61, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 0.4916 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1442, allocations: 65.99 MB / 0.5561 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01483/0.159, allocations: 11.97 MB / 0.5677 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008894/0.1679, allocations: 4.093 MB / 0.5717 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.1699, allocations: 87.69 kB / 0.5718 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003566/0.1735, allocations: 1.686 MB / 0.5735 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.1776, allocations: 1.549 MB / 0.575 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.1804, allocations: 1.188 MB / 0.5761 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005802/0.1862, allocations: 3.509 MB / 0.5796 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/0.1895, allocations: 2.059 MB / 0.5816 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.1919, allocations: 1.183 MB / 0.5827 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.1948, allocations: 1.725 MB / 0.5844 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006987/0.1954, allocations: 240 kB / 0.5847 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.1972, allocations: 0.7411 MB / 0.5854 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.1994, allocations: 1.589 MB / 0.5869 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.202, allocations: 1.863 MB / 0.5887 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3163/0.5183, allocations: 6.142 MB / 0.5947 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5184, allocations: 0 / 0.5947 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5184, allocations: 0 / 0.5947 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.5186, allocations: 0.9062 kB / 0.5947 GB, free: 12.55 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.009784/0.5284, allocations: 4.092 MB / 0.5987 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.5284, allocations: 9.969 kB / 0.5988 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002143/0.5286, allocations: 94.05 kB / 0.5988 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/0.5302, allocations: 0.714 MB / 0.5995 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.5421, allocations: 2.996 MB / 0.6025 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005561/0.5477, allocations: 1.82 MB / 0.6042 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.5479, allocations: 189.6 kB / 0.6044 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.5491, allocations: 251 kB / 0.6047 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.5689, allocations: 10.04 MB / 0.6145 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.569, allocations: 30.56 kB / 0.6145 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/0.5696, allocations: 128.2 kB / 0.6146 GB, free: 6.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.5738, allocations: 2.316 MB / 0.6169 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.5902, allocations: 8.922 MB / 0.6256 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05557/0.6458, allocations: 37.6 MB / 0.6623 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00656/0.6523, allocations: 3.266 MB / 0.6655 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.6544, allocations: 1.13 MB / 0.6666 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.6649, allocations: 5.18 MB / 0.6717 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.6649, allocations: 50.25 kB / 0.6717 GB, free: 5.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 6.492e-06/0.6649, allocations: 0 / 0.6717 GB, free: 5.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.008306/0.6733, allocations: 3.343 MB / 0.675 GB, free: 2.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.6734, allocations: 169.7 kB / 0.6751 GB, free: 2.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007395/0.6808, allocations: 3.835 MB / 0.6789 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.6811, allocations: 49.7 kB / 0.6789 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002981/0.6841, allocations: 3.318 MB / 0.6822 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.6851, allocations: 0.6305 MB / 0.6828 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.6872, allocations: 1.312 MB / 0.6841 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6873, allocations: 301.1 kB / 0.6844 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.6904, allocations: 1.953 MB / 0.6863 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/0.6972, allocations: 6.11 MB / 0.6922 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.7085, allocations: 8.791 MB / 0.7008 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/0.7086, allocations: 44 kB / 0.7009 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01512/0.7237, allocations: 7.714 MB / 0.7084 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.7238, allocations: 71.94 kB / 0.7085 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.724, allocations: 148 kB / 0.7086 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.7243, allocations: 198 kB / 0.7088 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/0.7291, allocations: 1.462 MB / 0.7102 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003089/0.7294, allocations: 288.5 kB / 0.7105 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/0.7345, allocations: 0.935 MB / 0.7114 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.7356, allocations: 404 kB / 0.7118 GB, free: 9.691 MB / 0.5294 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.004566/0.7402, allocations: 2.194 MB / 0.7139 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/0.741, allocations: 326.9 kB / 0.7142 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.7422, allocations: 407.1 kB / 0.7146 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-05/0.7423, allocations: 39.98 kB / 0.7147 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.7423, allocations: 0 / 0.7147 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7423, allocations: 11.98 kB / 0.7147 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.7536, allocations: 5.467 MB / 0.72 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/0.7536, allocations: 4 kB / 0.72 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.7546, allocations: 207.7 kB / 0.7202 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.7547, allocations: 11.94 kB / 0.7202 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7548, allocations: 28.16 kB / 0.7203 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.7548, allocations: 19.92 kB / 0.7203 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.7548, allocations: 7.938 kB / 0.7203 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.7584, allocations: 2.547 MB / 0.7228 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000785/0.7592, allocations: 382.6 kB / 0.7231 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/0.7595, allocations: 31.61 kB / 0.7232 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7606, allocations: 68.53 kB / 0.7232 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.7607, allocations: 85.56 kB / 0.7233 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7609, allocations: 47.98 kB / 0.7234 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004029/0.7649, allocations: 2.33 MB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7649, allocations: 0 / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005291/0.7702, allocations: 1.074 MB / 0.7267 GB, free: 10.24 MB / 0.545 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.004018/0.7742, allocations: 3.183 MB / 0.7298 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007287/0.7815, allocations: 4.261 MB / 0.734 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7815, allocations: 1.531 kB / 0.734 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.7828, allocations: 0.8751 MB / 0.7348 GB, free: 1.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.7849, allocations: 367.5 kB / 0.7352 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06182/0.8467, allocations: 41.79 MB / 0.776 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/0.8509, allocations: 3.17 MB / 0.7791 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005179/0.8561, allocations: 2.224 MB / 0.7812 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/0.8586, allocations: 1.663 MB / 0.7829 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of SimCode: time 9.21e-07/0.8586, allocations: 0 / 0.7829 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09633/0.955, allocations: 51.31 MB / 0.833 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/19.62, allocations: 10.03 kB / 0.833 GB, free: 7.125 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 23.588553556008264]