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.00118/0.00118, allocations: 108.3 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 186 kB / 17.56 MB, free: 5.926 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.373/1.373, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.001392/0.001392, allocations: 69.23 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02348/0.1363, allocations: 26.32 MB / 467 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1505, allocations: 6.276 MB / 473.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005881/0.1564, allocations: 115.8 kB / 473.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.1605, allocations: 1.601 MB / 475 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.1651, allocations: 1.514 MB / 476.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.1677, allocations: 1.142 MB / 477.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005565/0.1733, allocations: 3.681 MB / 481.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/0.1774, allocations: 2.672 MB / 484 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.1797, allocations: 1.23 MB / 485.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.1827, allocations: 1.869 MB / 487.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000999/0.1837, allocations: 252 kB / 487.3 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.1857, allocations: 0.7178 MB / 488 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.188, allocations: 1.683 MB / 489.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.1908, allocations: 2.015 MB / 491.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.1969, allocations: 5.15 MB / 496.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1969, allocations: 0 / 496.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1969, allocations: 0 / 496.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000206/0.1971, allocations: 4 kB / 496.9 MB, free: 14.89 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.008829/0.206, allocations: 4.188 MB / 0.4893 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.206, allocations: 8.031 kB / 0.4893 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.2161, allocations: 3.021 MB / 0.4923 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/0.2202, allocations: 1.854 MB / 0.4941 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2205, allocations: 201.3 kB / 0.4943 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.2215, allocations: 263.8 kB / 0.4945 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.2393, allocations: 10.52 MB / 0.5048 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.096e-05/0.2394, allocations: 27.75 kB / 0.5048 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000508/0.2399, allocations: 131.8 kB / 0.505 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.244, allocations: 2.443 MB / 0.5074 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.2615, allocations: 9.369 MB / 0.5165 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2291/0.4906, allocations: 38.92 MB / 0.5545 GB, free: 62.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/0.4962, allocations: 3.492 MB / 0.5579 GB, free: 60.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.4982, allocations: 1.282 MB / 0.5592 GB, free: 60.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008164/0.5064, allocations: 5.46 MB / 0.5645 GB, free: 57.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5064, allocations: 46.38 kB / 0.5646 GB, free: 57.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 6.021e-06/0.5064, allocations: 0 / 0.5646 GB, free: 57.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.006183/0.5126, allocations: 3.354 MB / 0.5678 GB, free: 56.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.5127, allocations: 172.8 kB / 0.568 GB, free: 56.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/0.5175, allocations: 3.95 MB / 0.5719 GB, free: 54.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.5177, allocations: 47.83 kB / 0.5719 GB, free: 54.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.5193, allocations: 3.319 MB / 0.5751 GB, free: 51.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.5198, allocations: 0.6252 MB / 0.5758 GB, free: 50.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.5212, allocations: 1.346 MB / 0.5771 GB, free: 50.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.5212, allocations: 301.1 kB / 0.5774 GB, free: 49.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5234, allocations: 2.002 MB / 0.5793 GB, free: 48.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.5267, allocations: 6.306 MB / 0.5855 GB, free: 40.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00686/0.5335, allocations: 9.058 MB / 0.5943 GB, free: 29.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.5337, allocations: 44 kB / 0.5944 GB, free: 29.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01149/0.5452, allocations: 7.931 MB / 0.6021 GB, free: 21.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.5453, allocations: 72 kB / 0.6022 GB, free: 21.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.5454, allocations: 152 kB / 0.6023 GB, free: 20.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.5456, allocations: 203.9 kB / 0.6025 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.5495, allocations: 1.505 MB / 0.604 GB, free: 19.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001566/0.5496, allocations: 304.8 kB / 0.6043 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.5542, allocations: 0.9513 MB / 0.6052 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009963/0.5553, allocations: 415.5 kB / 0.6056 GB, free: 17.53 MB / 414.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.003046/0.5583, allocations: 2.285 MB / 0.6078 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.5588, allocations: 315.8 kB / 0.6081 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.5594, allocations: 416.2 kB / 0.6085 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.5595, allocations: 39.98 kB / 0.6086 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.5595, allocations: 4 kB / 0.6086 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5595, allocations: 11.97 kB / 0.6086 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/0.5666, allocations: 5.706 MB / 0.6141 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5666, allocations: 8 kB / 0.6142 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.5675, allocations: 211.7 kB / 0.6144 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.5675, allocations: 8 kB / 0.6144 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.5676, allocations: 36.41 kB / 0.6144 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.5676, allocations: 15.92 kB / 0.6144 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5676, allocations: 12 kB / 0.6144 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.5697, allocations: 2.589 MB / 0.617 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.5703, allocations: 384.5 kB / 0.6173 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.5706, allocations: 27.98 kB / 0.6173 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.5716, allocations: 66.34 kB / 0.6174 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5718, allocations: 88.28 kB / 0.6175 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.5719, allocations: 47.94 kB / 0.6175 GB, free: 5.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002706/0.5746, allocations: 2.407 MB / 0.6199 GB, free: 2.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5746, allocations: 4 kB / 0.6199 GB, free: 2.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004464/0.579, allocations: 1.131 MB / 0.621 GB, free: 1.547 MB / 414.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.0003402/0.5794, allocations: 164.8 kB / 0.6212 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007927/0.5873, allocations: 5.205 MB / 0.6262 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.5874, allocations: 0 / 0.6262 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.5886, allocations: 0.9686 MB / 0.6272 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5908, allocations: 356.1 kB / 0.6275 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.6071, allocations: 11.21 MB / 0.6385 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/0.6106, allocations: 3.291 MB / 0.6417 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009587/0.6116, allocations: 291.4 kB / 0.642 GB, free: 11.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6116, allocations: 0 / 0.642 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Templates: time 0.08384/0.6954, allocations: 54.29 MB / 0.695 GB, free: 5.688 MB / 494.1 MB 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/jenkins1/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