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.0009779/0.0009779, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001118/0.001118, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9865/0.9865, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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.246/0.246, allocations: 34.85 MB / 296.6 MB, free: 472 kB / 266.7 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.392e-06/1.392e-06, allocations: 0 / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.225e-05, allocations: 5.406 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.007223/0.007246, allocations: 8.56 MB / 334.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.01327, allocations: 3.571 MB / 338.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009593/0.01423, allocations: 55.75 kB / 338.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.01626, allocations: 1.752 MB / 339.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.01908, allocations: 1.633 MB / 341.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.02002, allocations: 0.6196 MB / 342.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003795/0.02381, allocations: 3.949 MB / 346.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.02573, allocations: 2.095 MB / 348.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.02823, allocations: 2.132 MB / 350.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.02997, allocations: 1.637 MB / 351.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.03031, allocations: 224 kB / 352.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.03168, allocations: 1.076 MB / 353.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009931/0.03267, allocations: 1.508 MB / 354.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009018/0.03357, allocations: 0.9149 MB / 355.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.03786, allocations: 3.702 MB / 359.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.03786, allocations: 3.938 kB / 359.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03787, allocations: 4 kB / 359.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.219e-05/0.03793, allocations: 0 / 359.4 MB, free: 5.527 MB / 330.7 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.004009/0.04194, allocations: 3.411 MB / 362.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.04198, allocations: 12.03 kB / 362.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.04498, allocations: 0.9839 MB / 363.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.04704, allocations: 1.453 MB / 365.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.04712, allocations: 164.5 kB / 365.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.04738, allocations: 228.1 kB / 365.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.05107, allocations: 3.779 MB / 369.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/0.05114, allocations: 31.7 kB / 369.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.05132, allocations: 111.9 kB / 369.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.05242, allocations: 1.344 MB / 370.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.05575, allocations: 1.844 MB / 372.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.07487, allocations: 24.72 MB / 397.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.07649, allocations: 0.8149 MB / 398.3 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.07674, allocations: 199.2 kB / 398.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003137/0.07988, allocations: 2.207 MB / 400.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.07991, allocations: 42.56 kB / 400.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.896e-06/0.07991, allocations: 0 / 400.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=101): time 0.007904/0.08782, allocations: 3.495 MB / 404.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.08788, allocations: 192.4 kB / 404.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.09002, allocations: 2.822 MB / 407.2 MB, free: 3.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.09007, allocations: 37.7 kB / 407.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.09133, allocations: 2.575 MB / 409.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.09158, allocations: 448.8 kB / 410.3 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/0.0923, allocations: 1.005 MB / 411.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.09237, allocations: 305.1 kB / 411.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.09321, allocations: 0.615 MB / 412.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.09565, allocations: 3.987 MB / 416.2 MB, free: 8.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.09928, allocations: 5.036 MB / 421.2 MB, free: 2.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.191e-05/0.09933, allocations: 36 kB / 421.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=681) (initialization): time 0.003888/0.1032, allocations: 3.551 MB / 424.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.1033, allocations: 63.94 kB / 424.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.556e-05/0.1034, allocations: 120 kB / 425 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.1037, allocations: 203.6 kB / 425.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.1058, allocations: 1.216 MB / 426.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008542/0.1067, allocations: 1.431 MB / 427.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.1085, allocations: 239.7 kB / 428 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.1087, allocations: 292.1 kB / 428.3 MB, free: 10.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * 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 (656): * Single equations (assignments): 652 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008475/0.1096, allocations: 0.5601 MB / 428.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.1099, allocations: 163.8 kB / 429 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.1105, allocations: 0.4962 MB / 429.5 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.1105, allocations: 12 kB / 429.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1105, allocations: 0 / 429.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.1105, allocations: 11.98 kB / 429.6 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.1135, allocations: 2.577 MB / 432.1 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1135, allocations: 0 / 432.1 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.1139, allocations: 139.8 kB / 432.3 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.1142, allocations: 208.7 kB / 432.5 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.1142, allocations: 20 kB / 432.5 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008692/0.1151, allocations: 1.218 MB / 433.7 MB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1151, allocations: 4 kB / 433.7 MB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1161, allocations: 1.275 MB / 435 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.1164, allocations: 254 kB / 435.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.1165, allocations: 19.94 kB / 435.3 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.1169, allocations: 27.98 kB / 435.3 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.117, allocations: 55.84 kB / 435.3 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.1171, allocations: 31.92 kB / 435.4 MB, free: 3.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007874/0.1179, allocations: 0.997 MB / 436.4 MB, free: 2.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1179, allocations: 0 / 436.4 MB, free: 2.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00229/0.1201, allocations: 0.7655 MB / 437.1 MB, free: 1.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002796/0.1204, allocations: 144.2 kB / 437.3 MB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.1226, allocations: 2.041 MB / 439.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000139/0.1228, allocations: 92.16 kB / 439.4 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.1231, allocations: 349.4 kB / 439.8 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.1247, allocations: 452.4 kB / 440.2 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.131, allocations: 5.457 MB / 445.7 MB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.1318, allocations: 0.9162 MB / 446.6 MB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.1328, allocations: 418.2 kB / 447 MB, free: 7.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008568/0.1337, allocations: 445.2 kB / 447.4 MB, free: 7.375 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.1337, allocations: 0 / 447.4 MB, free: 7.375 MB / 426.7 MB Notification: Performance of Templates: time 0.1638/0.2974, allocations: 21.2 MB / 468.6 MB, free: 112.3 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7908853353001177]