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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109.6 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 184.5 kB / 21.5 MB, free: 0.9219 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.64/1.64, allocations: 207.6 MB / 232.1 MB, free: 3.125 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.4134/0.4134, allocations: 44.23 MB / 328.4 MB, free: 6.246 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.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.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.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.002154/0.002154, allocations: 74.05 kB / 465.5 MB, free: 45.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1356, allocations: 61.01 MB / 0.5142 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.007872/0.1434, allocations: 9.506 MB / 0.5235 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.1498, allocations: 3.645 MB / 0.527 GB, free: 32 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.151, allocations: 51.92 kB / 0.5271 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.1545, allocations: 1.717 MB / 0.5288 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.1589, allocations: 1.681 MB / 0.5304 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1604, allocations: 0.5575 MB / 0.5309 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.1657, allocations: 3.517 MB / 0.5344 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.1683, allocations: 1.689 MB / 0.536 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.1705, allocations: 1.164 MB / 0.5372 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.1733, allocations: 1.775 MB / 0.5389 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.1738, allocations: 236 kB / 0.5391 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.176, allocations: 1.155 MB / 0.5403 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.1778, allocations: 1.55 MB / 0.5418 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.1801, allocations: 1.732 MB / 0.5435 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008601/0.1887, allocations: 5.789 MB / 0.5491 GB, free: 9.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1887, allocations: 0 / 0.5491 GB, free: 9.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1887, allocations: 4 kB / 0.5491 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001916/0.1889, allocations: 0 / 0.5491 GB, free: 9.293 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.009375/0.1983, allocations: 3.964 MB / 0.553 GB, free: 5.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1983, allocations: 15.84 kB / 0.553 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.2132, allocations: 2.401 MB / 0.5553 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/0.2199, allocations: 2.327 MB / 0.5576 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.2201, allocations: 168.7 kB / 0.5578 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.2209, allocations: 235.9 kB / 0.558 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.2353, allocations: 7.898 MB / 0.5657 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.2355, allocations: 39.64 kB / 0.5658 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.2358, allocations: 111.9 kB / 0.5659 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.2386, allocations: 1.672 MB / 0.5675 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.2521, allocations: 6.742 MB / 0.5741 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.2949, allocations: 31.46 MB / 0.6048 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/0.3, allocations: 2.264 MB / 0.607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.3018, allocations: 1.094 MB / 0.6081 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.3022, allocations: 319.8 kB / 0.6084 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.3023, allocations: 51 kB / 0.6084 GB, free: 10.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=117): time 4.217e-06/0.3023, allocations: 4 kB / 0.6084 GB, free: 10.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=141): time 0.03821/0.3405, allocations: 12.47 MB / 0.6206 GB, free: 13.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.3406, allocations: 200.5 kB / 0.6208 GB, free: 13.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/0.3465, allocations: 3.743 MB / 0.6245 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.3469, allocations: 45.7 kB / 0.6245 GB, free: 9.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.3493, allocations: 2.78 MB / 0.6272 GB, free: 7.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008556/0.3501, allocations: 0.5855 MB / 0.6278 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.3517, allocations: 1.131 MB / 0.6289 GB, free: 5.414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3519, allocations: 301.1 kB / 0.6292 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.3547, allocations: 1.803 MB / 0.631 GB, free: 3.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/0.3606, allocations: 5.256 MB / 0.6361 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/0.3702, allocations: 7.621 MB / 0.6435 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.423e-05/0.3703, allocations: 36 kB / 0.6436 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.3758/0.7462, allocations: 7.285 MB / 0.6507 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.7463, allocations: 63.5 kB / 0.6507 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003015/0.7466, allocations: 121 kB / 0.6509 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.7487, allocations: 0.6492 MB / 0.6515 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/0.7539, allocations: 1.271 MB / 0.6527 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.7598, allocations: 4.06 MB / 0.6567 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/0.7653, allocations: 310.3 kB / 0.657 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.7664, allocations: 339.8 kB / 0.6573 GB, free: 112.5 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.003393/0.7697, allocations: 1.778 MB / 0.6591 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/0.7704, allocations: 328.2 kB / 0.6594 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.7741, allocations: 2.218 MB / 0.6615 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.7741, allocations: 15.19 kB / 0.6615 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7741, allocations: 3.844 kB / 0.6615 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7741, allocations: 7.547 kB / 0.6616 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/0.7833, allocations: 5.934 MB / 0.6673 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.7834, allocations: 0.6875 kB / 0.6674 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7844, allocations: 212.5 kB / 0.6676 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.7856, allocations: 489.4 kB / 0.668 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.7857, allocations: 31.08 kB / 0.668 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.7889, allocations: 3.43 MB / 0.6714 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7889, allocations: 3.875 kB / 0.6714 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/0.7941, allocations: 4.359 MB / 0.6757 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.7954, allocations: 0.5698 MB / 0.6762 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.7958, allocations: 30.28 kB / 0.6762 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7969, allocations: 83.67 kB / 0.6763 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.7971, allocations: 68.56 kB / 0.6764 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.7972, allocations: 39.98 kB / 0.6764 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002948/0.8001, allocations: 2.337 MB / 0.6787 GB, free: 99.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8001, allocations: 0 / 0.6787 GB, free: 99.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004859/0.805, allocations: 0.8365 MB / 0.6795 GB, free: 98.56 MB / 0.4981 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.0004071/0.8054, allocations: 152.9 kB / 0.6797 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006259/0.8117, allocations: 4.142 MB / 0.6837 GB, free: 94.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8117, allocations: 0 / 0.6837 GB, free: 94.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.813, allocations: 1.111 MB / 0.6848 GB, free: 93.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.8154, allocations: 357.8 kB / 0.6851 GB, free: 92.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.8285, allocations: 7.634 MB / 0.6926 GB, free: 85.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.8307, allocations: 2.762 MB / 0.6953 GB, free: 82.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003553/0.8343, allocations: 1.742 MB / 0.697 GB, free: 80.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.835, allocations: 215.4 kB / 0.6972 GB, free: 80.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.884e-06/0.835, allocations: 0 / 0.6972 GB, free: 80.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.04831/0.8833, allocations: 28.69 MB / 0.7252 GB, free: 51.92 MB / 0.4981 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.230728967115283]