Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2636/0.2636, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 67.91 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1561, allocations: 61.05 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01238/0.1685, allocations: 8.33 MB / 0.5248 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009449/0.1779, allocations: 3.432 MB / 0.5281 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.18, allocations: 59.75 kB / 0.5282 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.184, allocations: 1.651 MB / 0.5298 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.1903, allocations: 1.693 MB / 0.5315 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1921, allocations: 0.5614 MB / 0.532 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006216/0.1983, allocations: 3.51 MB / 0.5354 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003398/0.2017, allocations: 1.891 MB / 0.5373 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.2047, allocations: 1.187 MB / 0.5384 GB, free: 232 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3382/0.5429, allocations: 1.691 MB / 0.5401 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.5442, allocations: 235.9 kB / 0.5403 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5472, allocations: 1.029 MB / 0.5413 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.55, allocations: 1.545 MB / 0.5428 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.5529, allocations: 1.271 MB / 0.5441 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5648, allocations: 5.808 MB / 0.5497 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.5648, allocations: 0 / 0.5497 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.5648, allocations: 1.406 kB / 0.5497 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002957/0.5651, allocations: 2.625 kB / 0.5497 GB, free: 11.69 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01756/0.5826, allocations: 3.889 MB / 0.5535 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5827, allocations: 9.562 kB / 0.5535 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/0.5999, allocations: 2.397 MB / 0.5559 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008418/0.6083, allocations: 2.272 MB / 0.5581 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.6086, allocations: 171 kB / 0.5583 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.6101, allocations: 230.8 kB / 0.5585 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.6276, allocations: 7.941 MB / 0.5662 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.6277, allocations: 36.67 kB / 0.5663 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.6281, allocations: 116.5 kB / 0.5664 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003096/0.6312, allocations: 1.664 MB / 0.568 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.6462, allocations: 6.744 MB / 0.5746 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05387/0.7001, allocations: 29.49 MB / 0.6034 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.7058, allocations: 1.803 MB / 0.6052 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.7079, allocations: 1.1 MB / 0.6062 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.7082, allocations: 86.7 kB / 0.6063 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.7083, allocations: 45.22 kB / 0.6064 GB, free: 5.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.739e-06/0.7083, allocations: 0 / 0.6064 GB, free: 5.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=141): time 0.04623/0.7545, allocations: 12.26 MB / 0.6183 GB, free: 8.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.7547, allocations: 198.2 kB / 0.6185 GB, free: 8.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007962/0.7626, allocations: 3.453 MB / 0.6219 GB, free: 5.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004049/0.763, allocations: 48.67 kB / 0.6219 GB, free: 5.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.7658, allocations: 2.808 MB / 0.6247 GB, free: 2.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.7669, allocations: 0.5819 MB / 0.6253 GB, free: 1.711 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/0.7701, allocations: 1.126 MB / 0.6263 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7702, allocations: 309.1 kB / 0.6266 GB, free: 280 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.7736, allocations: 1.806 MB / 0.6284 GB, free: 14.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/0.7803, allocations: 5.306 MB / 0.6336 GB, free: 7.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.7919, allocations: 7.618 MB / 0.641 GB, free: 14.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/0.7921, allocations: 36 kB / 0.6411 GB, free: 14.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01978/0.8119, allocations: 7.255 MB / 0.6481 GB, free: 7.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.8123, allocations: 59.98 kB / 0.6482 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005655/0.8129, allocations: 125.7 kB / 0.6483 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/0.8154, allocations: 0.6486 MB / 0.649 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005923/0.8213, allocations: 1.271 MB / 0.6502 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.8274, allocations: 3.898 MB / 0.654 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/0.8334, allocations: 307.6 kB / 0.6543 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/0.8352, allocations: 344 kB / 0.6546 GB, free: 484 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (684): * Single equations (assignments): 680 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005638/0.8409, allocations: 1.778 MB / 0.6564 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.842, allocations: 286.1 kB / 0.6566 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/0.8477, allocations: 2.186 MB / 0.6588 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/0.8477, allocations: 20 kB / 0.6588 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.8477, allocations: 0 / 0.6588 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.8477, allocations: 7.984 kB / 0.6588 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.8626, allocations: 5.044 MB / 0.6637 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.8627, allocations: 0 / 0.6637 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.864, allocations: 215.7 kB / 0.6639 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.8656, allocations: 490.3 kB / 0.6644 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.8658, allocations: 23.98 kB / 0.6644 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.8707, allocations: 3.283 MB / 0.6676 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.8708, allocations: 4.031 kB / 0.6676 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008576/0.8793, allocations: 4.32 MB / 0.6718 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/0.8815, allocations: 453.8 kB / 0.6723 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.8826, allocations: 34.42 kB / 0.6723 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.8848, allocations: 79.84 kB / 0.6724 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.8851, allocations: 80.5 kB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.8853, allocations: 39.98 kB / 0.6725 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006042/0.8913, allocations: 1.986 MB / 0.6744 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8913, allocations: 4.062 kB / 0.6744 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007465/0.8988, allocations: 0.828 MB / 0.6753 GB, free: 11.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (112): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006832/0.8995, allocations: 151.6 kB / 0.6754 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009088/0.9085, allocations: 4.135 MB / 0.6794 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.9086, allocations: 0 / 0.6794 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.9107, allocations: 1.106 MB / 0.6805 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/0.9147, allocations: 315.7 kB / 0.6808 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.936, allocations: 7.577 MB / 0.6882 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005713/0.9417, allocations: 2.204 MB / 0.6904 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004933/0.9466, allocations: 1.701 MB / 0.692 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009643/0.9476, allocations: 207.4 kB / 0.6922 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.9476, allocations: 0 / 0.6922 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.06694/1.015, allocations: 26.87 MB / 0.7185 GB, free: 14.93 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3177779372781515]