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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 107 kB / 17.2 MB, free: 6.27 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.001646/0.001646, allocations: 194 kB / 18.12 MB, free: 5.363 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.384/1.384, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2016/0.2016, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.67 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1183, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3035/0.4218, allocations: 55.85 MB / 0.5121 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02707/0.4489, allocations: 10.37 MB / 0.5222 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01472/0.4637, allocations: 240.1 kB / 0.5224 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005233/0.469, allocations: 2.681 MB / 0.525 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.472, allocations: 0.9679 MB / 0.526 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.4728, allocations: 245.3 kB / 0.5262 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4757, allocations: 2.544 MB / 0.5287 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.4784, allocations: 2.482 MB / 0.5311 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.4797, allocations: 0.8927 MB / 0.532 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.4844, allocations: 3.555 MB / 0.5355 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005953/0.485, allocations: 164.8 kB / 0.5356 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009235/0.4859, allocations: 263.6 kB / 0.5359 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.488, allocations: 2.989 MB / 0.5388 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.491, allocations: 3.303 MB / 0.542 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.4993, allocations: 8.4 MB / 0.5502 GB, free: 8.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4994, allocations: 0 / 0.5502 GB, free: 8.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4994, allocations: 0 / 0.5502 GB, free: 8.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004354/0.4998, allocations: 0 / 0.5502 GB, free: 8.543 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.01489/0.5147, allocations: 8.774 MB / 0.5588 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5148, allocations: 12.03 kB / 0.5588 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.5161, allocations: 0.9743 MB / 0.5598 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/0.5217, allocations: 3.724 MB / 0.5634 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.5218, allocations: 134.8 kB / 0.5635 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.522, allocations: 168 kB / 0.5637 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008873/0.5309, allocations: 6.605 MB / 0.5701 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.531, allocations: 11.88 kB / 0.5702 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.5311, allocations: 79.55 kB / 0.5702 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001522/0.5327, allocations: 1.554 MB / 0.5717 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006681/0.5393, allocations: 4.133 MB / 0.5758 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.5678, allocations: 20.39 MB / 0.5957 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5693, allocations: 342.2 kB / 0.596 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.5695, allocations: 61.14 kB / 0.5961 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005086/0.5746, allocations: 3.267 MB / 0.5993 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.5746, allocations: 109.8 kB / 0.5994 GB, free: 5.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 4.438e-06/0.5746, allocations: 3.984 kB / 0.5994 GB, free: 5.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001171/0.5758, allocations: 0.8385 MB / 0.6002 GB, free: 4.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.5759, allocations: 138.7 kB / 0.6003 GB, free: 4.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01864/0.5945, allocations: 10.55 MB / 0.6106 GB, free: 10.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.5946, allocations: 25.7 kB / 0.6107 GB, free: 10.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005395/0.6, allocations: 5.828 MB / 0.6164 GB, free: 4.266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6001, allocations: 95.89 kB / 0.6164 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/0.601, allocations: 0.8135 MB / 0.6172 GB, free: 3.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.6011, allocations: 301.1 kB / 0.6175 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.6022, allocations: 0.7585 MB / 0.6183 GB, free: 2.281 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6052, allocations: 4.007 MB / 0.6222 GB, free: 12.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.6101, allocations: 5.197 MB / 0.6273 GB, free: 5.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/0.6102, allocations: 32 kB / 0.6273 GB, free: 5.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007499/0.6177, allocations: 4.919 MB / 0.6321 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.6178, allocations: 56 kB / 0.6321 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.6179, allocations: 116.8 kB / 0.6323 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.6181, allocations: 159.9 kB / 0.6324 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/0.6203, allocations: 0.9897 MB / 0.6334 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.6205, allocations: 227.2 kB / 0.6336 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.6239, allocations: 0.5991 MB / 0.6342 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.6242, allocations: 288 kB / 0.6344 GB, free: 14.35 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.00482/0.629, allocations: 3.405 MB / 0.6378 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/0.6303, allocations: 0.9043 MB / 0.6387 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6322, allocations: 1.023 MB / 0.6397 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.675e-05/0.6323, allocations: 180.2 kB / 0.6398 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-05/0.6324, allocations: 196.2 kB / 0.64 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.744e-05/0.6324, allocations: 176.3 kB / 0.6402 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6431, allocations: 5.135 MB / 0.6452 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.6432, allocations: 104.9 kB / 0.6453 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.6432, allocations: 105 kB / 0.6454 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.6433, allocations: 184.2 kB / 0.6456 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.6434, allocations: 180.3 kB / 0.6457 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.994e-05/0.6435, allocations: 192.1 kB / 0.6459 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.6436, allocations: 184.2 kB / 0.6461 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.6453, allocations: 1.147 MB / 0.6472 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/0.6472, allocations: 0.9091 MB / 0.6481 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/0.6485, allocations: 180.2 kB / 0.6483 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6499, allocations: 104.9 kB / 0.6484 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.65, allocations: 180.2 kB / 0.6486 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.65, allocations: 108.9 kB / 0.6487 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01303/0.663, allocations: 7.142 MB / 0.6556 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.72e-07/0.6631, allocations: 0 / 0.6556 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005231/0.6683, allocations: 1.132 MB / 0.6567 GB, free: 7.297 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.0001919/0.6685, allocations: 171.1 kB / 0.6569 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.6718, allocations: 1.871 MB / 0.6587 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6718, allocations: 0 / 0.6587 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/0.6719, allocations: 0 / 0.6587 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/0.6843, allocations: 3.232 MB / 0.6619 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/0.7166, allocations: 18.85 MB / 0.6803 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009392/0.7261, allocations: 5.274 MB / 0.6854 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008156/0.7343, allocations: 2.098 MB / 0.6875 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.7354, allocations: 407.4 kB / 0.6879 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/0.7354, allocations: 0 / 0.6879 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of Templates: time 0.6179/1.353, allocations: 86.84 MB / 0.7727 GB, free: 152.8 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/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