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.001889/0.001889, allocations: 77.62 kB / 19.93 MB, free: 1.77 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.002449/0.002449, allocations: 172.8 kB / 23.22 MB, free: 4.887 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.534/1.534, allocations: 158.6 MB / 185 MB, free: 6.402 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.2312/0.2312, allocations: 32.38 MB / 269.6 MB, free: 4.656 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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.823e-05/5.082e-05, allocations: 2.281 kB / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.02133/0.02138, allocations: 8.848 MB / 416.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.03888, allocations: 3.528 MB / 419.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.04241, allocations: 59.75 kB / 419.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008661/0.05107, allocations: 2.009 MB / 421.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.06139, allocations: 1.851 MB / 423.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.06468, allocations: 0.6118 MB / 424.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.07584, allocations: 4.108 MB / 428.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006939/0.08278, allocations: 2.412 MB / 430.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007715/0.09049, allocations: 1.964 MB / 432.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006281/0.09677, allocations: 1.995 MB / 434.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.09797, allocations: 276 kB / 435 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.1021, allocations: 1.108 MB / 436.1 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.1056, allocations: 1.811 MB / 437.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003237/0.1088, allocations: 1.094 MB / 439 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.1247, allocations: 6.499 MB / 445.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.1247, allocations: 0 / 445.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1247, allocations: 0 / 445.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002213/0.1249, allocations: 4 kB / 445.5 MB, free: 12.68 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01965/0.1446, allocations: 4.249 MB / 449.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.862e-05/0.1447, allocations: 12.03 kB / 449.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03193/0.1766, allocations: 2.533 MB / 452.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.1877, allocations: 2.356 MB / 454.7 MB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.1882, allocations: 201.3 kB / 454.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.19, allocations: 264.2 kB / 455.1 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.2184, allocations: 8.795 MB / 463.9 MB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.2185, allocations: 39.64 kB / 464 MB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007223/0.2193, allocations: 127.9 kB / 464.1 MB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006278/0.2255, allocations: 1.833 MB / 465.9 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02732/0.2529, allocations: 7.425 MB / 473.3 MB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3328/0.5857, allocations: 32.12 MB / 0.4936 GB, free: 39.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.5909, allocations: 2.104 MB / 0.4957 GB, free: 39.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.5926, allocations: 1.097 MB / 0.4967 GB, free: 38.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.5929, allocations: 91.75 kB / 0.4968 GB, free: 38.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.5929, allocations: 47.98 kB / 0.4969 GB, free: 38.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=119): time 4.328e-06/0.5929, allocations: 1.375 kB / 0.4969 GB, free: 38.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.02512/0.618, allocations: 10.19 MB / 0.5068 GB, free: 33.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.6181, allocations: 195.8 kB / 0.507 GB, free: 33.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.6222, allocations: 3.836 MB / 0.5108 GB, free: 30.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.6224, allocations: 45.7 kB / 0.5108 GB, free: 30.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.6236, allocations: 3.065 MB / 0.5138 GB, free: 26.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.624, allocations: 0.5569 MB / 0.5143 GB, free: 26.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.6252, allocations: 1.191 MB / 0.5155 GB, free: 25.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.6252, allocations: 305.1 kB / 0.5158 GB, free: 24.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.6273, allocations: 1.807 MB / 0.5176 GB, free: 23.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.6306, allocations: 5.682 MB / 0.5231 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.637, allocations: 8.051 MB / 0.531 GB, free: 5.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-05/0.6371, allocations: 40 kB / 0.531 GB, free: 5.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01131/0.6484, allocations: 7.568 MB / 0.5384 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/0.6485, allocations: 64 kB / 0.5385 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.6487, allocations: 132 kB / 0.5386 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.6505, allocations: 0.672 MB / 0.5392 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/0.6546, allocations: 1.353 MB / 0.5406 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.6608, allocations: 3.952 MB / 0.5444 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/0.6657, allocations: 355.5 kB / 0.5448 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/0.6664, allocations: 368 kB / 0.5451 GB, free: 6.957 MB / 414.1 MB 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.004029/0.6704, allocations: 1.946 MB / 0.547 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008196/0.6712, allocations: 305.9 kB / 0.5473 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.6757, allocations: 2.04 MB / 0.5493 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.6757, allocations: 16 kB / 0.5493 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6757, allocations: 4 kB / 0.5493 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.6757, allocations: 7.969 kB / 0.5493 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.6887, allocations: 4.966 MB / 0.5542 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.6887, allocations: 0 / 0.5542 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6899, allocations: 187.7 kB / 0.5544 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.6916, allocations: 488 kB / 0.5548 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.6918, allocations: 20.16 kB / 0.5548 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/0.6968, allocations: 3.326 MB / 0.5581 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6969, allocations: 4.031 kB / 0.5581 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/0.7043, allocations: 3.965 MB / 0.562 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.706, allocations: 481.6 kB / 0.5624 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/0.7068, allocations: 32.06 kB / 0.5625 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/0.7087, allocations: 99.84 kB / 0.5625 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.709, allocations: 72.52 kB / 0.5626 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7091, allocations: 43.69 kB / 0.5627 GB, free: 4.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003966/0.7131, allocations: 2.221 MB / 0.5648 GB, free: 2.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7131, allocations: 0 / 0.5648 GB, free: 2.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005486/0.7186, allocations: 0.9569 MB / 0.5658 GB, free: 1.617 MB / 430.1 MB 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.000535/0.7191, allocations: 178.7 kB / 0.5659 GB, free: 1.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007876/0.727, allocations: 4.133 MB / 0.57 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.727, allocations: 5.375 kB / 0.57 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.7288, allocations: 0.9997 MB / 0.571 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.7313, allocations: 318.1 kB / 0.5713 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.7486, allocations: 7.943 MB / 0.579 GB, free: 4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/0.7522, allocations: 2.407 MB / 0.5814 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004536/0.7567, allocations: 1.776 MB / 0.5831 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/0.7576, allocations: 212.5 kB / 0.5833 GB, free: 15.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.674e-06/0.7576, allocations: 0 / 0.5833 GB, free: 15.57 MB / 462.1 MB Notification: Performance of Templates: time 0.06401/0.8216, allocations: 24.87 MB / 0.6076 GB, free: 6.832 MB / 478.1 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance2/Distance2.csv","/var/lib/jenkins/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: 7.287792641669512]