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.001014/0.001014, allocations: 95.97 kB / 15.68 MB, free: 488 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.001285/0.001285, allocations: 176.4 kB / 16.56 MB, free: 6.379 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.479/1.479, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.3578/0.3578, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.0005229/0.000523, allocations: 12 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2466/0.3737, allocations: 22.42 MB / 465.2 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3886, allocations: 6.142 MB / 471.3 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/0.3939, allocations: 114.4 kB / 471.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.3978, allocations: 1.171 MB / 472.6 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.4086, allocations: 3.148 MB / 475.7 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.4113, allocations: 0.5387 MB / 476.3 MB, free: 32.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004611/0.416, allocations: 2.028 MB / 478.3 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004789/0.4208, allocations: 2.828 MB / 481.1 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.4229, allocations: 0.8566 MB / 482 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.4251, allocations: 1.123 MB / 483.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.4261, allocations: 129.6 kB / 483.2 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.428, allocations: 0.5206 MB / 483.8 MB, free: 29.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.4301, allocations: 1.378 MB / 485.1 MB, free: 29.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.4315, allocations: 0.7932 MB / 485.9 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007426/0.4389, allocations: 4.962 MB / 490.9 MB, free: 27.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.439, allocations: 3.938 kB / 490.9 MB, free: 27.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.439, allocations: 0 / 490.9 MB, free: 27.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003265/0.4393, allocations: 0 / 490.9 MB, free: 27.86 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.0103/0.4496, allocations: 3.505 MB / 494.4 MB, free: 25.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/0.4497, allocations: 8.938 kB / 494.4 MB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.4635, allocations: 3.66 MB / 498.1 MB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.4701, allocations: 1.833 MB / 499.9 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.4704, allocations: 202.3 kB / 0.4884 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.4725, allocations: 265.6 kB / 0.4886 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.497, allocations: 10.52 MB / 0.4989 GB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/0.4973, allocations: 40.36 kB / 0.499 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/0.4993, allocations: 131.5 kB / 0.4991 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004996/0.5043, allocations: 2.438 MB / 0.5015 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.5237, allocations: 9.351 MB / 0.5106 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.061/0.5847, allocations: 38.97 MB / 0.5486 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006528/0.5913, allocations: 3.497 MB / 0.5521 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.6043, allocations: 5.47 MB / 0.5574 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.6044, allocations: 59.05 kB / 0.5575 GB, free: 8.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 6.723e-06/0.6044, allocations: 7.984 kB / 0.5575 GB, free: 8.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.008278/0.6127, allocations: 3.856 MB / 0.5612 GB, free: 4.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.6129, allocations: 178.7 kB / 0.5614 GB, free: 3.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008814/0.6217, allocations: 3.932 MB / 0.5652 GB, free: 76 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004464/0.6222, allocations: 45.69 kB / 0.5653 GB, free: 24 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003515/0.6257, allocations: 3.316 MB / 0.5685 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.6271, allocations: 0.6174 MB / 0.5691 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008957/0.6281, allocations: 136 kB / 0.5693 GB, free: 11.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0009338/0.629, allocations: 0.5949 MB / 0.5698 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.6331, allocations: 1.973 MB / 0.5718 GB, free: 9.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008079/0.6412, allocations: 6.264 MB / 0.5779 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.6479, allocations: 3.522 MB / 0.5813 GB, free: 13.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002323/0.6482, allocations: 44 kB / 0.5814 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01932/0.6675, allocations: 7.873 MB / 0.5891 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.6679, allocations: 72 kB / 0.5891 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003203/0.6682, allocations: 152.9 kB / 0.5893 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.6685, allocations: 224 kB / 0.5895 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006075/0.6746, allocations: 1.513 MB / 0.591 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000309/0.675, allocations: 294.9 kB / 0.5912 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/0.6811, allocations: 0.9508 MB / 0.5922 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/0.6826, allocations: 412 kB / 0.5926 GB, free: 1.859 MB / 462.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.005286/0.6879, allocations: 2.28 MB / 0.5948 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007056/0.6887, allocations: 323.7 kB / 0.5951 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.6896, allocations: 420.2 kB / 0.5955 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/0.6897, allocations: 39.92 kB / 0.5955 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.6898, allocations: 7.953 kB / 0.5955 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6898, allocations: 3.984 kB / 0.5955 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.7016, allocations: 5.688 MB / 0.6011 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.7017, allocations: 8.75 kB / 0.6011 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.7027, allocations: 211.7 kB / 0.6013 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.7027, allocations: 16 kB / 0.6013 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.7028, allocations: 28 kB / 0.6014 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.7029, allocations: 11.94 kB / 0.6014 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.7029, allocations: 8 kB / 0.6014 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.7065, allocations: 3.246 MB / 0.6045 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.7077, allocations: 396.5 kB / 0.6049 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.7083, allocations: 28.3 kB / 0.6049 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.7095, allocations: 64.11 kB / 0.605 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.7097, allocations: 88.3 kB / 0.6051 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.7098, allocations: 59.92 kB / 0.6051 GB, free: 4.562 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004377/0.7142, allocations: 2.391 MB / 0.6075 GB, free: 2.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7142, allocations: 0 / 0.6075 GB, free: 2.188 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006404/0.7206, allocations: 1.125 MB / 0.6086 GB, free: 1.059 MB / 478.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.0005952/0.7212, allocations: 162.9 kB / 0.6087 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00827/0.7295, allocations: 4.502 MB / 0.6131 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.7296, allocations: 0 / 0.6131 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.7311, allocations: 0.9539 MB / 0.6141 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.7331, allocations: 333.4 kB / 0.6144 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.7509, allocations: 10.28 MB / 0.6244 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005081/0.756, allocations: 3.365 MB / 0.6277 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006191/0.7622, allocations: 2.279 MB / 0.6299 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/0.7631, allocations: 227.4 kB / 0.6302 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/0.7631, allocations: 0 / 0.6302 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.2439/1.007, allocations: 24.17 MB / 0.6538 GB, free: 149.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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