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.0009535/0.0009535, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001038/0.001038, allocations: 161.4 kB / 24.56 MB, free: 16 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 0.9751/0.9751, allocations: 177.1 MB / 205 MB, free: 5.262 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.2572/0.2572, allocations: 34.25 MB / 295.7 MB, free: 0.7109 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.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.81e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01875/0.01876, allocations: 9.963 MB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.02463, allocations: 3.028 MB / 391 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.0257, allocations: 79.62 kB / 391.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.02911, allocations: 2.878 MB / 394 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.03101, allocations: 1.151 MB / 395.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.03149, allocations: 299.3 kB / 395.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.033, allocations: 1.555 MB / 397 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.03472, allocations: 1.961 MB / 398.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.038, allocations: 3.565 MB / 402.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.03909, allocations: 1.021 MB / 403.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.0394, allocations: 188 kB / 403.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.03989, allocations: 287.8 kB / 404 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.04177, allocations: 3.12 MB / 407.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.04308, allocations: 1.462 MB / 408.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.04813, allocations: 6.535 MB / 415.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.04814, allocations: 0 / 415.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04814, allocations: 0 / 415.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001638/0.0483, allocations: 0 / 415.1 MB, free: 13.43 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.008746/0.05705, allocations: 9.78 MB / 424.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.0571, allocations: 8.031 kB / 424.9 MB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.05797, allocations: 1.16 MB / 426 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006881/0.06485, allocations: 6.076 MB / 432.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.06497, allocations: 131.3 kB / 432.3 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.06522, allocations: 167.9 kB / 432.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/0.07082, allocations: 3.114 MB / 435.5 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.07086, allocations: 7.938 kB / 435.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.071, allocations: 83.89 kB / 435.6 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001542/0.07255, allocations: 1.561 MB / 437.2 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.07826, allocations: 1.46 MB / 438.6 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2927/0.3709, allocations: 20.37 MB / 459 MB, free: 80.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3719, allocations: 353.3 kB / 459.4 MB, free: 80.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.372, allocations: 43.83 kB / 459.4 MB, free: 80.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.3742, allocations: 1.866 MB / 461.3 MB, free: 79.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3743, allocations: 156.6 kB / 461.4 MB, free: 79.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 3.516e-06/0.3743, allocations: 0 / 461.4 MB, free: 79.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0004664/0.3747, allocations: 0.8743 MB / 462.3 MB, free: 78.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3748, allocations: 170.6 kB / 462.5 MB, free: 78.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008686/0.3834, allocations: 8.926 MB / 471.4 MB, free: 75.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.3835, allocations: 25.7 kB / 471.4 MB, free: 75.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004243/0.3877, allocations: 6.399 MB / 477.8 MB, free: 70.61 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3878, allocations: 92.7 kB / 477.9 MB, free: 70.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007215/0.3886, allocations: 0.8582 MB / 478.8 MB, free: 70.09 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.3886, allocations: 476.8 kB / 479.2 MB, free: 69.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.3891, allocations: 340.6 kB / 479.6 MB, free: 69.57 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.3911, allocations: 5.1 MB / 484.7 MB, free: 62.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.3949, allocations: 5.985 MB / 490.6 MB, free: 55.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.089e-05/0.395, allocations: 38.56 kB / 490.7 MB, free: 55.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007252/0.4022, allocations: 4.34 MB / 495 MB, free: 53.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.4023, allocations: 56.59 kB / 495.1 MB, free: 53.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/0.4025, allocations: 121.3 kB / 495.2 MB, free: 53.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.4027, allocations: 150.3 kB / 495.3 MB, free: 53.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.405, allocations: 0.9871 MB / 496.3 MB, free: 53.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002096/0.4052, allocations: 226.8 kB / 496.6 MB, free: 53.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.4089, allocations: 0.6123 MB / 497.2 MB, free: 53.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.4092, allocations: 287.9 kB / 497.4 MB, free: 53.33 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.001934/0.4112, allocations: 0.6597 MB / 498.1 MB, free: 52.85 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/0.4127, allocations: 0.9976 MB / 499.1 MB, free: 52.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.4141, allocations: 0.8116 MB / 499.9 MB, free: 51.78 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.4141, allocations: 269.4 kB / 0.4885 GB, free: 51.51 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.4142, allocations: 269.5 kB / 0.4887 GB, free: 51.24 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.4142, allocations: 265.5 kB / 0.489 GB, free: 50.97 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/0.4231, allocations: 4.941 MB / 0.4938 GB, free: 48.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.4231, allocations: 152.8 kB / 0.4939 GB, free: 48.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.4232, allocations: 152.5 kB / 0.4941 GB, free: 48.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-05/0.4232, allocations: 264.1 kB / 0.4943 GB, free: 48.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4232, allocations: 267.5 kB / 0.4946 GB, free: 47.81 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/0.4232, allocations: 271.5 kB / 0.4948 GB, free: 47.54 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/0.4233, allocations: 268.1 kB / 0.4951 GB, free: 47.27 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.4247, allocations: 1.361 MB / 0.4964 GB, free: 46.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.4264, allocations: 0.8973 MB / 0.4973 GB, free: 45.57 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007209/0.4271, allocations: 273.6 kB / 0.4976 GB, free: 45.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/0.4279, allocations: 148.5 kB / 0.4977 GB, free: 45.15 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.4279, allocations: 270.7 kB / 0.498 GB, free: 44.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.428, allocations: 148.1 kB / 0.4981 GB, free: 44.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.008213/0.4362, allocations: 4.486 MB / 0.5025 GB, free: 43.42 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4362, allocations: 0 / 0.5025 GB, free: 43.42 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005658/0.4418, allocations: 1.146 MB / 0.5036 GB, free: 43.2 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.0001881/0.442, allocations: 224.4 kB / 0.5038 GB, free: 42.99 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.4454, allocations: 1.56 MB / 0.5053 GB, free: 41.63 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4454, allocations: 0.9375 kB / 0.5053 GB, free: 41.63 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.4454, allocations: 0 / 0.5053 GB, free: 41.63 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01532/0.4607, allocations: 3.693 MB / 0.509 GB, free: 38.63 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/0.4863, allocations: 13.39 MB / 0.522 GB, free: 26.01 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.4883, allocations: 2.146 MB / 0.5241 GB, free: 24.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003588/0.4918, allocations: 1.747 MB / 0.5258 GB, free: 23.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.4922, allocations: 404.5 kB / 0.5262 GB, free: 22.95 MB / 410.8 MB Notification: Performance of SimCode: time 2.815e-06/0.4922, allocations: 0 / 0.5262 GB, free: 22.95 MB / 410.8 MB Notification: Performance of Templates: time 0.3019/0.7941, allocations: 88.51 MB / 0.6127 GB, free: 143 MB / 474.8 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] 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","",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.251843380741775]