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.001346/0.001346, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.0014/0.0014, allocations: 198.4 kB / 18.02 MB, free: 5.047 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2019/0.2019, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 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.001452/0.001452, allocations: 73.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01315/0.1328, allocations: 12.43 MB / 0.5007 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009666/0.1426, allocations: 4.055 MB / 0.5046 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.145, allocations: 79.81 kB / 0.5047 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.1488, allocations: 1.686 MB / 0.5064 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.1535, allocations: 1.591 MB / 0.5079 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1561, allocations: 1.188 MB / 0.5091 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005579/0.1617, allocations: 3.623 MB / 0.5126 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.1657, allocations: 2.516 MB / 0.5151 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.1682, allocations: 1.218 MB / 0.5163 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.1709, allocations: 1.658 MB / 0.5179 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.172, allocations: 252 kB / 0.5181 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.1741, allocations: 0.7177 MB / 0.5188 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.1762, allocations: 1.66 MB / 0.5204 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.1797, allocations: 1.98 MB / 0.5224 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008212/0.1879, allocations: 6.511 MB / 0.5287 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1879, allocations: 4 kB / 0.5287 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.188, allocations: 4 kB / 0.5287 GB, free: 2.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.1882, allocations: 0 / 0.5287 GB, free: 2.418 MB / 414.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.28/0.4682, allocations: 4.187 MB / 0.5328 GB, free: 37.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4683, allocations: 11.91 kB / 0.5328 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.4797, allocations: 3.017 MB / 0.5358 GB, free: 37.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.4849, allocations: 1.873 MB / 0.5376 GB, free: 36.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.4851, allocations: 198.2 kB / 0.5378 GB, free: 36.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.4863, allocations: 260 kB / 0.538 GB, free: 36.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.5062, allocations: 10.52 MB / 0.5483 GB, free: 32.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.807e-05/0.5063, allocations: 33.06 kB / 0.5484 GB, free: 32.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004691/0.5068, allocations: 130.9 kB / 0.5485 GB, free: 32.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004161/0.511, allocations: 2.442 MB / 0.5509 GB, free: 31.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.5279, allocations: 9.364 MB / 0.56 GB, free: 25.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.574, allocations: 38.75 MB / 0.5979 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.58, allocations: 3.494 MB / 0.6013 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.5821, allocations: 1.276 MB / 0.6025 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009639/0.5918, allocations: 5.447 MB / 0.6078 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5918, allocations: 55.05 kB / 0.6079 GB, free: 6.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 5.831e-06/0.5919, allocations: 4 kB / 0.6079 GB, free: 6.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007056/0.5989, allocations: 3.353 MB / 0.6112 GB, free: 3.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.599, allocations: 178.7 kB / 0.6113 GB, free: 3.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/0.6052, allocations: 3.948 MB / 0.6152 GB, free: 15.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.6056, allocations: 41.7 kB / 0.6152 GB, free: 15.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.6081, allocations: 3.316 MB / 0.6185 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.6091, allocations: 0.6252 MB / 0.6191 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.6108, allocations: 1.348 MB / 0.6204 GB, free: 9.742 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.611, allocations: 305.1 kB / 0.6207 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.6138, allocations: 2 MB / 0.6226 GB, free: 7.438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/0.6193, allocations: 6.303 MB / 0.6288 GB, free: 14.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009963/0.6293, allocations: 9.071 MB / 0.6376 GB, free: 3.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/0.6295, allocations: 44 kB / 0.6377 GB, free: 3.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01423/0.6437, allocations: 7.918 MB / 0.6454 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.6439, allocations: 72.09 kB / 0.6455 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/0.6441, allocations: 160.8 kB / 0.6456 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.6443, allocations: 200 kB / 0.6458 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.6487, allocations: 1.52 MB / 0.6473 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000215/0.6489, allocations: 298.8 kB / 0.6476 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/0.6537, allocations: 0.9392 MB / 0.6485 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006289/0.6544, allocations: 420 kB / 0.6489 GB, free: 8.203 MB / 494.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.003462/0.6579, allocations: 2.288 MB / 0.6512 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005375/0.6584, allocations: 315.8 kB / 0.6515 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.6591, allocations: 420.2 kB / 0.6519 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/0.6592, allocations: 39.98 kB / 0.6519 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.6592, allocations: 4 kB / 0.6519 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6592, allocations: 3.984 kB / 0.6519 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008398/0.6676, allocations: 5.696 MB / 0.6575 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6677, allocations: 8.047 kB / 0.6575 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009271/0.6686, allocations: 216.4 kB / 0.6577 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.6686, allocations: 8 kB / 0.6577 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.6687, allocations: 36 kB / 0.6577 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.6688, allocations: 15.94 kB / 0.6577 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6688, allocations: 7.938 kB / 0.6577 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.6716, allocations: 2.597 MB / 0.6603 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/0.6722, allocations: 372.6 kB / 0.6606 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6725, allocations: 24 kB / 0.6607 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.6735, allocations: 67.91 kB / 0.6607 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.6737, allocations: 88.28 kB / 0.6608 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.6738, allocations: 47.98 kB / 0.6609 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00326/0.677, allocations: 2.411 MB / 0.6632 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.677, allocations: 0 / 0.6632 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00495/0.682, allocations: 1.132 MB / 0.6643 GB, free: 8.188 MB / 0.4981 GB 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.0003707/0.6824, allocations: 161.5 kB / 0.6645 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007539/0.6899, allocations: 4.551 MB / 0.6689 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.69, allocations: 4 kB / 0.6689 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.6913, allocations: 0.9651 MB / 0.6699 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.6934, allocations: 368.2 kB / 0.6702 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.7078, allocations: 9.109 MB / 0.6791 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.7111, allocations: 3.292 MB / 0.6823 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.7122, allocations: 283.4 kB / 0.6826 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.7122, allocations: 0 / 0.6826 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of Templates: time 0.08712/0.7993, allocations: 55.56 MB / 0.7369 GB, free: 13.73 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches