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.001174/0.001174, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 80.05 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 62.44 MB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02156/0.1345, allocations: 22.24 MB / 0.4904 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1464, allocations: 5.738 MB / 0.496 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.1502, allocations: 99.75 kB / 0.4961 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.1536, allocations: 1.632 MB / 0.4977 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.157, allocations: 1.441 MB / 0.4991 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1592, allocations: 1.181 MB / 0.5002 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005396/0.1646, allocations: 4.961 MB / 0.5051 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2195/0.3841, allocations: 2.444 MB / 0.5075 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.3861, allocations: 1.01 MB / 0.5085 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.3887, allocations: 1.684 MB / 0.5101 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.3894, allocations: 172.3 kB / 0.5103 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3913, allocations: 0.679 MB / 0.5109 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.3933, allocations: 1.499 MB / 0.5124 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.3956, allocations: 1.82 MB / 0.5142 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006576/0.4022, allocations: 4.787 MB / 0.5189 GB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4023, allocations: 0 / 0.5189 GB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4023, allocations: 0 / 0.5189 GB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002684/0.4025, allocations: 0 / 0.5189 GB, free: 9.879 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01141/0.414, allocations: 3.977 MB / 0.5227 GB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.414, allocations: 9.469 kB / 0.5227 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009903/0.4239, allocations: 2.965 MB / 0.5256 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.4287, allocations: 1.793 MB / 0.5274 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.429, allocations: 196.8 kB / 0.5276 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/0.4299, allocations: 247.5 kB / 0.5278 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.4452, allocations: 10.05 MB / 0.5376 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.545e-05/0.4453, allocations: 36.53 kB / 0.5377 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/0.4458, allocations: 122.8 kB / 0.5378 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002911/0.4487, allocations: 2.308 MB / 0.54 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.4655, allocations: 8.93 MB / 0.5488 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05282/0.5183, allocations: 37.71 MB / 0.5856 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005621/0.524, allocations: 3.371 MB / 0.5889 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.5257, allocations: 1.235 MB / 0.5901 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008454/0.5342, allocations: 5.167 MB / 0.5951 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.5343, allocations: 51.11 kB / 0.5952 GB, free: 8.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 6.052e-06/0.5343, allocations: 4 kB / 0.5952 GB, free: 8.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007131/0.5414, allocations: 3.329 MB / 0.5984 GB, free: 4.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5416, allocations: 169.9 kB / 0.5986 GB, free: 4.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/0.5477, allocations: 3.828 MB / 0.6023 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.548, allocations: 45.06 kB / 0.6024 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.5503, allocations: 3.172 MB / 0.6055 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/0.5512, allocations: 0.6074 MB / 0.6061 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.5529, allocations: 1.303 MB / 0.6073 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.553, allocations: 301.1 kB / 0.6076 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.5558, allocations: 1.953 MB / 0.6095 GB, free: 9.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/0.5613, allocations: 6.112 MB / 0.6155 GB, free: 1.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/0.5708, allocations: 8.797 MB / 0.6241 GB, free: 7.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.5709, allocations: 40 kB / 0.6241 GB, free: 7.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01428/0.5852, allocations: 7.704 MB / 0.6316 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.5854, allocations: 68 kB / 0.6317 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/0.5856, allocations: 151.9 kB / 0.6319 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.5859, allocations: 192 kB / 0.632 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/0.5909, allocations: 1.459 MB / 0.6335 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002836/0.5912, allocations: 290.9 kB / 0.6337 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/0.5966, allocations: 0.9084 MB / 0.6346 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.5979, allocations: 406 kB / 0.635 GB, free: 12.22 MB / 494.1 MB 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.005096/0.603, allocations: 2.197 MB / 0.6372 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/0.6037, allocations: 303.9 kB / 0.6375 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.6049, allocations: 419 kB / 0.6379 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.703e-05/0.605, allocations: 39.83 kB / 0.6379 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.605, allocations: 4 kB / 0.6379 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.605, allocations: 3.984 kB / 0.6379 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.6171, allocations: 5.461 MB / 0.6432 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.6171, allocations: 8 kB / 0.6432 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009548/0.6181, allocations: 203.7 kB / 0.6434 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.6181, allocations: 12.31 kB / 0.6434 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.6182, allocations: 27.94 kB / 0.6435 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/0.6183, allocations: 19.92 kB / 0.6435 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.6183, allocations: 12.47 kB / 0.6435 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.6214, allocations: 2.532 MB / 0.646 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/0.6223, allocations: 372.7 kB / 0.6463 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006415/0.6229, allocations: 27.94 kB / 0.6464 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6242, allocations: 78.81 kB / 0.6464 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.6244, allocations: 76.3 kB / 0.6465 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6245, allocations: 47.98 kB / 0.6465 GB, free: 200 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00502/0.6296, allocations: 2.335 MB / 0.6488 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6296, allocations: 0 / 0.6488 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0065/0.6361, allocations: 1.061 MB / 0.6499 GB, free: 12.81 MB / 0.4981 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.0006273/0.6367, allocations: 149.9 kB / 0.65 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007637/0.6444, allocations: 4.419 MB / 0.6543 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.6444, allocations: 4 kB / 0.6543 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.6458, allocations: 0.9523 MB / 0.6553 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.6486, allocations: 338.5 kB / 0.6556 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.668, allocations: 10.73 MB / 0.6661 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004313/0.6724, allocations: 3.17 MB / 0.6692 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.6736, allocations: 271.4 kB / 0.6694 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of SimCode: time 5.249e-06/0.6736, allocations: 4 kB / 0.6694 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.3225/0.9961, allocations: 52.15 MB / 0.7204 GB, free: 192.9 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches