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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009679/0.000968, allocations: 175.3 kB / 8.516 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 88.67 kB / 281.2 MB, free: 5.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1856/0.1856, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.74e-06, allocations: 0 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.4128, allocations: 99.38 MB / 0.5911 GB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4131, allocations: 76.61 kB / 0.5912 GB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1652/0.5783, allocations: 77.41 MB / 0.6668 GB, free: 15.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005294/0.5789, allocations: 140 kB / 0.6669 GB, free: 15.33 MB / 490.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.01067/0.5895, allocations: 6.55 MB / 0.6733 GB, free: 8.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5896, allocations: 11.97 kB / 0.6734 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.5929, allocations: 1.126 MB / 0.6745 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007746/0.6007, allocations: 3.953 MB / 0.6783 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.6008, allocations: 84 kB / 0.6784 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007387/0.6016, allocations: 140 kB / 0.6785 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006171/0.6077, allocations: 4.573 MB / 0.683 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008154/0.6159, allocations: 6.057 MB / 0.6889 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.616, allocations: 7.938 kB / 0.6889 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.6162, allocations: 4 kB / 0.6889 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009374/0.6172, allocations: 1.092 MB / 0.69 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02493/0.6421, allocations: 20.38 MB / 0.7099 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.6422, allocations: 165.1 kB / 0.71 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.6422, allocations: 84.17 kB / 0.7101 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.6423, allocations: 75.28 kB / 0.7102 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6423, allocations: 117.8 kB / 0.7103 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.786e-06/0.6423, allocations: 0 / 0.7103 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0009287/0.6433, allocations: 0.825 MB / 0.7111 GB, free: 1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.6433, allocations: 51.41 kB / 0.7112 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1524/0.7957, allocations: 8.748 MB / 0.7197 GB, free: 191.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-06/0.7958, allocations: 25.7 kB / 0.7197 GB, free: 191.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.7976, allocations: 3.649 MB / 0.7233 GB, free: 190.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.7976, allocations: 95.27 kB / 0.7234 GB, free: 190.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.7977, allocations: 0 / 0.7234 GB, free: 190.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7979, allocations: 486.3 kB / 0.7239 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.7986, allocations: 0.6651 MB / 0.7245 GB, free: 190.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.8002, allocations: 3.874 MB / 0.7283 GB, free: 186 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.8018, allocations: 1.577 MB / 0.7298 GB, free: 186 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.705e-05/0.8019, allocations: 33.62 kB / 0.7299 GB, free: 186 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005438/0.8073, allocations: 4.158 MB / 0.7339 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8074, allocations: 6.656 kB / 0.7339 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-05/0.8075, allocations: 120 kB / 0.734 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.8076, allocations: 176.5 kB / 0.7342 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.8096, allocations: 0.986 MB / 0.7352 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.8098, allocations: 226.4 kB / 0.7354 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.8131, allocations: 0.5154 MB / 0.7359 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.8134, allocations: 283.2 kB / 0.7362 GB, free: 184.9 MB / 0.5105 GB 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 () * 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.0003574/0.8138, allocations: 456.2 kB / 0.7366 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007973/0.8146, allocations: 0.9073 MB / 0.7375 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.8164, allocations: 1.022 MB / 0.7385 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.8165, allocations: 176.3 kB / 0.7386 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.8165, allocations: 179.3 kB / 0.7388 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.8165, allocations: 182.4 kB / 0.739 GB, free: 183.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.8215, allocations: 3.933 MB / 0.7428 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.8216, allocations: 101 kB / 0.7429 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.8216, allocations: 108.5 kB / 0.743 GB, free: 182.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.8216, allocations: 180 kB / 0.7432 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.8216, allocations: 180 kB / 0.7434 GB, free: 182.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.005e-05/0.8217, allocations: 183.8 kB / 0.7436 GB, free: 182 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/0.8217, allocations: 176.3 kB / 0.7437 GB, free: 181.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007081/0.8225, allocations: 1.154 MB / 0.7448 GB, free: 181 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8236, allocations: 0.8992 MB / 0.7457 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/0.8242, allocations: 179.5 kB / 0.7459 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.825, allocations: 108.1 kB / 0.746 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.825, allocations: 180.1 kB / 0.7462 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.8251, allocations: 101 kB / 0.7463 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.01002/0.8351, allocations: 6.592 MB / 0.7527 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006041/0.8412, allocations: 1.055 MB / 0.7537 GB, free: 179.2 MB / 0.5105 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 () * 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.0002067/0.8414, allocations: 171.7 kB / 0.7539 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.8446, allocations: 1.667 MB / 0.7555 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8446, allocations: 0 / 0.7555 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.8446, allocations: 0 / 0.7555 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/0.856, allocations: 3.093 MB / 0.7585 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/0.8811, allocations: 12.74 MB / 0.771 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007768/0.8889, allocations: 5.878 MB / 0.7767 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.8889, allocations: 0 / 0.7767 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1255/1.014, allocations: 70.02 MB / 0.8451 GB, free: 112 MB / 0.5105 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches