Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007785/0.0007785, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003718/0.003718, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 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 0.8463/0.8463, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.867e-05, allocations: 2.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1638/0.1638, allocations: 9.08 MB / 452.5 MB, free: 39.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1668, allocations: 2.943 MB / 455.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.1672, allocations: 75.34 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.1691, allocations: 2.748 MB / 458.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009848/0.1701, allocations: 1.142 MB / 459.4 MB, free: 35.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1704, allocations: 292.3 kB / 459.7 MB, free: 35.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.1711, allocations: 1.552 MB / 461.3 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.172, allocations: 1.912 MB / 463.2 MB, free: 34.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.1727, allocations: 1.3 MB / 464.5 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.1745, allocations: 3.245 MB / 467.7 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1747, allocations: 188.3 kB / 467.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.175, allocations: 289.3 kB / 468.2 MB, free: 32.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009423/0.1759, allocations: 3.11 MB / 471.3 MB, free: 31.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006459/0.1766, allocations: 1.459 MB / 472.7 MB, free: 30.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003985/0.1806, allocations: 9.26 MB / 482 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1806, allocations: 1.094 kB / 482 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1806, allocations: 4 kB / 482 MB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.1807, allocations: 4.172 kB / 482 MB, free: 27.39 MB / 410.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.006861/0.1876, allocations: 8.919 MB / 490.9 MB, free: 21.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1876, allocations: 8.812 kB / 490.9 MB, free: 21.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.1884, allocations: 1.025 MB / 492 MB, free: 20.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.1921, allocations: 3.753 MB / 495.7 MB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.1921, allocations: 128.1 kB / 495.8 MB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.1923, allocations: 164.6 kB / 496 MB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.1983, allocations: 6.611 MB / 0.4908 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.1983, allocations: 14.88 kB / 0.4909 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.1984, allocations: 75.25 kB / 0.4909 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.1997, allocations: 1.56 MB / 0.4924 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.2048, allocations: 4.15 MB / 0.4965 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.2207, allocations: 18.1 MB / 0.5142 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.2216, allocations: 395.6 kB / 0.5146 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2217, allocations: 60.83 kB / 0.5146 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/0.2244, allocations: 1.809 MB / 0.5164 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2245, allocations: 113.3 kB / 0.5165 GB, free: 10.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.2245, allocations: 4 kB / 0.5165 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005308/0.225, allocations: 0.8708 MB / 0.5173 GB, free: 9.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.2251, allocations: 130.7 kB / 0.5175 GB, free: 9.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00908/0.2342, allocations: 10.68 MB / 0.5279 GB, free: 14.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.2342, allocations: 29.7 kB / 0.5279 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00295/0.2371, allocations: 5.953 MB / 0.5337 GB, free: 8.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.2372, allocations: 95.91 kB / 0.5338 GB, free: 8.797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.2377, allocations: 0.8065 MB / 0.5346 GB, free: 7.977 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.2377, allocations: 301.1 kB / 0.5349 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.2384, allocations: 0.7616 MB / 0.5356 GB, free: 6.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.2405, allocations: 3.999 MB / 0.5396 GB, free: 1.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.2436, allocations: 5.197 MB / 0.5446 GB, free: 10.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/0.2437, allocations: 32 kB / 0.5447 GB, free: 10.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004549/0.2482, allocations: 4.968 MB / 0.5495 GB, free: 5.363 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.2483, allocations: 56.19 kB / 0.5496 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.776e-05/0.2483, allocations: 120 kB / 0.5497 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.8e-05/0.2484, allocations: 152 kB / 0.5498 GB, free: 5.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2498, allocations: 0.9824 MB / 0.5508 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.455e-05/0.2499, allocations: 231.1 kB / 0.551 GB, free: 3.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.2521, allocations: 0.6143 MB / 0.5516 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.2523, allocations: 284 kB / 0.5519 GB, free: 2.938 MB / 458.7 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.003631/0.2559, allocations: 3.409 MB / 0.5552 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.2564, allocations: 0.9561 MB / 0.5561 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.2572, allocations: 1.007 MB / 0.5571 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.2573, allocations: 180.2 kB / 0.5573 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/0.2573, allocations: 192.3 kB / 0.5575 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001847/0.2575, allocations: 180.2 kB / 0.5576 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.2604, allocations: 3.786 MB / 0.5613 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/0.2604, allocations: 105 kB / 0.5614 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.2605, allocations: 104.9 kB / 0.5615 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-05/0.2605, allocations: 184.2 kB / 0.5617 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.2605, allocations: 180.2 kB / 0.5619 GB, free: 8.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.2606, allocations: 176.3 kB / 0.5621 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.944e-05/0.2606, allocations: 192.2 kB / 0.5622 GB, free: 8.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.2611, allocations: 1.187 MB / 0.5634 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/0.2619, allocations: 0.8661 MB / 0.5642 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.2621, allocations: 189.7 kB / 0.5644 GB, free: 5.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.2626, allocations: 102.2 kB / 0.5645 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.2627, allocations: 184.2 kB / 0.5647 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.2628, allocations: 109 kB / 0.5648 GB, free: 5.488 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006047/0.2689, allocations: 7.093 MB / 0.5717 GB, free: 14.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2689, allocations: 0 / 0.5717 GB, free: 14.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002892/0.2718, allocations: 1.149 MB / 0.5729 GB, free: 13.29 MB / 490.7 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.0001689/0.2719, allocations: 166.5 kB / 0.573 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.2736, allocations: 1.807 MB / 0.5748 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2736, allocations: 0 / 0.5748 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.2736, allocations: 0 / 0.5748 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/0.2796, allocations: 3.426 MB / 0.5781 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.2983, allocations: 16.63 MB / 0.5944 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.3023, allocations: 4.821 MB / 0.5991 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/0.3031, allocations: 440.4 kB / 0.5995 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of SimCode: time 2.083e-06/0.3031, allocations: 0 / 0.5995 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.2963/0.5994, allocations: 131 MB / 0.7274 GB, free: 83.39 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 17.45626063644886]