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.001119/0.00112, allocations: 107.7 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001243, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 77.41 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1177, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3022/0.4199, allocations: 55.48 MB / 0.5225 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.4427, allocations: 10.2 MB / 0.5325 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.4531, allocations: 242 kB / 0.5327 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004659/0.4579, allocations: 2.586 MB / 0.5353 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.4607, allocations: 0.9587 MB / 0.5362 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.4616, allocations: 244.4 kB / 0.5364 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.464, allocations: 1.529 MB / 0.5379 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.4675, allocations: 2.58 MB / 0.5404 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.4694, allocations: 0.9632 MB / 0.5414 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.4736, allocations: 3.577 MB / 0.5449 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008167/0.4744, allocations: 185.6 kB / 0.545 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.4756, allocations: 278.6 kB / 0.5453 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.4778, allocations: 3.013 MB / 0.5483 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004272/0.4821, allocations: 3.347 MB / 0.5515 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009884/0.492, allocations: 9.206 MB / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.492, allocations: 0 / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.492, allocations: 0 / 0.5605 GB, free: 4.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000392/0.4924, allocations: 0 / 0.5605 GB, free: 4.094 MB / 398.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.01703/0.5094, allocations: 8.785 MB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5095, allocations: 8.031 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.5107, allocations: 0.6215 MB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.5122, allocations: 0.9666 MB / 0.5707 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.5177, allocations: 3.72 MB / 0.5743 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.5179, allocations: 131.3 kB / 0.5744 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.5183, allocations: 167.9 kB / 0.5746 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009269/0.5275, allocations: 6.601 MB / 0.581 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.5276, allocations: 11.92 kB / 0.581 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.5279, allocations: 71.94 kB / 0.5811 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/0.5295, allocations: 1.561 MB / 0.5826 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/0.5371, allocations: 4.139 MB / 0.5867 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/0.5705, allocations: 20.4 MB / 0.6066 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5721, allocations: 338.2 kB / 0.6069 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.5723, allocations: 63.27 kB / 0.607 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005311/0.5776, allocations: 3.253 MB / 0.6101 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.5777, allocations: 117.8 kB / 0.6103 GB, free: 292 kB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/0.5777, allocations: 4 kB / 0.6103 GB, free: 288 kB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.00148/0.5792, allocations: 0.8425 MB / 0.6111 GB, free: 15.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.5792, allocations: 126.7 kB / 0.6112 GB, free: 15.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02102/0.6003, allocations: 10.54 MB / 0.6215 GB, free: 4.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6004, allocations: 25.7 kB / 0.6215 GB, free: 4.762 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00718/0.6075, allocations: 5.834 MB / 0.6272 GB, free: 14.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.6078, allocations: 91.91 kB / 0.6273 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.6092, allocations: 0.8213 MB / 0.6281 GB, free: 13.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6093, allocations: 301.1 kB / 0.6284 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.6107, allocations: 0.7654 MB / 0.6291 GB, free: 12.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.6144, allocations: 3.999 MB / 0.633 GB, free: 7.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.62, allocations: 5.197 MB / 0.6381 GB, free: 360 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.853e-05/0.6201, allocations: 32 kB / 0.6382 GB, free: 328 kB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009019/0.6292, allocations: 4.92 MB / 0.643 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.6293, allocations: 60.03 kB / 0.643 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/0.6295, allocations: 120 kB / 0.6431 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.6297, allocations: 151.9 kB / 0.6433 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.6322, allocations: 0.9863 MB / 0.6442 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/0.6324, allocations: 227.1 kB / 0.6445 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.6361, allocations: 0.603 MB / 0.645 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.6365, allocations: 287.9 kB / 0.6453 GB, free: 8.965 MB / 494.1 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.005964/0.6424, allocations: 3.401 MB / 0.6486 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/0.6441, allocations: 0.9121 MB / 0.6495 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.6462, allocations: 1.023 MB / 0.6505 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.6463, allocations: 184.2 kB / 0.6507 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/0.6464, allocations: 180.3 kB / 0.6509 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-05/0.6465, allocations: 180.2 kB / 0.651 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.6574, allocations: 5.135 MB / 0.6561 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/0.6575, allocations: 105 kB / 0.6562 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.6576, allocations: 112.9 kB / 0.6563 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.936e-05/0.6576, allocations: 180.3 kB / 0.6564 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.6577, allocations: 184.2 kB / 0.6566 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.519e-05/0.6578, allocations: 180.2 kB / 0.6568 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.558e-05/0.6579, allocations: 176.3 kB / 0.657 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.6595, allocations: 1.155 MB / 0.6581 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/0.6618, allocations: 0.8978 MB / 0.659 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/0.6632, allocations: 192.1 kB / 0.6591 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.6647, allocations: 101 kB / 0.6592 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.6648, allocations: 184.2 kB / 0.6594 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.6648, allocations: 109 kB / 0.6595 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01518/0.68, allocations: 7.138 MB / 0.6665 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.72e-07/0.68, allocations: 0 / 0.6665 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004881/0.6849, allocations: 1.132 MB / 0.6676 GB, free: 1.922 MB / 0.4981 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.001995/0.6869, allocations: 1.7 MB / 0.6693 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003603/0.6906, allocations: 1.874 MB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6906, allocations: 0.875 kB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.6906, allocations: 4 kB / 0.6711 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/0.7053, allocations: 3.444 MB / 0.6745 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5885/1.294, allocations: 96.78 MB / 0.769 GB, free: 149.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00661/1.3, allocations: 5.279 MB / 0.7741 GB, free: 144.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006581/1.307, allocations: 2.093 MB / 0.7762 GB, free: 142.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004202/1.311, allocations: 4.057 MB / 0.7801 GB, free: 138.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.432e-06/1.311, allocations: 3.938 kB / 0.7801 GB, free: 138.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5253/1.837, allocations: 160.4 MB / 0.9367 GB, free: 177 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.837, allocations: 195.5 kB / 0.9369 GB, free: 176.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/8.506, allocations: 0 / 0.9369 GB, free: 176.7 MB / 0.545 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