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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.001301, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 77.12 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1169, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2803/0.3972, allocations: 55.47 MB / 0.5229 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02759/0.4248, allocations: 10.26 MB / 0.5329 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01124/0.4361, allocations: 240.1 kB / 0.5331 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.441, allocations: 2.689 MB / 0.5357 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.4439, allocations: 0.9647 MB / 0.5367 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.4445, allocations: 240.9 kB / 0.5369 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.4472, allocations: 2.535 MB / 0.5394 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.4497, allocations: 2.489 MB / 0.5418 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.4509, allocations: 0.888 MB / 0.5427 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.4548, allocations: 3.549 MB / 0.5461 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.4553, allocations: 165.3 kB / 0.5463 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.456, allocations: 261.7 kB / 0.5466 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.4579, allocations: 2.987 MB / 0.5495 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.4611, allocations: 3.293 MB / 0.5527 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005774/0.4669, allocations: 6.759 MB / 0.5593 GB, free: 5.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4669, allocations: 0 / 0.5593 GB, free: 5.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4669, allocations: 0 / 0.5593 GB, free: 5.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.4672, allocations: 0 / 0.5593 GB, free: 5.633 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.01216/0.4793, allocations: 8.771 MB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4794, allocations: 12.88 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4805, allocations: 0.9704 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.4852, allocations: 3.725 MB / 0.5725 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.4854, allocations: 128.9 kB / 0.5726 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.4856, allocations: 164.2 kB / 0.5727 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.4935, allocations: 6.605 MB / 0.5792 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4936, allocations: 7.938 kB / 0.5792 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.4937, allocations: 78.84 kB / 0.5793 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001556/0.4953, allocations: 1.564 MB / 0.5808 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.5019, allocations: 4.129 MB / 0.5848 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.5278, allocations: 20.41 MB / 0.6048 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5294, allocations: 346.1 kB / 0.6051 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.5296, allocations: 60.81 kB / 0.6051 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004146/0.5337, allocations: 3.249 MB / 0.6083 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.5338, allocations: 109.8 kB / 0.6084 GB, free: 2.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.5338, allocations: 0 / 0.6084 GB, free: 2.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0007674/0.5346, allocations: 0.8346 MB / 0.6092 GB, free: 1.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.5346, allocations: 130.6 kB / 0.6094 GB, free: 1.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/0.5491, allocations: 10.55 MB / 0.6197 GB, free: 7.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.5491, allocations: 29.7 kB / 0.6197 GB, free: 7.117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004601/0.5537, allocations: 5.823 MB / 0.6254 GB, free: 1.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.5539, allocations: 99.89 kB / 0.6255 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008216/0.5547, allocations: 0.8135 MB / 0.6263 GB, free: 332 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.5548, allocations: 305.1 kB / 0.6266 GB, free: 24 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.5559, allocations: 0.7577 MB / 0.6273 GB, free: 15.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.5591, allocations: 4.003 MB / 0.6312 GB, free: 9.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/0.564, allocations: 5.201 MB / 0.6363 GB, free: 2.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.698e-05/0.5641, allocations: 36 kB / 0.6363 GB, free: 2.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008633/0.5727, allocations: 4.92 MB / 0.6411 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/0.5729, allocations: 56 kB / 0.6412 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.573, allocations: 116 kB / 0.6413 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.5732, allocations: 163.9 kB / 0.6414 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.5755, allocations: 0.9825 MB / 0.6424 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001637/0.5757, allocations: 227.1 kB / 0.6426 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/0.5794, allocations: 0.5993 MB / 0.6432 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/0.5798, allocations: 291.9 kB / 0.6435 GB, free: 11.32 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.005437/0.5852, allocations: 3.401 MB / 0.6468 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.5866, allocations: 0.9082 MB / 0.6477 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.5885, allocations: 1.023 MB / 0.6487 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.06e-05/0.5886, allocations: 180.3 kB / 0.6489 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-05/0.5887, allocations: 184.3 kB / 0.649 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-05/0.5888, allocations: 184.2 kB / 0.6492 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008713/0.5975, allocations: 5.131 MB / 0.6542 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.5976, allocations: 108.9 kB / 0.6543 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.5977, allocations: 105 kB / 0.6544 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.5977, allocations: 176.3 kB / 0.6546 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.5978, allocations: 184.1 kB / 0.6548 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.053e-05/0.5979, allocations: 190.2 kB / 0.6549 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.895e-05/0.598, allocations: 184.2 kB / 0.6551 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.5994, allocations: 1.151 MB / 0.6562 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.6008, allocations: 0.9053 MB / 0.6571 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.6013, allocations: 176.3 kB / 0.6573 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.6021, allocations: 108.9 kB / 0.6574 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.6022, allocations: 184.3 kB / 0.6576 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6022, allocations: 108.9 kB / 0.6577 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01179/0.614, allocations: 7.142 MB / 0.6647 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6141, allocations: 0 / 0.6647 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004859/0.6189, allocations: 1.128 MB / 0.6658 GB, free: 4.277 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.0002306/0.6192, allocations: 174.5 kB / 0.6659 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003184/0.6224, allocations: 1.867 MB / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6224, allocations: 0 / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.002e-06/0.6224, allocations: 4 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01395/0.6364, allocations: 3.236 MB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.668, allocations: 19.57 MB / 0.69 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007571/0.6756, allocations: 5.274 MB / 0.6952 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/0.6765, allocations: 435.4 kB / 0.6956 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.6766, allocations: 0 / 0.6956 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.5975/1.274, allocations: 126.6 MB / 0.8193 GB, free: 103 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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) 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