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.002239/0.002239, allocations: 79.75 kB / 20.52 MB, free: 1.117 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.002537/0.002537, allocations: 168.6 kB / 23.76 MB, free: 4.195 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.415/1.415, allocations: 158.6 MB / 185.5 MB, free: 6.223 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.3021/0.3021, allocations: 32.39 MB / 270.1 MB, free: 2.715 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.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.002319/0.002319, allocations: 67.91 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 61.04 MB / 468.8 MB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2562/0.3819, allocations: 8.322 MB / 477.1 MB, free: 43.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.389, allocations: 3.439 MB / 480.5 MB, free: 43.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.3906, allocations: 58.62 kB / 480.6 MB, free: 43.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.3937, allocations: 1.659 MB / 482.3 MB, free: 43.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.3978, allocations: 1.69 MB / 483.9 MB, free: 43.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3991, allocations: 0.5589 MB / 484.5 MB, free: 43.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.4032, allocations: 3.518 MB / 488 MB, free: 42.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.4052, allocations: 1.893 MB / 489.9 MB, free: 41.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.4068, allocations: 1.178 MB / 491.1 MB, free: 40.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.4087, allocations: 1.709 MB / 492.8 MB, free: 40.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004054/0.4091, allocations: 236.3 kB / 493 MB, free: 40.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.4106, allocations: 1.019 MB / 494.1 MB, free: 40.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.4117, allocations: 1.544 MB / 495.6 MB, free: 39.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.4129, allocations: 1.267 MB / 496.9 MB, free: 38.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.4198, allocations: 5.811 MB / 0.4909 GB, free: 36.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4198, allocations: 0 / 0.4909 GB, free: 36.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4198, allocations: 4 kB / 0.4909 GB, free: 36.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001935/0.42, allocations: 3.25 kB / 0.4909 GB, free: 36.77 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01014/0.4302, allocations: 3.887 MB / 0.4947 GB, free: 34.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/0.4302, allocations: 9.75 kB / 0.4947 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.4479, allocations: 2.453 MB / 0.4971 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006117/0.454, allocations: 2.286 MB / 0.4993 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4542, allocations: 174 kB / 0.4995 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000961/0.4551, allocations: 232.5 kB / 0.4997 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.4694, allocations: 7.932 MB / 0.5075 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.4695, allocations: 44.25 kB / 0.5075 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/0.4699, allocations: 116.3 kB / 0.5076 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.473, allocations: 1.663 MB / 0.5092 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4863, allocations: 6.724 MB / 0.5158 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/0.5223, allocations: 29.56 MB / 0.5447 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.5275, allocations: 1.864 MB / 0.5465 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.5293, allocations: 1.095 MB / 0.5476 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.5296, allocations: 92.38 kB / 0.5477 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.5297, allocations: 47.22 kB / 0.5477 GB, free: 11.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=117): time 3.878e-06/0.5297, allocations: 0 / 0.5477 GB, free: 11.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=141): time 0.04247/0.5722, allocations: 12.54 MB / 0.56 GB, free: 14.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.5723, allocations: 196.7 kB / 0.5601 GB, free: 14.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007077/0.5794, allocations: 3.461 MB / 0.5635 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004173/0.5798, allocations: 45.64 kB / 0.5636 GB, free: 11.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003741/0.5835, allocations: 2.805 MB / 0.5663 GB, free: 8.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/0.5853, allocations: 0.5815 MB / 0.5669 GB, free: 7.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003534/0.5888, allocations: 1.127 MB / 0.568 GB, free: 6.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.589, allocations: 305.1 kB / 0.5683 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003971/0.5929, allocations: 1.807 MB / 0.57 GB, free: 4.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/0.6001, allocations: 5.305 MB / 0.5752 GB, free: 13.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.6104, allocations: 7.622 MB / 0.5826 GB, free: 4.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.6106, allocations: 36 kB / 0.5827 GB, free: 4.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01513/0.6257, allocations: 7.255 MB / 0.5898 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.6259, allocations: 60.95 kB / 0.5898 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/0.6261, allocations: 124 kB / 0.5899 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.6279, allocations: 0.6486 MB / 0.5906 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.6322, allocations: 1.267 MB / 0.5918 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.6376, allocations: 3.896 MB / 0.5956 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.6419, allocations: 315.6 kB / 0.5959 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009662/0.6428, allocations: 340 kB / 0.5962 GB, free: 6.078 MB / 0.4981 GB 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.004265/0.6471, allocations: 1.786 MB / 0.598 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009458/0.648, allocations: 290.1 kB / 0.5983 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.6532, allocations: 2.184 MB / 0.6004 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.6532, allocations: 16 kB / 0.6004 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.6533, allocations: 4 kB / 0.6004 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.6533, allocations: 7.984 kB / 0.6004 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6687, allocations: 5.052 MB / 0.6054 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.6688, allocations: 4 kB / 0.6054 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.67, allocations: 215.7 kB / 0.6056 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.6715, allocations: 488.3 kB / 0.606 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.6717, allocations: 27.89 kB / 0.6061 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.6764, allocations: 3.276 MB / 0.6093 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6764, allocations: 4 kB / 0.6093 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00774/0.6841, allocations: 4.324 MB / 0.6135 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.6857, allocations: 457.8 kB / 0.6139 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006784/0.6864, allocations: 31.92 kB / 0.614 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.688, allocations: 75.91 kB / 0.614 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.6882, allocations: 80.44 kB / 0.6141 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6883, allocations: 43.97 kB / 0.6141 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004217/0.6926, allocations: 1.99 MB / 0.6161 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6926, allocations: 0 / 0.6161 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005223/0.6978, allocations: 0.8242 MB / 0.6169 GB, free: 0.6992 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.0004585/0.6982, allocations: 146.9 kB / 0.617 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007509/0.7058, allocations: 4.134 MB / 0.6211 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.7058, allocations: 0 / 0.6211 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.7076, allocations: 1.116 MB / 0.6222 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.7098, allocations: 307.5 kB / 0.6225 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7244, allocations: 7.581 MB / 0.6299 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/0.7288, allocations: 2.203 MB / 0.632 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005365/0.7342, allocations: 1.701 MB / 0.6337 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/0.7354, allocations: 204.4 kB / 0.6339 GB, free: 15.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.205e-06/0.7354, allocations: 0 / 0.6339 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Templates: time 0.05526/0.7907, allocations: 23.21 MB / 0.6565 GB, free: 8.066 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","/var/lib/jenkins1/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: 6.834232703899033]