Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.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.002429/0.002429, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002397/0.002397, allocations: 168 kB / 23.76 MB, free: 4.461 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.511/1.511, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.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.259/0.259, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.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.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2") [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.00323/0.00323, allocations: 67.91 kB / 407.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1343, allocations: 61.06 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.248/0.3823, allocations: 8.815 MB / 477.6 MB, free: 43.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006507/0.3888, allocations: 3.523 MB / 481.1 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.39, allocations: 66.12 kB / 481.2 MB, free: 43.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.3931, allocations: 1.904 MB / 483.1 MB, free: 43.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.3967, allocations: 1.806 MB / 484.9 MB, free: 43.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3979, allocations: 0.5742 MB / 485.5 MB, free: 42.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.402, allocations: 3.739 MB / 489.2 MB, free: 41.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.4039, allocations: 2.132 MB / 491.4 MB, free: 40.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.4054, allocations: 1.308 MB / 492.7 MB, free: 40.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4074, allocations: 1.892 MB / 494.6 MB, free: 39.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005281/0.4079, allocations: 275.4 kB / 494.8 MB, free: 39.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.4096, allocations: 1.051 MB / 495.9 MB, free: 39.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.4107, allocations: 1.73 MB / 497.6 MB, free: 38.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.4118, allocations: 1.424 MB / 499 MB, free: 37.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00576/0.4176, allocations: 6.452 MB / 0.4936 GB, free: 35.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4176, allocations: 3.938 kB / 0.4936 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4176, allocations: 0 / 0.4936 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000172/0.4178, allocations: 0 / 0.4936 GB, free: 35.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.009477/0.4273, allocations: 4.243 MB / 0.4978 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.4273, allocations: 10.66 kB / 0.4978 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.4453, allocations: 2.532 MB / 0.5003 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008777/0.4541, allocations: 2.404 MB / 0.5026 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.4543, allocations: 199.7 kB / 0.5028 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000726/0.455, allocations: 254.7 kB / 0.5031 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.4703, allocations: 8.806 MB / 0.5117 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.4704, allocations: 35.5 kB / 0.5117 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.4708, allocations: 127.5 kB / 0.5118 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003325/0.4741, allocations: 1.839 MB / 0.5136 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.4873, allocations: 7.417 MB / 0.5208 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/0.5251, allocations: 32.03 MB / 0.5521 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005161/0.5302, allocations: 2.098 MB / 0.5542 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.532, allocations: 1.095 MB / 0.5552 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.5322, allocations: 92.44 kB / 0.5553 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.5323, allocations: 47 kB / 0.5554 GB, free: 3.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=119): time 4.068e-06/0.5323, allocations: 4 kB / 0.5554 GB, free: 3.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=133): time 0.02642/0.5587, allocations: 10.11 MB / 0.5653 GB, free: 9.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.5588, allocations: 196.6 kB / 0.5654 GB, free: 9.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/0.5641, allocations: 3.721 MB / 0.5691 GB, free: 5.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5643, allocations: 41.7 kB / 0.5691 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.5668, allocations: 3.104 MB / 0.5721 GB, free: 2.195 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/0.5675, allocations: 0.5662 MB / 0.5727 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.5691, allocations: 1.207 MB / 0.5739 GB, free: 416 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5692, allocations: 305.1 kB / 0.5742 GB, free: 108 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.5721, allocations: 1.8 MB / 0.5759 GB, free: 14.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006477/0.5786, allocations: 5.686 MB / 0.5815 GB, free: 6.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.5898, allocations: 8.05 MB / 0.5893 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/0.59, allocations: 40 kB / 0.5894 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01527/0.6052, allocations: 7.568 MB / 0.5968 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.319e-05/0.6053, allocations: 68.25 kB / 0.5968 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.6055, allocations: 137.6 kB / 0.597 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.6073, allocations: 0.6687 MB / 0.5976 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/0.6114, allocations: 1.349 MB / 0.5989 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.617, allocations: 3.932 MB / 0.6028 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/0.6215, allocations: 319.5 kB / 0.6031 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/0.6225, allocations: 368 kB / 0.6034 GB, free: 14.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 31 (LessEqualThreshold1.y,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (735): * Single equations (assignments): 731 * 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.004391/0.6269, allocations: 1.955 MB / 0.6053 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008278/0.6277, allocations: 309.9 kB / 0.6056 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.6323, allocations: 2.035 MB / 0.6076 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/0.6324, allocations: 16 kB / 0.6076 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.6324, allocations: 0 / 0.6076 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6324, allocations: 15.91 kB / 0.6077 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.6448, allocations: 4.883 MB / 0.6124 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.6448, allocations: 8.031 kB / 0.6124 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009356/0.6457, allocations: 187.7 kB / 0.6126 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.6472, allocations: 480.2 kB / 0.6131 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.6473, allocations: 27.98 kB / 0.6131 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.6517, allocations: 3.295 MB / 0.6163 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6518, allocations: 8 kB / 0.6163 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/0.6584, allocations: 3.971 MB / 0.6202 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.6599, allocations: 441.8 kB / 0.6206 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.6603, allocations: 31.94 kB / 0.6207 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6614, allocations: 63.98 kB / 0.6207 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.6616, allocations: 80.39 kB / 0.6208 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6617, allocations: 36 kB / 0.6208 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003638/0.6653, allocations: 2.124 MB / 0.6229 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6653, allocations: 0 / 0.6229 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005839/0.6712, allocations: 0.8749 MB / 0.6238 GB, free: 9.129 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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.0004784/0.6716, allocations: 151 kB / 0.6239 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008316/0.68, allocations: 4.14 MB / 0.6279 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.68, allocations: 480 / 0.6279 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.6817, allocations: 1.011 MB / 0.6289 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.6839, allocations: 307.7 kB / 0.6292 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.7003, allocations: 7.988 MB / 0.637 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/0.7042, allocations: 2.404 MB / 0.6394 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004399/0.7086, allocations: 1.773 MB / 0.6411 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006663/0.7093, allocations: 208.5 kB / 0.6413 GB, free: 7.062 MB / 0.545 GB Notification: Performance of SimCode: time 1.803e-06/0.7093, allocations: 3.938 kB / 0.6413 GB, free: 7.059 MB / 0.545 GB Notification: Performance of Templates: time 0.0571/0.7664, allocations: 23.33 MB / 0.6641 GB, free: 15.76 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance2/Distance2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.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: 6.791270402027294]