Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001745/0.001745, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002257/0.002257, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3221/0.3221, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.41e-05, allocations: 6.25 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01901/0.01904, allocations: 9.084 MB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009465/0.0285, allocations: 2.95 MB / 387.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.03, allocations: 79.62 kB / 387.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008815/0.03882, allocations: 2.776 MB / 390.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.0432, allocations: 1.147 MB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.04439, allocations: 295.3 kB / 391.6 MB, free: 4.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.04787, allocations: 1.56 MB / 393.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.05219, allocations: 1.961 MB / 395.1 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.05549, allocations: 1.298 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007669/0.06316, allocations: 3.249 MB / 399.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009447/0.0641, allocations: 188 kB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.06547, allocations: 287.8 kB / 400.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005095/0.07056, allocations: 3.112 MB / 403.2 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004593/0.07516, allocations: 1.458 MB / 404.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.09366, allocations: 9.257 MB / 413.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.09367, allocations: 4 kB / 413.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09367, allocations: 0 / 413.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002724/0.09394, allocations: 0 / 413.9 MB, free: 14.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.02479/0.1187, allocations: 8.921 MB / 422.8 MB, free: 5.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1188, allocations: 8.031 kB / 422.9 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.1211, allocations: 1.164 MB / 424 MB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/0.1284, allocations: 3.762 MB / 427.8 MB, free: 120 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.1286, allocations: 127.4 kB / 427.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.129, allocations: 163.9 kB / 428.1 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.1406, allocations: 6.616 MB / 434.7 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.1406, allocations: 7.938 kB / 434.7 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.1409, allocations: 83.94 kB / 434.8 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002074/0.143, allocations: 1.561 MB / 436.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00866/0.1517, allocations: 4.138 MB / 440.5 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2908/0.4424, allocations: 18.12 MB / 458.6 MB, free: 86.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.444, allocations: 397 kB / 459 MB, free: 86.63 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.4441, allocations: 64.55 kB / 459 MB, free: 86.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/0.4478, allocations: 1.818 MB / 460.9 MB, free: 85.82 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.4478, allocations: 114.1 kB / 461 MB, free: 85.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.4478, allocations: 0 / 461 MB, free: 85.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0007617/0.4486, allocations: 0.8819 MB / 461.8 MB, free: 85.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4486, allocations: 129.8 kB / 462 MB, free: 85.04 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/0.461, allocations: 10.68 MB / 472.7 MB, free: 81.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.461, allocations: 25.7 kB / 472.7 MB, free: 81.83 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003867/0.4648, allocations: 5.945 MB / 478.6 MB, free: 77.62 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.465, allocations: 92.45 kB / 478.7 MB, free: 77.59 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008593/0.4658, allocations: 0.8138 MB / 479.5 MB, free: 77.16 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.4659, allocations: 302.7 kB / 479.8 MB, free: 76.86 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.467, allocations: 0.7607 MB / 480.6 MB, free: 76.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.4695, allocations: 3.998 MB / 484.6 MB, free: 71.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.4738, allocations: 5.195 MB / 489.8 MB, free: 66.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.4739, allocations: 34 kB / 489.8 MB, free: 66.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009448/0.4833, allocations: 5.207 MB / 495 MB, free: 64.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.4834, allocations: 57.75 kB / 495.1 MB, free: 64.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.4836, allocations: 122.2 kB / 495.2 MB, free: 64.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.4837, allocations: 152.2 kB / 495.3 MB, free: 64.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.4861, allocations: 0.99 MB / 496.3 MB, free: 64.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001748/0.4863, allocations: 224.7 kB / 496.6 MB, free: 64.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.4906, allocations: 0.6055 MB / 497.2 MB, free: 63.89 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/0.4909, allocations: 288.9 kB / 497.4 MB, free: 63.85 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004673/0.4956, allocations: 3.405 MB / 0.4891 GB, free: 62.61 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.4967, allocations: 0.948 MB / 0.49 GB, free: 61.89 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.4982, allocations: 1.025 MB / 0.491 GB, free: 61 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.4982, allocations: 176.3 kB / 0.4912 GB, free: 60.82 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.4983, allocations: 180.2 kB / 0.4914 GB, free: 60.63 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.4983, allocations: 185.2 kB / 0.4916 GB, free: 60.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.504, allocations: 3.783 MB / 0.4952 GB, free: 57.35 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.504, allocations: 106 kB / 0.4953 GB, free: 57.24 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.504, allocations: 106 kB / 0.4955 GB, free: 57.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/0.5041, allocations: 185.3 kB / 0.4956 GB, free: 56.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.5041, allocations: 181.6 kB / 0.4958 GB, free: 56.76 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/0.5041, allocations: 184.8 kB / 0.496 GB, free: 56.57 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/0.5041, allocations: 180.9 kB / 0.4961 GB, free: 56.39 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.505, allocations: 1.193 MB / 0.4973 GB, free: 55.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.506, allocations: 0.8651 MB / 0.4982 GB, free: 54.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.5065, allocations: 180.9 kB / 0.4983 GB, free: 54.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.5073, allocations: 113.4 kB / 0.4984 GB, free: 54.02 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.5074, allocations: 184.9 kB / 0.4986 GB, free: 53.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.5074, allocations: 107.5 kB / 0.4987 GB, free: 53.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.009864/0.5172, allocations: 7.096 MB / 0.5056 GB, free: 47.92 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5172, allocations: 0 / 0.5056 GB, free: 47.92 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004741/0.522, allocations: 1.148 MB / 0.5068 GB, free: 46.89 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.5221, allocations: 168.5 kB / 0.5069 GB, free: 46.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.525, allocations: 1.802 MB / 0.5087 GB, free: 45.14 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.525, allocations: 192 / 0.5087 GB, free: 45.14 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.525, allocations: 11.52 kB / 0.5087 GB, free: 45.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/0.5366, allocations: 3.424 MB / 0.512 GB, free: 41.99 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.5569, allocations: 16.12 MB / 0.5278 GB, free: 25.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004751/0.5616, allocations: 4.82 MB / 0.5325 GB, free: 20.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005089/0.5667, allocations: 2.101 MB / 0.5345 GB, free: 18.78 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/0.5674, allocations: 402.5 kB / 0.5349 GB, free: 18.39 MB / 410.8 MB Notification: Performance of SimCode: time 1.774e-06/0.5674, allocations: 4 kB / 0.5349 GB, free: 18.39 MB / 410.8 MB Notification: Performance of Templates: time 0.2914/0.8588, allocations: 86.31 MB / 0.6192 GB, free: 125 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.953318723011762]