Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 200.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 226.6 MB / 243.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008346/0.0008347, allocations: 93.8 kB / 295.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3078/0.3078, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.0002961, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3048, allocations: 62.95 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.03338/0.3382, allocations: 50.66 MB / 0.5653 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.3603, allocations: 9.951 MB / 0.575 GB, free: 10.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009615/0.37, allocations: 242.3 kB / 0.5753 GB, free: 10.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008558/0.3786, allocations: 2.538 MB / 0.5778 GB, free: 9.191 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02003/0.3986, allocations: 7.321 MB / 0.5849 GB, free: 2.609 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.4016, allocations: 299.6 kB / 0.5852 GB, free: 2.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.4045, allocations: 2.052 MB / 0.5872 GB, free: 264 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004394/0.4089, allocations: 3.093 MB / 0.5902 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.4102, allocations: 0.7079 MB / 0.5909 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.4138, allocations: 2.731 MB / 0.5936 GB, free: 9.664 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004815/0.4143, allocations: 72 kB / 0.5936 GB, free: 9.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4155, allocations: 351.4 kB / 0.594 GB, free: 9.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.4183, allocations: 3.082 MB / 0.597 GB, free: 6.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.4213, allocations: 2.677 MB / 0.5996 GB, free: 3.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.4271, allocations: 6.142 MB / 0.6056 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4271, allocations: 3.984 kB / 0.6056 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4271, allocations: 0 / 0.6056 GB, free: 13.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000321/0.4275, allocations: 4 kB / 0.6056 GB, free: 13.29 MB / 426.7 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.009874/0.4373, allocations: 6.68 MB / 0.6121 GB, free: 6.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4374, allocations: 19.97 kB / 0.6122 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.4387, allocations: 0.8673 MB / 0.613 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.4432, allocations: 3.382 MB / 0.6163 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.4433, allocations: 127.7 kB / 0.6164 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4435, allocations: 171.9 kB / 0.6166 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008178/0.4517, allocations: 6.593 MB / 0.623 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.4518, allocations: 7.938 kB / 0.623 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.452, allocations: 71.95 kB / 0.6231 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.4535, allocations: 1.561 MB / 0.6246 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007526/0.4611, allocations: 4.105 MB / 0.6286 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/0.4903, allocations: 20.05 MB / 0.6482 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4918, allocations: 348.5 kB / 0.6485 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.492, allocations: 64.81 kB / 0.6486 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004922/0.4969, allocations: 3.26 MB / 0.6518 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.765e-05/0.497, allocations: 105.8 kB / 0.6519 GB, free: 12.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.497, allocations: 3.938 kB / 0.6519 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009882/0.498, allocations: 0.7383 MB / 0.6526 GB, free: 12.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4981, allocations: 126.7 kB / 0.6527 GB, free: 12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01537/0.5135, allocations: 9.399 MB / 0.6619 GB, free: 2.664 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5136, allocations: 29.7 kB / 0.6619 GB, free: 2.629 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005119/0.5187, allocations: 5.312 MB / 0.6671 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.5189, allocations: 99.84 kB / 0.6672 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5191, allocations: 80 kB / 0.6673 GB, free: 13.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.5194, allocations: 487 kB / 0.6678 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.5205, allocations: 0.7459 MB / 0.6685 GB, free: 11.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.5234, allocations: 3.983 MB / 0.6724 GB, free: 6.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2327/0.7561, allocations: 5.174 MB / 0.6774 GB, free: 123.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/0.7562, allocations: 33.81 kB / 0.6775 GB, free: 123.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008837/0.7651, allocations: 4.783 MB / 0.6821 GB, free: 122.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/0.7652, allocations: 57.62 kB / 0.6822 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.7653, allocations: 118.8 kB / 0.6823 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.7655, allocations: 151.1 kB / 0.6825 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.7678, allocations: 0.9861 MB / 0.6834 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001302/0.7679, allocations: 224.8 kB / 0.6836 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.7713, allocations: 0.6038 MB / 0.6842 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.7717, allocations: 292.1 kB / 0.6845 GB, free: 121.8 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004294/0.776, allocations: 3.258 MB / 0.6877 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.7771, allocations: 0.808 MB / 0.6885 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.7785, allocations: 0.8821 MB / 0.6893 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.7785, allocations: 184.3 kB / 0.6895 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.7785, allocations: 179.1 kB / 0.6897 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.7786, allocations: 180.2 kB / 0.6899 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.785, allocations: 4.773 MB / 0.6945 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.7851, allocations: 106.1 kB / 0.6946 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.7851, allocations: 104.9 kB / 0.6947 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-05/0.7852, allocations: 176.8 kB / 0.6949 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.7852, allocations: 187 kB / 0.6951 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-05/0.7852, allocations: 179.7 kB / 0.6952 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/0.7853, allocations: 182.7 kB / 0.6954 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.7862, allocations: 1.044 MB / 0.6964 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.7872, allocations: 0.8227 MB / 0.6972 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/0.7877, allocations: 181.4 kB / 0.6974 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.7885, allocations: 104.9 kB / 0.6975 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.7885, allocations: 183.4 kB / 0.6977 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.7886, allocations: 110 kB / 0.6978 GB, free: 114.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01136/0.7999, allocations: 6.393 MB / 0.704 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8, allocations: 0 / 0.704 GB, free: 112.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00482/0.8048, allocations: 1.119 MB / 0.7051 GB, free: 112.4 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002812/0.8051, allocations: 201.7 kB / 0.7053 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.8084, allocations: 1.852 MB / 0.7071 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8084, allocations: 0 / 0.7071 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.8084, allocations: 1.219 kB / 0.7071 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/0.8208, allocations: 3.165 MB / 0.7102 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/0.8462, allocations: 18.19 MB / 0.728 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006195/0.8524, allocations: 4.81 MB / 0.7327 GB, free: 97.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.8533, allocations: 388.9 kB / 0.733 GB, free: 96.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8533, allocations: 0 / 0.733 GB, free: 96.65 MB / 490.7 MB Notification: Performance of Templates: time 0.5422/1.395, allocations: 285.7 MB / 1.012 GB, free: 39.66 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches