Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00126/0.00126, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001602/0.001602, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.93 MB / 361.4 MB, free: 4.406 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps")
translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 79.86 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3602, allocations: 66.04 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01322/0.3734, allocations: 10.43 MB / 0.5718 GB, free: 10.06 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008402/0.3818, allocations: 3.109 MB / 0.5749 GB, free: 6.945 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.384, allocations: 75.69 kB / 0.5749 GB, free: 6.871 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005778/0.3897, allocations: 2.722 MB / 0.5776 GB, free: 4.141 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003146/0.3929, allocations: 1.128 MB / 0.5787 GB, free: 3.008 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.3937, allocations: 271.5 kB / 0.579 GB, free: 2.742 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002285/0.3959, allocations: 1.509 MB / 0.5804 GB, free: 1.227 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.3982, allocations: 1.739 MB / 0.5821 GB, free: 15.45 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.3996, allocations: 0.9265 MB / 0.583 GB, free: 14.52 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.4046, allocations: 3.439 MB / 0.5864 GB, free: 11.08 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.405, allocations: 184 kB / 0.5866 GB, free: 10.9 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.4058, allocations: 283.8 kB / 0.5868 GB, free: 10.62 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002744/0.4085, allocations: 3.013 MB / 0.5898 GB, free: 7.598 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00303/0.4116, allocations: 3.329 MB / 0.593 GB, free: 4.242 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009781/0.4213, allocations: 9.881 MB / 0.6027 GB, free: 10.31 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4213, allocations: 0 / 0.6027 GB, free: 10.31 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.164e-06/0.4213, allocations: 0 / 0.6027 GB, free: 10.31 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.000257/0.4216, allocations: 0 / 0.6027 GB, free: 10.31 MB / 446.1 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.01367/0.4353, allocations: 9.039 MB / 0.6115 GB, free: 1.18 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4353, allocations: 12.03 kB / 0.6115 GB, free: 1.168 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4367, allocations: 1.024 MB / 0.6125 GB, free: 140 kB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.4435, allocations: 3.739 MB / 0.6162 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4436, allocations: 131.3 kB / 0.6163 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.4438, allocations: 167.9 kB / 0.6165 GB, free: 12.04 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009213/0.453, allocations: 6.608 MB / 0.6229 GB, free: 5.258 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.4531, allocations: 7.938 kB / 0.6229 GB, free: 5.25 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.4532, allocations: 79.94 kB / 0.623 GB, free: 5.172 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.4551, allocations: 1.561 MB / 0.6245 GB, free: 3.609 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/0.4627, allocations: 4.137 MB / 0.6286 GB, free: 15.46 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.4924, allocations: 20.24 MB / 0.6483 GB, free: 10.95 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.494, allocations: 342 kB / 0.6487 GB, free: 10.6 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.4941, allocations: 59.31 kB / 0.6487 GB, free: 10.54 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.004383/0.4985, allocations: 1.92 MB / 0.6506 GB, free: 8.598 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.4985, allocations: 113.9 kB / 0.6507 GB, free: 8.477 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.4985, allocations: 0 / 0.6507 GB, free: 8.477 MB / 494.1 MB
Notification: Performance of matching and sorting (n=0): time 0.001045/0.4996, allocations: 0.8864 MB / 0.6516 GB, free: 7.578 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.4996, allocations: 126.7 kB / 0.6517 GB, free: 7.441 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/0.5171, allocations: 10.55 MB / 0.662 GB, free: 12.94 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5171, allocations: 25.7 kB / 0.662 GB, free: 12.91 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.006513/0.5236, allocations: 5.954 MB / 0.6678 GB, free: 6.926 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.5238, allocations: 95.91 kB / 0.6679 GB, free: 6.832 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009827/0.5248, allocations: 0.8261 MB / 0.6687 GB, free: 5.992 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001244/0.5249, allocations: 309.1 kB / 0.669 GB, free: 5.688 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.5259, allocations: 0.7616 MB / 0.6698 GB, free: 4.918 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/0.53, allocations: 3.995 MB / 0.6737 GB, free: 15.24 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/0.5361, allocations: 5.197 MB / 0.6787 GB, free: 8.387 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.569e-05/0.5361, allocations: 35.94 kB / 0.6788 GB, free: 8.352 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=537) (initialization): time 0.009925/0.5461, allocations: 4.968 MB / 0.6836 GB, free: 3.375 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.5461, allocations: 60.03 kB / 0.6837 GB, free: 3.316 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/0.5463, allocations: 120 kB / 0.6838 GB, free: 3.199 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.5464, allocations: 148 kB / 0.6839 GB, free: 3.055 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.549, allocations: 0.9863 MB / 0.6849 GB, free: 2.066 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/0.5492, allocations: 231.1 kB / 0.6851 GB, free: 1.84 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/0.5532, allocations: 0.6166 MB / 0.6857 GB, free: 1.219 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.5535, allocations: 288 kB / 0.686 GB, free: 0.9375 MB / 0.5137 GB
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.00584/0.5594, allocations: 3.409 MB / 0.6893 GB, free: 13.51 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/0.5611, allocations: 0.9561 MB / 0.6903 GB, free: 12.54 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.563, allocations: 1.023 MB / 0.6913 GB, free: 11.51 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.681e-05/0.5631, allocations: 192.1 kB / 0.6914 GB, free: 11.32 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.5632, allocations: 180.3 kB / 0.6916 GB, free: 11.13 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.857e-05/0.5633, allocations: 184.2 kB / 0.6918 GB, free: 10.95 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008517/0.5718, allocations: 5.102 MB / 0.6968 GB, free: 5.781 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.825e-05/0.5718, allocations: 101 kB / 0.6969 GB, free: 5.676 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.5719, allocations: 112.9 kB / 0.697 GB, free: 5.559 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.572, allocations: 188.2 kB / 0.6972 GB, free: 5.367 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.572, allocations: 180.2 kB / 0.6973 GB, free: 5.184 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.437e-05/0.5721, allocations: 176.3 kB / 0.6975 GB, free: 5.004 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.789e-05/0.5722, allocations: 176.3 kB / 0.6977 GB, free: 4.824 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5735, allocations: 1.207 MB / 0.6988 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.5752, allocations: 0.87 MB / 0.6997 GB, free: 2.703 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/0.5758, allocations: 180.3 kB / 0.6999 GB, free: 2.52 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.5766, allocations: 101 kB / 0.7 GB, free: 2.414 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.5766, allocations: 180.2 kB / 0.7001 GB, free: 2.23 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.5767, allocations: 109 kB / 0.7002 GB, free: 2.117 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.01257/0.5893, allocations: 7.138 MB / 0.7072 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of sort global known variables: time 2.11e-07/0.5893, allocations: 4 kB / 0.7072 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.005259/0.5945, allocations: 1.141 MB / 0.7083 GB, free: 9.883 MB / 0.545 GB
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.000227/0.5947, allocations: 174.5 kB / 0.7085 GB, free: 9.699 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.003339/0.5981, allocations: 1.807 MB / 0.7103 GB, free: 7.918 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5981, allocations: 0 / 0.7103 GB, free: 7.918 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 4.719e-06/0.5981, allocations: 0 / 0.7103 GB, free: 7.918 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01396/0.6121, allocations: 3.453 MB / 0.7136 GB, free: 4.457 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/0.6397, allocations: 15.94 MB / 0.7292 GB, free: 4.465 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5414/1.181, allocations: 5.281 MB / 0.7343 GB, free: 144.4 MB / 0.5607 GB
Notification: Performance of simCode: alias equations: time 0.007924/1.189, allocations: 2.102 MB / 0.7364 GB, free: 144.3 MB / 0.5607 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/1.19, allocations: 403.3 kB / 0.7368 GB, free: 144.2 MB / 0.5607 GB
Notification: Performance of SimCode: time 1.112e-06/1.19, allocations: 3.906 kB / 0.7368 GB, free: 144.2 MB / 0.5607 GB
Notification: Performance of Templates: time 0.1363/1.326, allocations: 86.03 MB / 0.8208 GB, free: 69.68 MB / 0.5607 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 8.555757697671652]