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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002292, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.336, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01319/0.3492, allocations: 10.38 MB / 0.5407 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009246/0.3585, allocations: 3.063 MB / 0.5437 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.3614, allocations: 66.47 kB / 0.5438 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006078/0.3676, allocations: 2.679 MB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.3717, allocations: 1.029 MB / 0.5474 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.3726, allocations: 269 kB / 0.5477 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002938/0.3756, allocations: 1.517 MB / 0.5492 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.3788, allocations: 2.441 MB / 0.5515 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.3806, allocations: 0.9421 MB / 0.5525 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.3854, allocations: 3.317 MB / 0.5557 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007246/0.3861, allocations: 184 kB / 0.5559 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.3871, allocations: 271.8 kB / 0.5561 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.3899, allocations: 2.927 MB / 0.559 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004259/0.3942, allocations: 3.333 MB / 0.5623 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.4062, allocations: 9.809 MB / 0.5718 GB, free: 7.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4063, allocations: 0 / 0.5718 GB, free: 7.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4063, allocations: 0 / 0.5718 GB, free: 7.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.4066, allocations: 0 / 0.5718 GB, free: 7.305 MB / 430.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.01672/0.4233, allocations: 9.11 MB / 0.5807 GB, free: 14.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.4234, allocations: 12.03 kB / 0.5807 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.4245, allocations: 0.6157 MB / 0.5813 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.426, allocations: 1.028 MB / 0.5823 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0065/0.4325, allocations: 3.815 MB / 0.5861 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4326, allocations: 135.1 kB / 0.5862 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.4329, allocations: 171.9 kB / 0.5864 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009807/0.4427, allocations: 6.601 MB / 0.5928 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.4428, allocations: 11.88 kB / 0.5928 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.443, allocations: 83.92 kB / 0.5929 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.4448, allocations: 1.561 MB / 0.5944 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007974/0.4528, allocations: 4.133 MB / 0.5985 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/0.4851, allocations: 20.31 MB / 0.6183 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.4867, allocations: 346.2 kB / 0.6186 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4869, allocations: 60.81 kB / 0.6187 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005197/0.4921, allocations: 3.265 MB / 0.6219 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.4922, allocations: 105.8 kB / 0.622 GB, free: 2.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.4922, allocations: 0 / 0.622 GB, free: 2.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001259/0.4935, allocations: 0.8825 MB / 0.6228 GB, free: 2.031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4936, allocations: 134.6 kB / 0.623 GB, free: 1.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/0.5117, allocations: 10.56 MB / 0.6333 GB, free: 7.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.5118, allocations: 25.7 kB / 0.6333 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006981/0.5188, allocations: 5.954 MB / 0.6391 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.519, allocations: 95.89 kB / 0.6392 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.52, allocations: 0.8222 MB / 0.64 GB, free: 448 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5202, allocations: 309.1 kB / 0.6403 GB, free: 136 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5213, allocations: 0.7616 MB / 0.641 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/0.5254, allocations: 4.003 MB / 0.6449 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006508/0.5319, allocations: 5.201 MB / 0.65 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.851e-05/0.532, allocations: 32 kB / 0.6501 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008854/0.5409, allocations: 4.961 MB / 0.6549 GB, free: 13.82 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.541, allocations: 56 kB / 0.655 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/0.5411, allocations: 120 kB / 0.6551 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.5413, allocations: 156.1 kB / 0.6552 GB, free: 13.49 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.5439, allocations: 0.9902 MB / 0.6562 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002006/0.5441, allocations: 223.2 kB / 0.6564 GB, free: 12.28 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/0.5481, allocations: 0.6165 MB / 0.657 GB, free: 11.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004362/0.5485, allocations: 295.8 kB / 0.6573 GB, free: 11.38 MB / 0.5138 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.00561/0.5541, allocations: 3.405 MB / 0.6606 GB, free: 7.953 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/0.5555, allocations: 0.9561 MB / 0.6615 GB, free: 6.984 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.5575, allocations: 1.027 MB / 0.6625 GB, free: 5.949 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.644e-05/0.5576, allocations: 180.2 kB / 0.6627 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/0.5577, allocations: 188.2 kB / 0.6629 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.798e-05/0.5578, allocations: 188.2 kB / 0.6631 GB, free: 5.387 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008388/0.5661, allocations: 5.123 MB / 0.6681 GB, free: 200 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/0.5662, allocations: 112.9 kB / 0.6682 GB, free: 80 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.5663, allocations: 101 kB / 0.6683 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.463e-05/0.5664, allocations: 184.2 kB / 0.6685 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.5665, allocations: 180.3 kB / 0.6686 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-05/0.5666, allocations: 180.3 kB / 0.6688 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.414e-05/0.5667, allocations: 180.2 kB / 0.669 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5681, allocations: 1.203 MB / 0.6701 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.5697, allocations: 0.9454 MB / 0.6711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006693/0.5703, allocations: 176.3 kB / 0.6712 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.5712, allocations: 112.9 kB / 0.6713 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.5713, allocations: 180.2 kB / 0.6715 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.5713, allocations: 108.9 kB / 0.6716 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01319/0.5845, allocations: 7.146 MB / 0.6786 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5846, allocations: 0 / 0.6786 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004664/0.5892, allocations: 1.141 MB / 0.6797 GB, free: 4.191 MB / 0.5294 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.001867/0.5911, allocations: 1.737 MB / 0.6814 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003391/0.5945, allocations: 1.863 MB / 0.6832 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5946, allocations: 0 / 0.6832 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-06/0.5946, allocations: 4 kB / 0.6832 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/0.6087, allocations: 3.467 MB / 0.6866 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5853/1.194, allocations: 62.44 MB / 0.7476 GB, free: 157.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005405/1.199, allocations: 5.28 MB / 0.7528 GB, free: 155.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005523/1.205, allocations: 2.103 MB / 0.7548 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004251/1.209, allocations: 4.054 MB / 0.7588 GB, free: 150.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.102e-06/1.209, allocations: 0 / 0.7588 GB, free: 150.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/1.447, allocations: 154.3 MB / 0.9095 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.4/38.85, allocations: 6.328 kB / 0.9095 GB, free: 0.5859 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches