Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.4 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.53 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 60.82 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2691/0.387, allocations: 55.85 MB / 0.5122 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02619/0.4133, allocations: 10.38 MB / 0.5223 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01183/0.4251, allocations: 240.5 kB / 0.5225 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.4303, allocations: 2.678 MB / 0.5252 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.4331, allocations: 0.961 MB / 0.5261 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.4337, allocations: 247.1 kB / 0.5263 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.4362, allocations: 2.544 MB / 0.5288 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.4387, allocations: 2.49 MB / 0.5313 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.4398, allocations: 0.8892 MB / 0.5321 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.4434, allocations: 3.563 MB / 0.5356 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.4438, allocations: 162 kB / 0.5358 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006442/0.4444, allocations: 266 kB / 0.536 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.4461, allocations: 2.979 MB / 0.5389 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.4481, allocations: 3.299 MB / 0.5421 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.4558, allocations: 8.401 MB / 0.5503 GB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4558, allocations: 0 / 0.5503 GB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4558, allocations: 0 / 0.5503 GB, free: 8.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003223/0.4561, allocations: 0 / 0.5503 GB, free: 8.57 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.01307/0.4692, allocations: 8.783 MB / 0.5589 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4693, allocations: 8.031 kB / 0.5589 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008277/0.4701, allocations: 0.6122 MB / 0.5595 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.4713, allocations: 0.9666 MB / 0.5605 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.4761, allocations: 3.728 MB / 0.5641 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/0.4762, allocations: 126.9 kB / 0.5642 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.4764, allocations: 179.3 kB / 0.5644 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007963/0.4844, allocations: 6.601 MB / 0.5709 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.4844, allocations: 11.88 kB / 0.5709 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4846, allocations: 79.7 kB / 0.5709 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001573/0.4862, allocations: 1.558 MB / 0.5725 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006895/0.4931, allocations: 4.129 MB / 0.5765 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.5215, allocations: 20.41 MB / 0.5964 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.5231, allocations: 342.2 kB / 0.5967 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.5232, allocations: 64.77 kB / 0.5968 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005637/0.5289, allocations: 3.26 MB / 0.6 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.5289, allocations: 109.8 kB / 0.6001 GB, free: 5.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 4.489e-06/0.529, allocations: 3.984 kB / 0.6001 GB, free: 5.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001126/0.5301, allocations: 0.8423 MB / 0.6009 GB, free: 4.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.5302, allocations: 130.7 kB / 0.601 GB, free: 4.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01912/0.5493, allocations: 10.55 MB / 0.6113 GB, free: 9.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5494, allocations: 25.7 kB / 0.6114 GB, free: 9.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006613/0.556, allocations: 5.836 MB / 0.6171 GB, free: 3.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.5562, allocations: 91.91 kB / 0.6172 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.5575, allocations: 0.8174 MB / 0.618 GB, free: 2.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5576, allocations: 305.1 kB / 0.6182 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.5588, allocations: 0.7577 MB / 0.619 GB, free: 1.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.5626, allocations: 3.999 MB / 0.6229 GB, free: 12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.5682, allocations: 5.197 MB / 0.628 GB, free: 5.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.5683, allocations: 36 kB / 0.628 GB, free: 5.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009297/0.5776, allocations: 4.92 MB / 0.6328 GB, free: 184 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.5778, allocations: 60.06 kB / 0.6329 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/0.578, allocations: 116 kB / 0.633 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.5782, allocations: 156 kB / 0.6331 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.5807, allocations: 0.9863 MB / 0.6341 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001997/0.5809, allocations: 223.2 kB / 0.6343 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/0.5852, allocations: 0.6031 MB / 0.6349 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/0.5856, allocations: 295.9 kB / 0.6352 GB, free: 13.75 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.005445/0.5911, allocations: 3.397 MB / 0.6385 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/0.5925, allocations: 0.912 MB / 0.6394 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5947, allocations: 1.027 MB / 0.6404 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/0.5947, allocations: 176.3 kB / 0.6406 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/0.5948, allocations: 184.2 kB / 0.6407 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/0.5949, allocations: 180.3 kB / 0.6409 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.6051, allocations: 5.135 MB / 0.6459 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.793e-05/0.6052, allocations: 101 kB / 0.646 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.6052, allocations: 105 kB / 0.6461 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.6053, allocations: 188.2 kB / 0.6463 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.6054, allocations: 180.2 kB / 0.6465 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-05/0.6055, allocations: 184.2 kB / 0.6466 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-05/0.6055, allocations: 180.2 kB / 0.6468 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.6069, allocations: 1.155 MB / 0.6479 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.6082, allocations: 0.9091 MB / 0.6488 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005173/0.6088, allocations: 184.1 kB / 0.649 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.6096, allocations: 101 kB / 0.6491 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6097, allocations: 176.3 kB / 0.6493 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.6098, allocations: 112.9 kB / 0.6494 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01245/0.6222, allocations: 7.146 MB / 0.6564 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6223, allocations: 0 / 0.6564 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005617/0.6279, allocations: 1.128 MB / 0.6575 GB, free: 6.707 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.001956/0.6299, allocations: 1.702 MB / 0.6591 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.6335, allocations: 1.871 MB / 0.6609 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.6336, allocations: 4 kB / 0.6609 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.6336, allocations: 0 / 0.6609 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/0.6487, allocations: 3.245 MB / 0.6641 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5677/1.216, allocations: 96.87 MB / 0.7587 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006074/1.223, allocations: 5.276 MB / 0.7639 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0065/1.229, allocations: 2.102 MB / 0.7659 GB, free: 155.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004432/1.234, allocations: 4.067 MB / 0.7699 GB, free: 151.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.234, allocations: 0 / 0.7699 GB, free: 151.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4155/1.649, allocations: 157.3 MB / 0.9235 GB, free: 178.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.649, allocations: 192.5 kB / 0.9237 GB, free: 177.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/8.262, allocations: 0 / 0.9237 GB, free: 177.8 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches