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.001166/0.001166, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1818/0.1818, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 73.64 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09975, allocations: 62.44 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01001/0.1098, allocations: 10.37 MB / 490.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.1149, allocations: 3.079 MB / 493.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.116, allocations: 67.81 kB / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.1202, allocations: 2.679 MB / 496.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.1221, allocations: 1.023 MB / 497.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1226, allocations: 271.5 kB / 497.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.1239, allocations: 1.506 MB / 499.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.1261, allocations: 2.445 MB / 0.4898 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.127, allocations: 0.9342 MB / 0.4907 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.1304, allocations: 3.332 MB / 0.494 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.1308, allocations: 184 kB / 0.4941 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.1313, allocations: 259.8 kB / 0.4944 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.1333, allocations: 2.923 MB / 0.4972 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.1357, allocations: 3.333 MB / 0.5005 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1781/0.3138, allocations: 9.21 MB / 0.5095 GB, free: 21.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3139, allocations: 0 / 0.5095 GB, free: 21.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3139, allocations: 0 / 0.5095 GB, free: 21.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002292/0.3141, allocations: 1.062 kB / 0.5095 GB, free: 21.25 MB / 382.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.01093/0.325, allocations: 8.774 MB / 0.5181 GB, free: 16.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3251, allocations: 9.125 kB / 0.5181 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007139/0.3258, allocations: 0.6159 MB / 0.5187 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.3268, allocations: 0.9678 MB / 0.5196 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.3311, allocations: 3.722 MB / 0.5233 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.3312, allocations: 133.1 kB / 0.5234 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.3315, allocations: 165.2 kB / 0.5235 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006955/0.3384, allocations: 6.602 MB / 0.53 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.3385, allocations: 9.312 kB / 0.53 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.3386, allocations: 79.42 kB / 0.5301 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001294/0.3399, allocations: 1.563 MB / 0.5316 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/0.3455, allocations: 4.126 MB / 0.5356 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.3684, allocations: 20.4 MB / 0.5555 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3698, allocations: 337.3 kB / 0.5559 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.3699, allocations: 71.27 kB / 0.5559 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/0.3738, allocations: 3.262 MB / 0.5591 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3738, allocations: 107 kB / 0.5592 GB, free: 3.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.3739, allocations: 0 / 0.5592 GB, free: 3.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0007971/0.3747, allocations: 0.835 MB / 0.56 GB, free: 2.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3747, allocations: 126.7 kB / 0.5602 GB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/0.3877, allocations: 10.54 MB / 0.5705 GB, free: 8.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3878, allocations: 25.7 kB / 0.5705 GB, free: 8.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004322/0.3921, allocations: 5.837 MB / 0.5762 GB, free: 2.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.3922, allocations: 91.91 kB / 0.5763 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/0.393, allocations: 0.8135 MB / 0.5771 GB, free: 1.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.3931, allocations: 309.1 kB / 0.5774 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.394, allocations: 0.7577 MB / 0.5781 GB, free: 220 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.3969, allocations: 4.003 MB / 0.582 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.4013, allocations: 5.202 MB / 0.5871 GB, free: 4.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/0.4013, allocations: 36 kB / 0.5871 GB, free: 4.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006893/0.4082, allocations: 4.921 MB / 0.5919 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.4083, allocations: 56 kB / 0.592 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.87e-05/0.4084, allocations: 116.9 kB / 0.5921 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.4085, allocations: 152 kB / 0.5922 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.4106, allocations: 0.987 MB / 0.5932 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001484/0.4107, allocations: 227.1 kB / 0.5934 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.4143, allocations: 0.598 MB / 0.594 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.4146, allocations: 284 kB / 0.5943 GB, free: 13.28 MB / 446.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.005308/0.4199, allocations: 3.413 MB / 0.5976 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/0.4215, allocations: 0.9159 MB / 0.5985 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.4235, allocations: 1.019 MB / 0.5995 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.4235, allocations: 181 kB / 0.5997 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.309e-05/0.4236, allocations: 176.3 kB / 0.5998 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.4237, allocations: 180.3 kB / 0.6 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/0.4305, allocations: 5.134 MB / 0.605 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.4305, allocations: 109 kB / 0.6051 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.4306, allocations: 105.7 kB / 0.6052 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.067e-05/0.4306, allocations: 181.2 kB / 0.6054 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.4307, allocations: 180.3 kB / 0.6056 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/0.4308, allocations: 188.2 kB / 0.6058 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/0.4308, allocations: 176.3 kB / 0.6059 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4319, allocations: 1.159 MB / 0.6071 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4331, allocations: 0.9013 MB / 0.6079 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/0.4336, allocations: 184.2 kB / 0.6081 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.4343, allocations: 101 kB / 0.6082 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.4344, allocations: 188.2 kB / 0.6084 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.4344, allocations: 101.5 kB / 0.6085 GB, free: 14.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.009649/0.4441, allocations: 7.138 MB / 0.6155 GB, free: 7.375 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4441, allocations: 0 / 0.6155 GB, free: 7.375 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004054/0.4481, allocations: 1.129 MB / 0.6166 GB, free: 6.242 MB / 462.1 MB 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.001194/0.4493, allocations: 1.704 MB / 0.6182 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.4519, allocations: 1.874 MB / 0.62 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4519, allocations: 0 / 0.62 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.4519, allocations: 0 / 0.62 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/0.4632, allocations: 3.448 MB / 0.6234 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2704/0.7336, allocations: 94.4 MB / 0.7156 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005398/0.739, allocations: 5.277 MB / 0.7208 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005444/0.7445, allocations: 2.095 MB / 0.7228 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/0.7476, allocations: 4.058 MB / 0.7268 GB, free: 186 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.7476, allocations: 3.938 kB / 0.7268 GB, free: 186 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/1.32, allocations: 161.1 MB / 0.8841 GB, free: 34.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.96, allocations: 1.438 kB / 0.8841 GB, free: 34.39 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