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/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_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") [: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 trunk/package.mo): time 0.001532/0.001532, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008969, allocations: 87.69 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 45.14 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.54e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09288, allocations: 63.25 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.3899, allocations: 100.4 MB / 0.6019 GB, free: 2.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3901, allocations: 73.47 kB / 0.6019 GB, free: 2.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1754/0.5655, allocations: 77.47 MB / 0.6776 GB, free: 13.72 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001222/0.5668, allocations: 139.9 kB / 0.6777 GB, free: 13.59 MB / 474.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.01568/0.5825, allocations: 6.557 MB / 0.6841 GB, free: 6.938 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.5826, allocations: 8.031 kB / 0.6841 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.587, allocations: 1.123 MB / 0.6852 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.5973, allocations: 3.95 MB / 0.6891 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.5975, allocations: 80 kB / 0.6892 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.5986, allocations: 144 kB / 0.6893 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008037/0.6066, allocations: 4.573 MB / 0.6938 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.6191, allocations: 6.054 MB / 0.6997 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/0.6192, allocations: 3.938 kB / 0.6997 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006116/0.6198, allocations: 8 kB / 0.6997 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009661/0.6208, allocations: 1.1 MB / 0.7008 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02904/0.6499, allocations: 20.39 MB / 0.7207 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.65, allocations: 165.1 kB / 0.7208 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.65, allocations: 84.17 kB / 0.7209 GB, free: 292 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.6501, allocations: 83.19 kB / 0.721 GB, free: 208 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.6501, allocations: 109.8 kB / 0.7211 GB, free: 88 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/0.6501, allocations: 4 kB / 0.7211 GB, free: 84 kB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.001497/0.6516, allocations: 0.8289 MB / 0.7219 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6517, allocations: 51.41 kB / 0.722 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02215/0.6738, allocations: 8.744 MB / 0.7305 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.6739, allocations: 25.7 kB / 0.7305 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004409/0.6783, allocations: 3.654 MB / 0.7341 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.6786, allocations: 87.91 kB / 0.7342 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.6789, allocations: 7.938 kB / 0.7342 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003857/0.6793, allocations: 479 kB / 0.7346 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.6805, allocations: 0.672 MB / 0.7353 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.6838, allocations: 3.862 MB / 0.7391 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.6862, allocations: 1.579 MB / 0.7406 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/0.6862, allocations: 39.94 kB / 0.7406 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007337/0.6936, allocations: 4.161 MB / 0.7447 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6936, allocations: 8 kB / 0.7447 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/0.6938, allocations: 116 kB / 0.7448 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.694, allocations: 172.1 kB / 0.745 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.6966, allocations: 0.9825 MB / 0.746 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/0.6967, allocations: 231.1 kB / 0.7462 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/0.7006, allocations: 0.5055 MB / 0.7467 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/0.7011, allocations: 288 kB / 0.7469 GB, free: 3.887 MB / 0.5261 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.0004998/0.7016, allocations: 456 kB / 0.7474 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.7028, allocations: 0.9005 MB / 0.7483 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.7053, allocations: 1.018 MB / 0.7492 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.7054, allocations: 188 kB / 0.7494 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/0.7054, allocations: 184.3 kB / 0.7496 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-05/0.7055, allocations: 176.3 kB / 0.7498 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2095/0.915, allocations: 3.933 MB / 0.7536 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.9151, allocations: 101 kB / 0.7537 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.9151, allocations: 108.5 kB / 0.7538 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-05/0.9151, allocations: 183.3 kB / 0.754 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.9152, allocations: 176.3 kB / 0.7542 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.9152, allocations: 181.3 kB / 0.7543 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.543e-05/0.9153, allocations: 177.9 kB / 0.7545 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009565/0.9162, allocations: 1.159 MB / 0.7556 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.9173, allocations: 0.8991 MB / 0.7565 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/0.9179, allocations: 176.3 kB / 0.7567 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.9187, allocations: 104.5 kB / 0.7568 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.9188, allocations: 180 kB / 0.7569 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.9188, allocations: 104.6 kB / 0.757 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.008983/0.9278, allocations: 6.591 MB / 0.7635 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003563/0.9314, allocations: 1.052 MB / 0.7645 GB, free: 111.1 MB / 0.5261 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.0001262/0.9315, allocations: 168.7 kB / 0.7647 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.9335, allocations: 1.664 MB / 0.7663 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9335, allocations: 0 / 0.7663 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.9335, allocations: 0 / 0.7663 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/0.9441, allocations: 3.094 MB / 0.7693 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/0.9689, allocations: 12.75 MB / 0.7818 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01117/0.9801, allocations: 5.878 MB / 0.7875 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.883e-06/0.9802, allocations: 1.594 kB / 0.7875 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1357/1.116, allocations: 70 MB / 0.8559 GB, free: 73.13 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches