Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 84.25 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002474/0.002474, allocations: 162.1 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.967e-05/4.104e-05, allocations: 2.281 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.2108/0.2108, allocations: 7.924 MB / 450.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.2175, allocations: 3.375 MB / 453.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.219, allocations: 59.62 kB / 454 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.2227, allocations: 1.703 MB / 455.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.2281, allocations: 1.632 MB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.2298, allocations: 0.6082 MB / 457.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007387/0.2372, allocations: 3.955 MB / 461.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004184/0.2413, allocations: 2.076 MB / 464 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.2452, allocations: 1.683 MB / 465.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.2477, allocations: 1.698 MB / 467.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005506/0.2482, allocations: 225.8 kB / 467.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.2504, allocations: 1.046 MB / 468.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.2519, allocations: 1.513 MB / 470.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.2534, allocations: 0.9035 MB / 471 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006545/0.26, allocations: 5.467 MB / 476.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.26, allocations: 0 / 476.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.26, allocations: 0 / 476.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.2601, allocations: 0 / 476.5 MB, free: 2.512 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.008317/0.2684, allocations: 3.696 MB / 480.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2685, allocations: 8.969 kB / 480.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.2865, allocations: 2.404 MB / 482.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006203/0.2927, allocations: 2.127 MB / 484.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.2928, allocations: 160.4 kB / 484.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/0.2934, allocations: 228.2 kB / 485.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3069, allocations: 7.453 MB / 492.6 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.525e-05/0.307, allocations: 35.7 kB / 492.6 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.3073, allocations: 115.7 kB / 492.7 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/0.3102, allocations: 1.539 MB / 494.3 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.3226, allocations: 6.295 MB / 0.4888 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04228/0.3649, allocations: 28.57 MB / 0.5167 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004991/0.3699, allocations: 1.756 MB / 0.5184 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.3716, allocations: 1.047 MB / 0.5195 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.3719, allocations: 80.55 kB / 0.5195 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.372, allocations: 55.88 kB / 0.5196 GB, free: 10.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 4.188e-06/0.372, allocations: 3.938 kB / 0.5196 GB, free: 10.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04372/0.4157, allocations: 12.14 MB / 0.5314 GB, free: 14.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.4158, allocations: 196.5 kB / 0.5316 GB, free: 14.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/0.4215, allocations: 3.441 MB / 0.535 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.4218, allocations: 45.7 kB / 0.535 GB, free: 10.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.4239, allocations: 2.653 MB / 0.5376 GB, free: 8.215 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/0.4246, allocations: 0.5429 MB / 0.5382 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.4261, allocations: 1.08 MB / 0.5392 GB, free: 6.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4263, allocations: 301.1 kB / 0.5395 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/0.4293, allocations: 1.74 MB / 0.5412 GB, free: 4.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006373/0.4357, allocations: 5.134 MB / 0.5462 GB, free: 13.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.446, allocations: 7.366 MB / 0.5534 GB, free: 4.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/0.4461, allocations: 36 kB / 0.5534 GB, free: 4.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0144/0.4605, allocations: 7.028 MB / 0.5603 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/0.4606, allocations: 56 kB / 0.5604 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/0.4608, allocations: 120 kB / 0.5605 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.4626, allocations: 0.6432 MB / 0.5611 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.4669, allocations: 1.22 MB / 0.5623 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.4724, allocations: 3.944 MB / 0.5661 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/0.4767, allocations: 323.5 kB / 0.5664 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006733/0.4774, allocations: 332 kB / 0.5668 GB, free: 6.887 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 29 (Distance1.arrow.twoHeadedArrow,Distance1.arrow.headAtOrigin,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 (659): * Single equations (assignments): 655 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003696/0.4811, allocations: 1.697 MB / 0.5684 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/0.4819, allocations: 278.1 kB / 0.5687 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.4863, allocations: 2.053 MB / 0.5707 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-05/0.4863, allocations: 16 kB / 0.5707 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4863, allocations: 4 kB / 0.5707 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4863, allocations: 4.094 kB / 0.5707 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.4967, allocations: 4.871 MB / 0.5755 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4967, allocations: 4 kB / 0.5755 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.4978, allocations: 195.7 kB / 0.5757 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.4992, allocations: 488.3 kB / 0.5761 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4993, allocations: 28.17 kB / 0.5762 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.5039, allocations: 3.323 MB / 0.5794 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5039, allocations: 0 / 0.5794 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.5107, allocations: 4.155 MB / 0.5835 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/0.5116, allocations: 270 kB / 0.5837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.512, allocations: 20 kB / 0.5837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.5133, allocations: 103.8 kB / 0.5838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.5135, allocations: 72.45 kB / 0.5839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5136, allocations: 43.92 kB / 0.5839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003253/0.5169, allocations: 2.003 MB / 0.5859 GB, free: 3.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5169, allocations: 0 / 0.5859 GB, free: 3.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004339/0.5212, allocations: 0.8593 MB / 0.5867 GB, free: 2.199 MB / 494.1 MB 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 (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.0004459/0.5216, allocations: 171 kB / 0.5869 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006902/0.5286, allocations: 3.964 MB / 0.5908 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5286, allocations: 4.188 kB / 0.5908 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.5302, allocations: 1.065 MB / 0.5918 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.5323, allocations: 307.2 kB / 0.5921 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.5456, allocations: 7.138 MB / 0.5991 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/0.5487, allocations: 2.08 MB / 0.6011 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004635/0.5533, allocations: 1.657 MB / 0.6027 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/0.5543, allocations: 196.5 kB / 0.6029 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.5543, allocations: 3.938 kB / 0.6029 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.05584/0.6101, allocations: 23.81 MB / 0.6262 GB, free: 10.05 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.663829401135445]