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.001282/0.001282, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001319/0.001319, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9358/0.9358, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.131/0.131, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.96e-05, allocations: 2.312 kB / 299 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.1747/0.1747, allocations: 8.955 MB / 308 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.1829, allocations: 3.637 MB / 311.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.1851, allocations: 58.06 kB / 311.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.1881, allocations: 1.803 MB / 313.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.1928, allocations: 1.773 MB / 315.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1943, allocations: 0.6154 MB / 315.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0053/0.1996, allocations: 3.882 MB / 319.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.2024, allocations: 2.304 MB / 322.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.2057, allocations: 2.089 MB / 324.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.208, allocations: 1.734 MB / 325.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006875/0.2087, allocations: 244 kB / 326.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.2105, allocations: 1.061 MB / 327.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.2117, allocations: 1.624 MB / 328.8 MB, free: 420 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.2136, allocations: 0.9851 MB / 329.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.2198, allocations: 3.943 MB / 333.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.2198, allocations: 0 / 333.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2198, allocations: 0 / 333.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.2201, allocations: 0 / 333.7 MB, free: 11.46 MB / 298.7 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.006318/0.2264, allocations: 3.601 MB / 337.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2264, allocations: 12.03 kB / 337.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.2297, allocations: 1.035 MB / 338.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.2324, allocations: 1.531 MB / 339.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2325, allocations: 172.7 kB / 340.1 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.2329, allocations: 228.2 kB / 340.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.2381, allocations: 3.964 MB / 344.3 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/0.2382, allocations: 35.7 kB / 344.3 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.2384, allocations: 115.8 kB / 344.4 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.2398, allocations: 1.453 MB / 345.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/0.244, allocations: 1.962 MB / 347.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.2704, allocations: 25.58 MB / 373.4 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2725, allocations: 0.8617 MB / 374.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.2728, allocations: 196.9 kB / 374.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00478/0.2776, allocations: 2.317 MB / 376.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/0.2776, allocations: 54.77 kB / 376.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 8.556e-06/0.2777, allocations: 0 / 376.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.00993/0.2876, allocations: 3.665 MB / 380.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.2877, allocations: 188.4 kB / 380.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.2909, allocations: 2.893 MB / 383.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.2911, allocations: 41.7 kB / 383.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.2924, allocations: 2.692 MB / 386.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/0.2929, allocations: 492.4 kB / 386.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008787/0.2937, allocations: 1.04 MB / 387.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.2938, allocations: 301.1 kB / 388.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.2948, allocations: 0.639 MB / 388.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/0.2978, allocations: 4.124 MB / 392.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/0.3028, allocations: 5.19 MB / 398.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.3029, allocations: 36 kB / 398.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.007055/0.3099, allocations: 3.677 MB / 401.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.31, allocations: 66.17 kB / 401.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.3101, allocations: 132.2 kB / 402 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.3107, allocations: 195.7 kB / 402.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.3133, allocations: 1.224 MB / 403.4 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3146, allocations: 1.435 MB / 404.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.3178, allocations: 259.7 kB / 405.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005696/0.3184, allocations: 307.8 kB / 405.4 MB, free: 14.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * 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 (681): * Single equations (assignments): 677 * 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.001549/0.3199, allocations: 0.5706 MB / 406 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/0.3205, allocations: 167.8 kB / 406.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/0.3214, allocations: 0.5437 MB / 406.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.3214, allocations: 12 kB / 406.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3214, allocations: 7.938 kB / 406.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3214, allocations: 7.984 kB / 406.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.3259, allocations: 2.729 MB / 409.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3259, allocations: 4 kB / 409.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.3264, allocations: 151.7 kB / 409.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.3267, allocations: 213 kB / 409.8 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.3268, allocations: 23.94 kB / 409.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009241/0.3277, allocations: 1.202 MB / 411 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3277, allocations: 4.125 kB / 411 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3295, allocations: 1.345 MB / 412.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/0.3303, allocations: 333.9 kB / 412.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.3306, allocations: 16 kB / 412.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.3313, allocations: 24 kB / 412.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3314, allocations: 68.27 kB / 412.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.3315, allocations: 27.98 kB / 412.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00136/0.3328, allocations: 1.035 MB / 413.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3328, allocations: 4.031 kB / 413.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004014/0.3368, allocations: 0.8202 MB / 414.7 MB, free: 4.465 MB / 378.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 (88): * Single equations (assignments): 84 * 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.0004358/0.3373, allocations: 152.1 kB / 414.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.3408, allocations: 2.129 MB / 417 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000203/0.341, allocations: 92.16 kB / 417.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.3416, allocations: 371.9 kB / 417.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.3439, allocations: 475.1 kB / 417.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3543, allocations: 5.8 MB / 423.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.3558, allocations: 0.9756 MB / 424.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001693/0.3575, allocations: 439.1 kB / 425.1 MB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.3583, allocations: 461.2 kB / 425.5 MB, free: 9.465 MB / 394.7 MB Notification: Performance of SimCode: time 2.023e-06/0.3583, allocations: 3.938 kB / 425.5 MB, free: 9.461 MB / 394.7 MB Notification: Performance of Templates: time 0.04593/0.4042, allocations: 22.21 MB / 447.8 MB, free: 3.336 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.217836268246174]