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.0006614/0.0006614, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007306/0.0007306, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 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.8622/0.8622, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1304/0.1304, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.412e-06/1.412e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.901e-05, allocations: 5.938 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.006416/0.006435, allocations: 8.354 MB / 416.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.01056, allocations: 3.415 MB / 419.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.01101, allocations: 63.69 kB / 419.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.01265, allocations: 1.748 MB / 421.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.0148, allocations: 1.726 MB / 423.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.0154, allocations: 0.6041 MB / 424 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.01761, allocations: 3.871 MB / 427.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.01898, allocations: 2.18 MB / 430.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.02056, allocations: 1.777 MB / 431.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.02186, allocations: 1.804 MB / 433.6 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.02206, allocations: 240 kB / 433.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.02312, allocations: 1.072 MB / 435 MB, free: 2.039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008181/0.02394, allocations: 1.624 MB / 436.6 MB, free: 420 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1725/0.1965, allocations: 0.9693 MB / 437.5 MB, free: 21.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006141/0.2026, allocations: 5.856 MB / 443.4 MB, free: 21.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2026, allocations: 3.656 kB / 443.4 MB, free: 21.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2026, allocations: 0 / 443.4 MB, free: 21.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.085e-05/0.2027, allocations: 0 / 443.4 MB, free: 21.19 MB / 362.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.005397/0.2081, allocations: 3.9 MB / 447.3 MB, free: 19.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2081, allocations: 12.69 kB / 447.3 MB, free: 19.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007632/0.2158, allocations: 2.45 MB / 449.8 MB, free: 19.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.2191, allocations: 2.239 MB / 452 MB, free: 18.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.2193, allocations: 171.6 kB / 452.2 MB, free: 18.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.2196, allocations: 230.8 kB / 452.4 MB, free: 18.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.2276, allocations: 7.946 MB / 460.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.2277, allocations: 44.61 kB / 460.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.2279, allocations: 111.8 kB / 460.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001421/0.2293, allocations: 1.663 MB / 462.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006102/0.2354, allocations: 6.737 MB / 468.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02051/0.2559, allocations: 29.67 MB / 498.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.2586, allocations: 1.853 MB / 0.4887 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009711/0.2596, allocations: 1.093 MB / 0.4898 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.2598, allocations: 90.48 kB / 0.4898 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2598, allocations: 51.06 kB / 0.4899 GB, free: 9.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 3.857e-06/0.2598, allocations: 0 / 0.4899 GB, free: 9.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=141): time 0.02061/0.2804, allocations: 12.63 MB / 0.5022 GB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.2805, allocations: 192.6 kB / 0.5024 GB, free: 13.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.2841, allocations: 3.577 MB / 0.5059 GB, free: 9.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.2842, allocations: 52.8 kB / 0.506 GB, free: 9.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.2853, allocations: 2.772 MB / 0.5087 GB, free: 6.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.2857, allocations: 0.5801 MB / 0.5092 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009961/0.2867, allocations: 1.108 MB / 0.5103 GB, free: 5.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2868, allocations: 301.1 kB / 0.5106 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.2886, allocations: 1.81 MB / 0.5124 GB, free: 2.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.2917, allocations: 5.3 MB / 0.5175 GB, free: 11.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005807/0.2975, allocations: 7.63 MB / 0.525 GB, free: 2.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.45e-05/0.2976, allocations: 32 kB / 0.525 GB, free: 2.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.007408/0.305, allocations: 7.255 MB / 0.5321 GB, free: 11.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.305, allocations: 58.66 kB / 0.5322 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.246e-05/0.3051, allocations: 120 kB / 0.5323 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009067/0.306, allocations: 0.6572 MB / 0.5329 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.308, allocations: 1.263 MB / 0.5342 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.3112, allocations: 3.92 MB / 0.538 GB, free: 5.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.3135, allocations: 343.5 kB / 0.5383 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.3138, allocations: 340 kB / 0.5386 GB, free: 4.648 MB / 442.7 MB 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.002156/0.316, allocations: 1.781 MB / 0.5404 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.3163, allocations: 286.1 kB / 0.5406 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.3186, allocations: 2.192 MB / 0.5428 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.3186, allocations: 20 kB / 0.5428 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3187, allocations: 4 kB / 0.5428 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3187, allocations: 7.969 kB / 0.5428 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00598/0.3246, allocations: 5.121 MB / 0.5478 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3247, allocations: 0 / 0.5478 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.3252, allocations: 219.6 kB / 0.548 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000714/0.3259, allocations: 488.3 kB / 0.5485 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.326, allocations: 31.92 kB / 0.5485 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.3286, allocations: 3.307 MB / 0.5518 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3286, allocations: 3.938 kB / 0.5518 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.3325, allocations: 4.328 MB / 0.556 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/0.3332, allocations: 481.8 kB / 0.5564 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.3333, allocations: 23.12 kB / 0.5565 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.334, allocations: 111.8 kB / 0.5566 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3341, allocations: 80.44 kB / 0.5566 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.3342, allocations: 36 kB / 0.5567 GB, free: 1.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002145/0.3363, allocations: 2.083 MB / 0.5587 GB, free: 15.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3363, allocations: 4.062 kB / 0.5587 GB, free: 15.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002855/0.3392, allocations: 0.91 MB / 0.5596 GB, free: 14.98 MB / 474.7 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 (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.0003442/0.3395, allocations: 178.7 kB / 0.5598 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.344, allocations: 4.134 MB / 0.5638 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.344, allocations: 4 kB / 0.5638 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009723/0.345, allocations: 1.112 MB / 0.5649 GB, free: 9.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3461, allocations: 309.7 kB / 0.5652 GB, free: 9.258 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.3545, allocations: 7.879 MB / 0.5729 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/0.3562, allocations: 2.198 MB / 0.575 GB, free: 15.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.3567, allocations: 244.5 kB / 0.5753 GB, free: 14.86 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3567, allocations: 0 / 0.5753 GB, free: 14.86 MB / 490.7 MB Notification: Performance of Templates: time 0.2457/0.6024, allocations: 64.69 MB / 0.6385 GB, free: 176.6 MB / 0.5105 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: 8.418103677220643]