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.001651/0.001651, allocations: 109 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.00212/0.00212, allocations: 213.9 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.436/1.436, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB
"
[Timeout remaining time 178]
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.2268/0.2268, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 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 0.002358/0.002358, allocations: 79.86 kB / 0.497 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3769, allocations: 66.03 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01278/0.3897, allocations: 10.42 MB / 0.5717 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006937/0.3966, allocations: 3.105 MB / 0.5747 GB, free: 7.035 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.3983, allocations: 79.62 kB / 0.5748 GB, free: 6.957 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005395/0.4037, allocations: 2.726 MB / 0.5775 GB, free: 4.223 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003416/0.4071, allocations: 1.121 MB / 0.5786 GB, free: 3.098 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.4078, allocations: 275.5 kB / 0.5788 GB, free: 2.828 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002421/0.4103, allocations: 1.506 MB / 0.5803 GB, free: 1.316 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.4128, allocations: 1.75 MB / 0.582 GB, free: 15.53 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.4142, allocations: 0.9265 MB / 0.5829 GB, free: 14.6 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.4192, allocations: 3.439 MB / 0.5863 GB, free: 11.15 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005805/0.4198, allocations: 184 kB / 0.5865 GB, free: 10.97 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008106/0.4206, allocations: 279.8 kB / 0.5867 GB, free: 10.7 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002579/0.4232, allocations: 3.013 MB / 0.5897 GB, free: 7.676 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003281/0.4265, allocations: 3.333 MB / 0.5929 GB, free: 4.316 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01041/0.4369, allocations: 9.87 MB / 0.6026 GB, free: 10.4 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4369, allocations: 0 / 0.6026 GB, free: 10.4 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.235e-06/0.4369, allocations: 0 / 0.6026 GB, free: 10.4 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.000206/0.4371, allocations: 0 / 0.6026 GB, free: 10.4 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.01445/0.4515, allocations: 9.046 MB / 0.6114 GB, free: 1.258 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4516, allocations: 8.031 kB / 0.6114 GB, free: 1.25 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.4529, allocations: 1.024 MB / 0.6124 GB, free: 224 kB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.4584, allocations: 3.739 MB / 0.616 GB, free: 12.42 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4585, allocations: 131.3 kB / 0.6162 GB, free: 12.29 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.4587, allocations: 171.9 kB / 0.6163 GB, free: 12.12 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009401/0.4681, allocations: 6.604 MB / 0.6228 GB, free: 5.34 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.4681, allocations: 7.938 kB / 0.6228 GB, free: 5.332 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.4683, allocations: 83.94 kB / 0.6229 GB, free: 5.25 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.4701, allocations: 1.564 MB / 0.6244 GB, free: 3.684 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007703/0.4779, allocations: 4.125 MB / 0.6284 GB, free: 15.55 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03333/0.5112, allocations: 20.25 MB / 0.6482 GB, free: 11.02 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.5128, allocations: 338 kB / 0.6485 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.513, allocations: 60.86 kB / 0.6486 GB, free: 10.62 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.005071/0.518, allocations: 1.924 MB / 0.6505 GB, free: 8.676 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.5181, allocations: 109.8 kB / 0.6506 GB, free: 8.559 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.5181, allocations: 0 / 0.6506 GB, free: 8.559 MB / 494.1 MB
Notification: Performance of matching and sorting (n=0): time 0.001373/0.5195, allocations: 0.8825 MB / 0.6514 GB, free: 7.664 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.5196, allocations: 130.7 kB / 0.6516 GB, free: 7.523 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01759/0.5371, allocations: 10.55 MB / 0.6619 GB, free: 13.03 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5372, allocations: 25.7 kB / 0.6619 GB, free: 13 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.005748/0.5429, allocations: 5.958 MB / 0.6677 GB, free: 7.008 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.5431, allocations: 95.89 kB / 0.6678 GB, free: 6.914 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.5442, allocations: 0.8261 MB / 0.6686 GB, free: 6.074 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001614/0.5444, allocations: 313.1 kB / 0.6689 GB, free: 5.766 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.5456, allocations: 0.7577 MB / 0.6696 GB, free: 5 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/0.5496, allocations: 3.995 MB / 0.6735 GB, free: 15.32 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006125/0.5557, allocations: 5.197 MB / 0.6786 GB, free: 8.469 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.171e-05/0.5558, allocations: 32 kB / 0.6786 GB, free: 8.438 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=537) (initialization): time 0.008428/0.5642, allocations: 4.968 MB / 0.6835 GB, free: 3.461 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/0.5643, allocations: 62.06 kB / 0.6836 GB, free: 3.402 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.5644, allocations: 123.9 kB / 0.6837 GB, free: 3.281 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.5646, allocations: 148 kB / 0.6838 GB, free: 3.137 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.5669, allocations: 0.9786 MB / 0.6848 GB, free: 2.156 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001815/0.5671, allocations: 231.1 kB / 0.685 GB, free: 1.93 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.5707, allocations: 0.6205 MB / 0.6856 GB, free: 1.305 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.571, allocations: 288 kB / 0.6859 GB, free: 1.023 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.00524/0.5763, allocations: 3.405 MB / 0.6892 GB, free: 13.6 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.5775, allocations: 0.96 MB / 0.6901 GB, free: 12.63 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.5793, allocations: 1.023 MB / 0.6911 GB, free: 11.6 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.5794, allocations: 184.2 kB / 0.6913 GB, free: 11.41 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001251/0.5795, allocations: 184.3 kB / 0.6915 GB, free: 11.22 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.052e-05/0.5796, allocations: 180.2 kB / 0.6917 GB, free: 11.04 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009764/0.5893, allocations: 5.106 MB / 0.6966 GB, free: 5.871 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-05/0.5894, allocations: 108.9 kB / 0.6967 GB, free: 5.758 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.5894, allocations: 105 kB / 0.6968 GB, free: 5.648 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.5895, allocations: 180.3 kB / 0.697 GB, free: 5.465 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.733e-05/0.5896, allocations: 180.2 kB / 0.6972 GB, free: 5.281 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.929e-05/0.5897, allocations: 180.2 kB / 0.6974 GB, free: 5.098 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.634e-05/0.5898, allocations: 188.2 kB / 0.6975 GB, free: 4.906 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5911, allocations: 1.199 MB / 0.6987 GB, free: 3.676 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002185/0.5933, allocations: 0.8739 MB / 0.6996 GB, free: 2.789 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/0.5945, allocations: 180.3 kB / 0.6997 GB, free: 2.605 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.5957, allocations: 104.9 kB / 0.6998 GB, free: 2.496 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.5958, allocations: 180.2 kB / 0.7 GB, free: 2.312 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.5958, allocations: 109 kB / 0.7001 GB, free: 2.199 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.01392/0.6097, allocations: 7.145 MB / 0.7071 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1.6e-07/0.6097, allocations: 0 / 0.7071 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.004919/0.6146, allocations: 1.141 MB / 0.7082 GB, free: 9.965 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.0002222/0.6149, allocations: 170.5 kB / 0.7084 GB, free: 9.785 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.003472/0.6183, allocations: 1.811 MB / 0.7101 GB, free: 8 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6183, allocations: 0 / 0.7101 GB, free: 8 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.6183, allocations: 0 / 0.7101 GB, free: 8 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/0.6338, allocations: 3.445 MB / 0.7135 GB, free: 4.543 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/0.6651, allocations: 15.94 MB / 0.7291 GB, free: 4.551 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5135/1.179, allocations: 5.278 MB / 0.7342 GB, free: 144.5 MB / 0.5607 GB
Notification: Performance of simCode: alias equations: time 0.006612/1.185, allocations: 2.099 MB / 0.7363 GB, free: 144.3 MB / 0.5607 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/1.186, allocations: 403.6 kB / 0.7367 GB, free: 144.3 MB / 0.5607 GB
Notification: Performance of SimCode: time 1.092e-06/1.186, allocations: 0 / 0.7367 GB, free: 144.3 MB / 0.5607 GB
Notification: Performance of Templates: time 0.1255/1.311, allocations: 86.04 MB / 0.8207 GB, free: 69.83 MB / 0.5607 GB
"
[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=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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.334950516931713]