Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009237, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 181.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3956/0.3956, allocations: 43.58 MB / 315 MB, free: 8.926 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005475, allocations: 15.98 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2902/0.4281, allocations: 25.45 MB / 468.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4454, allocations: 6.296 MB / 475.2 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009175/0.4546, allocations: 113.9 kB / 475.3 MB, free: 32.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.4569, allocations: 459.7 kB / 475.7 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.4623, allocations: 1.508 MB / 477.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4636, allocations: 241 kB / 477.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.4709, allocations: 5.139 MB / 482.6 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007141/0.4781, allocations: 3.228 MB / 485.9 MB, free: 28.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.4809, allocations: 0.9446 MB / 486.8 MB, free: 28.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003057/0.484, allocations: 1.634 MB / 488.4 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4851, allocations: 133.8 kB / 488.6 MB, free: 27.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.4871, allocations: 0.6257 MB / 489.2 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.4887, allocations: 1.543 MB / 490.7 MB, free: 27.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.4908, allocations: 1.87 MB / 492.6 MB, free: 25.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009639/0.5004, allocations: 5.986 MB / 498.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5005, allocations: 4 kB / 498.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.5005, allocations: 0 / 498.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003317/0.5008, allocations: 0 / 498.6 MB, free: 24.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01171/0.5125, allocations: 3.401 MB / 0.4902 GB, free: 22.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.5126, allocations: 8.875 kB / 0.4902 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.526, allocations: 3.106 MB / 0.4933 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/0.5349, allocations: 1.843 MB / 0.4951 GB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.5353, allocations: 204.6 kB / 0.4953 GB, free: 19.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.5374, allocations: 261.1 kB / 0.4955 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.5603, allocations: 10.53 MB / 0.5058 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.5604, allocations: 36.09 kB / 0.5058 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004502/0.5609, allocations: 138.9 kB / 0.506 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004153/0.565, allocations: 2.438 MB / 0.5083 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.583, allocations: 9.366 MB / 0.5175 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07823/0.6612, allocations: 38.96 MB / 0.5555 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009005/0.6703, allocations: 3.487 MB / 0.5589 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.6733, allocations: 1.281 MB / 0.5602 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01432/0.6877, allocations: 5.45 MB / 0.5655 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.79e-05/0.6878, allocations: 47.12 kB / 0.5656 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 8.876e-06/0.6878, allocations: 0 / 0.5656 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.01151/0.6993, allocations: 3.365 MB / 0.5688 GB, free: 13.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.6995, allocations: 166.8 kB / 0.569 GB, free: 12.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009783/0.7093, allocations: 3.959 MB / 0.5729 GB, free: 9.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004356/0.7098, allocations: 41.7 kB / 0.5729 GB, free: 8.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003784/0.7136, allocations: 3.32 MB / 0.5761 GB, free: 5.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.7149, allocations: 0.6175 MB / 0.5768 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.716, allocations: 0.5596 MB / 0.5773 GB, free: 4.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7161, allocations: 305.1 kB / 0.5776 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/0.7198, allocations: 2.012 MB / 0.5796 GB, free: 2.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007922/0.7277, allocations: 6.299 MB / 0.5857 GB, free: 9.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.7408, allocations: 9.057 MB / 0.5945 GB, free: 14.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002769/0.7412, allocations: 44 kB / 0.5946 GB, free: 14.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0207/0.7619, allocations: 7.935 MB / 0.6023 GB, free: 6.477 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.7621, allocations: 71.94 kB / 0.6024 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003323/0.7625, allocations: 156 kB / 0.6026 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.7628, allocations: 204.1 kB / 0.6028 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005888/0.7687, allocations: 1.513 MB / 0.6042 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003343/0.769, allocations: 294.9 kB / 0.6045 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/0.7759, allocations: 0.9393 MB / 0.6054 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/0.7774, allocations: 416 kB / 0.6058 GB, free: 2.895 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.006815/0.7842, allocations: 2.284 MB / 0.6081 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008779/0.7851, allocations: 315.8 kB / 0.6084 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.7868, allocations: 424.2 kB / 0.6088 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/0.7869, allocations: 35.98 kB / 0.6088 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.787, allocations: 0 / 0.6088 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.787, allocations: 7.922 kB / 0.6088 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.8051, allocations: 5.7 MB / 0.6144 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.8052, allocations: 8.125 kB / 0.6144 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.8065, allocations: 211.7 kB / 0.6146 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.108e-05/0.8066, allocations: 12 kB / 0.6146 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.8068, allocations: 32.28 kB / 0.6146 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-05/0.8068, allocations: 15.94 kB / 0.6146 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.8068, allocations: 15.94 kB / 0.6147 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.8112, allocations: 2.585 MB / 0.6172 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.8129, allocations: 400.4 kB / 0.6176 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.8139, allocations: 28 kB / 0.6176 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.8152, allocations: 67.91 kB / 0.6177 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.8154, allocations: 92.22 kB / 0.6177 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.8155, allocations: 40 kB / 0.6178 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004792/0.8203, allocations: 2.419 MB / 0.6201 GB, free: 3.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8203, allocations: 0 / 0.6201 GB, free: 3.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006526/0.8269, allocations: 1.129 MB / 0.6212 GB, free: 2.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0004994/0.8274, allocations: 163 kB / 0.6214 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008275/0.8357, allocations: 4.528 MB / 0.6258 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8357, allocations: 448 / 0.6258 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.837, allocations: 0.9673 MB / 0.6268 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/0.8426, allocations: 344.9 kB / 0.6271 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/0.8649, allocations: 10.75 MB / 0.6376 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.284/1.149, allocations: 3.282 MB / 0.6408 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006338/1.155, allocations: 2.282 MB / 0.643 GB, free: 152.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007609/1.156, allocations: 231.8 kB / 0.6432 GB, free: 152.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.864e-06/1.156, allocations: 0 / 0.6432 GB, free: 152.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.0614/1.218, allocations: 24.6 MB / 0.6673 GB, free: 148.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches