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.0009483/0.0009482, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007748/0.0007747, allocations: 97.88 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 44.84 MB / 392 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 12 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08554, allocations: 62.95 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2145/0.3001, allocations: 50.63 MB / 0.5648 GB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.3217, allocations: 9.971 MB / 0.5745 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008761/0.3305, allocations: 239.4 kB / 0.5747 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006684/0.3372, allocations: 2.531 MB / 0.5772 GB, free: 14.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.355, allocations: 7.318 MB / 0.5843 GB, free: 6.848 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.3573, allocations: 279.6 kB / 0.5846 GB, free: 6.574 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.3599, allocations: 2.013 MB / 0.5866 GB, free: 4.555 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/0.3638, allocations: 2.878 MB / 0.5894 GB, free: 1.641 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.365, allocations: 0.704 MB / 0.5901 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.3682, allocations: 2.731 MB / 0.5927 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.3687, allocations: 68 kB / 0.5928 GB, free: 14.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.3696, allocations: 319.5 kB / 0.5931 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.3722, allocations: 3.082 MB / 0.5961 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.3734, allocations: 1.266 MB / 0.5974 GB, free: 9.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.3786, allocations: 6.138 MB / 0.6033 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3786, allocations: 0 / 0.6033 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3786, allocations: 0 / 0.6033 GB, free: 3.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002393/0.3789, allocations: 0 / 0.6033 GB, free: 3.297 MB / 410.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.008862/0.3878, allocations: 6.74 MB / 0.6099 GB, free: 12.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3878, allocations: 8.031 kB / 0.6099 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.389, allocations: 0.8625 MB / 0.6108 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.3935, allocations: 3.048 MB / 0.6138 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3937, allocations: 131.3 kB / 0.6139 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.394, allocations: 167.9 kB / 0.614 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008724/0.4028, allocations: 6.593 MB / 0.6205 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.4029, allocations: 7.938 kB / 0.6205 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.4031, allocations: 75.94 kB / 0.6206 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.4047, allocations: 1.561 MB / 0.6221 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006579/0.4113, allocations: 4.101 MB / 0.6261 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.4401, allocations: 20.04 MB / 0.6457 GB, free: 7.355 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.4416, allocations: 334.2 kB / 0.646 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.4417, allocations: 60.92 kB / 0.646 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00473/0.4465, allocations: 3.264 MB / 0.6492 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.4466, allocations: 110.7 kB / 0.6493 GB, free: 3.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.4466, allocations: 3.938 kB / 0.6493 GB, free: 3.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.001069/0.4477, allocations: 0.7306 MB / 0.65 GB, free: 2.461 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.4477, allocations: 130.7 kB / 0.6502 GB, free: 2.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01499/0.4627, allocations: 9.403 MB / 0.6594 GB, free: 8.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4628, allocations: 25.7 kB / 0.6594 GB, free: 8.949 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005101/0.4679, allocations: 5.312 MB / 0.6646 GB, free: 3.598 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4681, allocations: 107.8 kB / 0.6647 GB, free: 3.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.4683, allocations: 80 kB / 0.6647 GB, free: 3.414 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.4686, allocations: 487 kB / 0.6652 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4697, allocations: 0.7459 MB / 0.6659 GB, free: 2.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.4729, allocations: 3.983 MB / 0.6698 GB, free: 12.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.4752, allocations: 1.611 MB / 0.6714 GB, free: 10.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.776e-05/0.4752, allocations: 32 kB / 0.6714 GB, free: 10.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007595/0.4828, allocations: 4.784 MB / 0.6761 GB, free: 6.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.483, allocations: 57.88 kB / 0.6762 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.4831, allocations: 120 kB / 0.6763 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.4833, allocations: 168 kB / 0.6764 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.4857, allocations: 0.9863 MB / 0.6774 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001915/0.4859, allocations: 227.6 kB / 0.6776 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.4893, allocations: 0.6069 MB / 0.6782 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.4896, allocations: 285.3 kB / 0.6785 GB, free: 3.629 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.004246/0.4939, allocations: 3.257 MB / 0.6817 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.4951, allocations: 0.8119 MB / 0.6825 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.4966, allocations: 0.883 MB / 0.6833 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-05/0.4967, allocations: 180.3 kB / 0.6835 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.4967, allocations: 180.2 kB / 0.6837 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/0.4968, allocations: 180.3 kB / 0.6838 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/0.505, allocations: 4.77 MB / 0.6885 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.5051, allocations: 105 kB / 0.6886 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.5052, allocations: 105 kB / 0.6887 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-05/0.5053, allocations: 184.2 kB / 0.6889 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.5053, allocations: 176.3 kB / 0.689 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-05/0.5054, allocations: 185.1 kB / 0.6892 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-05/0.5055, allocations: 176.3 kB / 0.6894 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5066, allocations: 1.048 MB / 0.6904 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.508, allocations: 0.8246 MB / 0.6912 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008241/0.5088, allocations: 184.2 kB / 0.6914 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5099, allocations: 105 kB / 0.6915 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.51, allocations: 184.2 kB / 0.6917 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.51, allocations: 105 kB / 0.6918 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009666/0.5197, allocations: 6.397 MB / 0.698 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5197, allocations: 0 / 0.698 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00431/0.524, allocations: 1.124 MB / 0.6991 GB, free: 14.3 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 () * 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.0003109/0.5244, allocations: 190.5 kB / 0.6993 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.5275, allocations: 1.852 MB / 0.7011 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5275, allocations: 0 / 0.7011 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.5275, allocations: 12.19 kB / 0.7011 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01255/0.5401, allocations: 3.218 MB / 0.7042 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2146/0.7548, allocations: 18.18 MB / 0.722 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006664/0.7615, allocations: 4.815 MB / 0.7267 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/0.7623, allocations: 390.1 kB / 0.7271 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.7623, allocations: 0 / 0.7271 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.4918/1.254, allocations: 285.6 MB / 1.006 GB, free: 111.8 MB / 0.5417 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