Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.000939/0.000939, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009587/0.0009587, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9951/0.9951, allocations: 177 MB / 204.8 MB, free: 5.586 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.2696/0.2696, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.731e-05, allocations: 3.016 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008178/0.008205, allocations: 9.975 MB / 388.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.0146, allocations: 3.024 MB / 391.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.01645, allocations: 79.62 kB / 391.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.01976, allocations: 2.87 MB / 394.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.02237, allocations: 1.162 MB / 395.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.02311, allocations: 295.4 kB / 396.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.02534, allocations: 1.548 MB / 397.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.02779, allocations: 1.965 MB / 399.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00391/0.0317, allocations: 3.561 MB / 403.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.03304, allocations: 1.017 MB / 404.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.03356, allocations: 188 kB / 404.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.03428, allocations: 291.7 kB / 404.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.03636, allocations: 3.12 MB / 407.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.03817, allocations: 1.458 MB / 409.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.04429, allocations: 6.539 MB / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.0443, allocations: 0 / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0443, allocations: 0 / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002709/0.04457, allocations: 0 / 415.8 MB, free: 12.85 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.0124/0.05697, allocations: 9.772 MB / 425.6 MB, free: 2.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.05703, allocations: 12.03 kB / 425.6 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.05826, allocations: 1.168 MB / 426.8 MB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00766/0.06592, allocations: 6.08 MB / 432.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.06603, allocations: 127.3 kB / 433 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.0663, allocations: 171.9 kB / 433.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00459/0.07089, allocations: 3.114 MB / 436.3 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.07092, allocations: 15.86 kB / 436.3 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/0.07101, allocations: 79.88 kB / 436.4 MB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/0.07209, allocations: 1.561 MB / 437.9 MB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.07481, allocations: 1.458 MB / 439.4 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.3679, allocations: 20.36 MB / 459.7 MB, free: 79.71 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.3688, allocations: 357.7 kB / 460.1 MB, free: 79.66 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3689, allocations: 44.72 kB / 460.1 MB, free: 79.64 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.3712, allocations: 1.866 MB / 462 MB, free: 78.69 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3713, allocations: 155.8 kB / 462.1 MB, free: 78.53 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.3713, allocations: 0 / 462.1 MB, free: 78.53 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0004881/0.3718, allocations: 0.8789 MB / 463 MB, free: 78 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3718, allocations: 170.6 kB / 463.2 MB, free: 77.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/0.3788, allocations: 8.923 MB / 472.1 MB, free: 74.62 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.3788, allocations: 25.7 kB / 472.1 MB, free: 74.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003668/0.3825, allocations: 6.394 MB / 478.5 MB, free: 70.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.3826, allocations: 93.56 kB / 478.6 MB, free: 70.04 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.3832, allocations: 0.8581 MB / 479.5 MB, free: 69.56 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.3832, allocations: 484.7 kB / 480 MB, free: 69.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.3837, allocations: 338.3 kB / 480.3 MB, free: 69.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.3855, allocations: 5.098 MB / 485.4 MB, free: 62.41 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.3889, allocations: 5.985 MB / 491.4 MB, free: 55.12 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.179e-05/0.389, allocations: 33.5 kB / 491.4 MB, free: 55.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006649/0.3956, allocations: 4.341 MB / 495.7 MB, free: 53.24 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.3957, allocations: 56.16 kB / 495.8 MB, free: 53.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.3958, allocations: 117 kB / 495.9 MB, free: 53.24 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.396, allocations: 152 kB / 496.1 MB, free: 53.24 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.398, allocations: 0.9874 MB / 497 MB, free: 53.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001614/0.3982, allocations: 226.2 kB / 497.3 MB, free: 53.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.4013, allocations: 0.6197 MB / 497.9 MB, free: 52.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.4016, allocations: 284.5 kB / 498.2 MB, free: 52.77 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.001485/0.403, allocations: 0.6593 MB / 498.8 MB, free: 52.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/0.4039, allocations: 0.9928 MB / 499.8 MB, free: 51.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/0.4049, allocations: 0.8111 MB / 0.4889 GB, free: 51.22 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.4049, allocations: 268.8 kB / 0.4892 GB, free: 50.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/0.4049, allocations: 269.4 kB / 0.4894 GB, free: 50.68 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.4049, allocations: 265.5 kB / 0.4897 GB, free: 50.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005395/0.4103, allocations: 4.946 MB / 0.4945 GB, free: 48.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.4103, allocations: 146.8 kB / 0.4946 GB, free: 47.94 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.4104, allocations: 144.9 kB / 0.4948 GB, free: 47.79 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.4104, allocations: 269.9 kB / 0.495 GB, free: 47.52 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.4104, allocations: 269.2 kB / 0.4953 GB, free: 47.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/0.4104, allocations: 278 kB / 0.4956 GB, free: 46.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.172e-05/0.4104, allocations: 265.6 kB / 0.4958 GB, free: 46.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.4112, allocations: 1.363 MB / 0.4971 GB, free: 45.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/0.4121, allocations: 0.8921 MB / 0.498 GB, free: 45.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/0.4125, allocations: 270 kB / 0.4983 GB, free: 44.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.4132, allocations: 144.9 kB / 0.4984 GB, free: 44.6 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4132, allocations: 270.2 kB / 0.4987 GB, free: 44.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4132, allocations: 158.8 kB / 0.4988 GB, free: 44.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005291/0.4185, allocations: 4.48 MB / 0.5032 GB, free: 42.86 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4185, allocations: 0 / 0.5032 GB, free: 42.86 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004092/0.4226, allocations: 1.156 MB / 0.5043 GB, free: 42.59 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.0001491/0.4227, allocations: 218.4 kB / 0.5045 GB, free: 42.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.4252, allocations: 1.564 MB / 0.5061 GB, free: 40.99 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.4252, allocations: 0 / 0.5061 GB, free: 40.99 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-06/0.4252, allocations: 256 / 0.5061 GB, free: 40.99 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009517/0.4347, allocations: 3.684 MB / 0.5096 GB, free: 38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.4488, allocations: 13.4 MB / 0.5227 GB, free: 25.37 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.4504, allocations: 2.147 MB / 0.5248 GB, free: 23.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003485/0.4538, allocations: 1.749 MB / 0.5265 GB, free: 22.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.4542, allocations: 400.5 kB / 0.5269 GB, free: 22.25 MB / 410.8 MB Notification: Performance of SimCode: time 1.854e-06/0.4542, allocations: 0 / 0.5269 GB, free: 22.25 MB / 410.8 MB Notification: Performance of Templates: time 0.2616/0.7158, allocations: 88.48 MB / 0.6133 GB, free: 142.8 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.299774164799601]