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.001146/0.001146, allocations: 88.19 kB / 15.7 MB, free: 460 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.001707/0.001707, allocations: 183.5 kB / 16.59 MB, free: 6.84 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.53/1.53, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.44/0.44, allocations: 43.58 MB / 314.6 MB, free: 8.711 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.0005029/0.0005029, allocations: 15.98 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2876/0.4349, allocations: 23.7 MB / 466.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.4478, allocations: 5.948 MB / 472.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.4527, allocations: 117.7 kB / 472.6 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.4557, allocations: 1.111 MB / 473.7 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008981/0.4647, allocations: 3.366 MB / 477.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4659, allocations: 219.8 kB / 477.3 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005148/0.471, allocations: 3.966 MB / 481.2 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.4748, allocations: 2.849 MB / 484.1 MB, free: 29.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.4766, allocations: 1.039 MB / 485.1 MB, free: 29.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.479, allocations: 1.607 MB / 486.7 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005822/0.4796, allocations: 130.8 kB / 486.9 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.4812, allocations: 0.5308 MB / 487.4 MB, free: 29.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.4831, allocations: 1.483 MB / 488.9 MB, free: 28.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009464/0.4841, allocations: 0.7914 MB / 489.7 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.4925, allocations: 4.967 MB / 494.6 MB, free: 26.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.4926, allocations: 0 / 494.6 MB, free: 26.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4926, allocations: 0 / 494.6 MB, free: 26.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003776/0.493, allocations: 0 / 494.6 MB, free: 26.96 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.01165/0.5046, allocations: 3.455 MB / 498.1 MB, free: 24.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5047, allocations: 9.031 kB / 498.1 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.5154, allocations: 3.104 MB / 0.4895 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/0.5213, allocations: 1.827 MB / 0.4912 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.5218, allocations: 202.3 kB / 0.4914 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/0.5236, allocations: 257.4 kB / 0.4917 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/0.5486, allocations: 10.51 MB / 0.5019 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/0.5489, allocations: 36.48 kB / 0.502 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.5503, allocations: 135.1 kB / 0.5021 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004647/0.555, allocations: 2.44 MB / 0.5045 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.5747, allocations: 9.319 MB / 0.5136 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0624/0.6371, allocations: 38.93 MB / 0.5516 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/0.6438, allocations: 3.483 MB / 0.555 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.6462, allocations: 1.27 MB / 0.5562 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.6574, allocations: 5.466 MB / 0.5616 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.6575, allocations: 51.06 kB / 0.5616 GB, free: 4.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 7.343e-06/0.6575, allocations: 0 / 0.5616 GB, free: 4.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007912/0.6655, allocations: 3.352 MB / 0.5649 GB, free: 0.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.6656, allocations: 170.8 kB / 0.5651 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/0.6732, allocations: 3.932 MB / 0.5689 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/0.6735, allocations: 41.7 kB / 0.5689 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002701/0.6762, allocations: 3.316 MB / 0.5722 GB, free: 9.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009628/0.6772, allocations: 0.6291 MB / 0.5728 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.6775, allocations: 124 kB / 0.5729 GB, free: 8.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004225/0.678, allocations: 0.595 MB / 0.5735 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.6811, allocations: 1.977 MB / 0.5754 GB, free: 5.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006229/0.6873, allocations: 6.28 MB / 0.5816 GB, free: 13.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.6924, allocations: 3.518 MB / 0.585 GB, free: 9.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.465e-05/0.6925, allocations: 44 kB / 0.585 GB, free: 9.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01505/0.7076, allocations: 7.876 MB / 0.5927 GB, free: 2.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.7078, allocations: 73 kB / 0.5928 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.708, allocations: 152 kB / 0.5929 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.7082, allocations: 228 kB / 0.5932 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/0.7129, allocations: 1.513 MB / 0.5946 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002914/0.7133, allocations: 300.1 kB / 0.5949 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/0.7191, allocations: 0.9456 MB / 0.5959 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/0.7199, allocations: 416 kB / 0.5962 GB, free: 14.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005541/0.7254, allocations: 2.28 MB / 0.5985 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/0.7261, allocations: 319.8 kB / 0.5988 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.7271, allocations: 420.3 kB / 0.5992 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.575e-05/0.7272, allocations: 43.92 kB / 0.5992 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.7272, allocations: 4 kB / 0.5992 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.7272, allocations: 3.984 kB / 0.5992 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.7391, allocations: 5.693 MB / 0.6048 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.7392, allocations: 8 kB / 0.6048 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.7401, allocations: 211.7 kB / 0.605 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.7402, allocations: 12 kB / 0.605 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/0.7403, allocations: 35.97 kB / 0.605 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.7403, allocations: 11.94 kB / 0.6051 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.7403, allocations: 11.95 kB / 0.6051 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.7436, allocations: 2.57 MB / 0.6076 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.7446, allocations: 396.8 kB / 0.608 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.7449, allocations: 27.98 kB / 0.608 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.746, allocations: 67.92 kB / 0.608 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7461, allocations: 96.23 kB / 0.6081 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/0.7462, allocations: 44 kB / 0.6082 GB, free: 1.934 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004348/0.7506, allocations: 2.391 MB / 0.6105 GB, free: 15.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7506, allocations: 4 kB / 0.6105 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006435/0.7571, allocations: 1.129 MB / 0.6116 GB, free: 14.42 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 (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.0004983/0.7576, allocations: 158.9 kB / 0.6118 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007795/0.7654, allocations: 4.496 MB / 0.6162 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/0.7654, allocations: 4.25 kB / 0.6162 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.7667, allocations: 0.9639 MB / 0.6171 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.7693, allocations: 346.7 kB / 0.6174 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/0.7883, allocations: 10.32 MB / 0.6275 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/0.7925, allocations: 3.283 MB / 0.6307 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006095/0.7986, allocations: 2.283 MB / 0.633 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/0.7993, allocations: 231.4 kB / 0.6332 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.7993, allocations: 0 / 0.6332 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of Templates: time 0.3277/1.127, allocations: 24.18 MB / 0.6568 GB, free: 150.7 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