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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 95.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 63.46 MB / 481.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02133/0.1495, allocations: 22.12 MB / 0.4917 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1629, allocations: 6.212 MB / 0.4978 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.1679, allocations: 111.8 kB / 0.4979 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004706/0.1727, allocations: 1.155 MB / 0.499 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.1837, allocations: 3.121 MB / 0.502 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.1859, allocations: 0.5421 MB / 0.5026 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.1901, allocations: 2.003 MB / 0.5045 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2667/0.4568, allocations: 2.772 MB / 0.5072 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.4592, allocations: 0.8305 MB / 0.5081 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.4624, allocations: 1.062 MB / 0.5091 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.4637, allocations: 126.5 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.4656, allocations: 0.5232 MB / 0.5097 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.4681, allocations: 1.34 MB / 0.511 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.4702, allocations: 0.7641 MB / 0.5118 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.4796, allocations: 4.793 MB / 0.5165 GB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4797, allocations: 0 / 0.5165 GB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4797, allocations: 0 / 0.5165 GB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003554/0.4801, allocations: 0 / 0.5165 GB, free: 11.54 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01129/0.4914, allocations: 3.412 MB / 0.5198 GB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4914, allocations: 12.69 kB / 0.5198 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.5044, allocations: 3.644 MB / 0.5234 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006883/0.5114, allocations: 1.796 MB / 0.5251 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.5117, allocations: 193.5 kB / 0.5253 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.5139, allocations: 249.5 kB / 0.5255 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.535, allocations: 10.23 MB / 0.5355 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.549e-05/0.5352, allocations: 33 kB / 0.5356 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/0.5357, allocations: 128.1 kB / 0.5357 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003828/0.5395, allocations: 2.384 MB / 0.538 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5569, allocations: 9.077 MB / 0.5469 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/0.6213, allocations: 38.17 MB / 0.5841 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/0.6277, allocations: 3.389 MB / 0.5875 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.639, allocations: 5.194 MB / 0.5925 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6391, allocations: 57.92 kB / 0.5926 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 5.25e-06/0.6391, allocations: 0 / 0.5926 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007715/0.6468, allocations: 3.83 MB / 0.5963 GB, free: 14.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.647, allocations: 170.3 kB / 0.5965 GB, free: 13.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008166/0.6552, allocations: 3.849 MB / 0.6002 GB, free: 10 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.6556, allocations: 43.42 kB / 0.6003 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003189/0.6588, allocations: 3.231 MB / 0.6034 GB, free: 6.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.66, allocations: 0.6065 MB / 0.604 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.6604, allocations: 126.7 kB / 0.6042 GB, free: 6.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000422/0.6608, allocations: 0.5868 MB / 0.6047 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.6642, allocations: 1.941 MB / 0.6066 GB, free: 3.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006724/0.671, allocations: 6.106 MB / 0.6126 GB, free: 11.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/0.6773, allocations: 3.445 MB / 0.616 GB, free: 7.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.6775, allocations: 40 kB / 0.616 GB, free: 7.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01989/0.6974, allocations: 7.696 MB / 0.6235 GB, free: 176 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.6978, allocations: 72 kB / 0.6236 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004447/0.6983, allocations: 148 kB / 0.6237 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.6987, allocations: 216.5 kB / 0.6239 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/0.7054, allocations: 1.466 MB / 0.6254 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004454/0.7058, allocations: 294.8 kB / 0.6256 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00686/0.7127, allocations: 0.9216 MB / 0.6265 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/0.7145, allocations: 414.6 kB / 0.6269 GB, free: 12.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007234/0.7218, allocations: 2.23 MB / 0.6291 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/0.7227, allocations: 308.2 kB / 0.6294 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.7244, allocations: 411.4 kB / 0.6298 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-05/0.7245, allocations: 38.64 kB / 0.6298 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.7245, allocations: 4 kB / 0.6298 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.7245, allocations: 3.984 kB / 0.6298 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.7416, allocations: 5.532 MB / 0.6352 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/0.7417, allocations: 12.03 kB / 0.6353 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7427, allocations: 203.7 kB / 0.6354 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.7427, allocations: 12 kB / 0.6355 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.7429, allocations: 30.64 kB / 0.6355 GB, free: 3.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.7429, allocations: 15.94 kB / 0.6355 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7429, allocations: 4 kB / 0.6355 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.7463, allocations: 3.109 MB / 0.6385 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.7475, allocations: 388.6 kB / 0.6389 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/0.7479, allocations: 27.98 kB / 0.6389 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.749, allocations: 64.23 kB / 0.639 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.7492, allocations: 76.36 kB / 0.6391 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.976e-05/0.7493, allocations: 46.66 kB / 0.6391 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004607/0.7539, allocations: 2.339 MB / 0.6414 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.7539, allocations: 7.938 kB / 0.6414 GB, free: 13.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007261/0.7612, allocations: 1.106 MB / 0.6425 GB, free: 12.41 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007307/0.762, allocations: 154.1 kB / 0.6426 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009024/0.771, allocations: 4.411 MB / 0.6469 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.7711, allocations: 1.875 kB / 0.6469 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.7725, allocations: 0.9496 MB / 0.6479 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.7745, allocations: 335.5 kB / 0.6482 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.7947, allocations: 9.988 MB / 0.6579 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/0.7991, allocations: 3.285 MB / 0.6612 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005639/0.8047, allocations: 2.237 MB / 0.6633 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.8054, allocations: 227.4 kB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.8054, allocations: 0 / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.05285/0.8582, allocations: 23.66 MB / 0.6867 GB, free: 15.23 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches