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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 210.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.94 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 79.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3069, allocations: 66.09 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01169/0.3186, allocations: 9.005 MB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.3257, allocations: 2.937 MB / 0.5731 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.3273, allocations: 75.62 kB / 0.5732 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.3327, allocations: 2.605 MB / 0.5757 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.336, allocations: 1.136 MB / 0.5768 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.3367, allocations: 259.6 kB / 0.5771 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3388, allocations: 1.509 MB / 0.5785 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.3412, allocations: 1.917 MB / 0.5804 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.3425, allocations: 0.9304 MB / 0.5813 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.3474, allocations: 3.435 MB / 0.5847 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005722/0.3479, allocations: 188 kB / 0.5849 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008172/0.3488, allocations: 271.8 kB / 0.5851 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.3516, allocations: 3.005 MB / 0.588 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003025/0.3546, allocations: 2.261 MB / 0.5903 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.3656, allocations: 9.948 MB / 0.6 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3656, allocations: 0 / 0.6 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3656, allocations: 4 kB / 0.6 GB, free: 12.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002577/0.3659, allocations: 0 / 0.6 GB, free: 12.38 MB / 446.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.01448/0.3804, allocations: 9.039 MB / 0.6088 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3804, allocations: 8.031 kB / 0.6088 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000108/0.3805, allocations: 75.41 kB / 0.6089 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.3815, allocations: 0.6196 MB / 0.6095 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.3829, allocations: 1.028 MB / 0.6105 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.39, allocations: 3.743 MB / 0.6141 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3901, allocations: 131.3 kB / 0.6143 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.3904, allocations: 163.9 kB / 0.6144 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.4005, allocations: 6.612 MB / 0.6209 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.4005, allocations: 11.88 kB / 0.6209 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.4007, allocations: 75.94 kB / 0.621 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001998/0.4027, allocations: 1.557 MB / 0.6225 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008152/0.4109, allocations: 4.14 MB / 0.6265 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03608/0.447, allocations: 19.22 MB / 0.6453 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4486, allocations: 338.2 kB / 0.6456 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4488, allocations: 64.81 kB / 0.6457 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/0.4537, allocations: 1.796 MB / 0.6474 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.81e-05/0.4537, allocations: 105.8 kB / 0.6475 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.4537, allocations: 7.938 kB / 0.6475 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001692/0.4554, allocations: 0.8864 MB / 0.6484 GB, free: 10.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.4555, allocations: 130.7 kB / 0.6485 GB, free: 9.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02062/0.4761, allocations: 10.55 MB / 0.6588 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4762, allocations: 25.7 kB / 0.6589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.008106/0.4843, allocations: 5.958 MB / 0.6647 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.4845, allocations: 91.91 kB / 0.6648 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.486, allocations: 0.8261 MB / 0.6656 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4862, allocations: 305.1 kB / 0.6659 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4876, allocations: 0.7616 MB / 0.6666 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/0.4929, allocations: 3.999 MB / 0.6705 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00801/0.5009, allocations: 5.201 MB / 0.6756 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/0.501, allocations: 32 kB / 0.6756 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01164/0.5127, allocations: 4.968 MB / 0.6805 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/0.5128, allocations: 58.19 kB / 0.6805 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/0.513, allocations: 116 kB / 0.6806 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.5131, allocations: 152 kB / 0.6808 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.5161, allocations: 0.9824 MB / 0.6817 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001978/0.5162, allocations: 227.1 kB / 0.682 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/0.5206, allocations: 0.6205 MB / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/0.521, allocations: 287.9 kB / 0.6828 GB, free: 3.453 MB / 0.5137 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 () * 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.006028/0.527, allocations: 3.405 MB / 0.6862 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/0.529, allocations: 0.9563 MB / 0.6871 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.5313, allocations: 1.026 MB / 0.6881 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.5314, allocations: 176.3 kB / 0.6883 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002837/0.5317, allocations: 188.2 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/0.5318, allocations: 180.3 kB / 0.6886 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009815/0.5416, allocations: 4.978 MB / 0.6935 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.5417, allocations: 108.9 kB / 0.6936 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.5417, allocations: 105 kB / 0.6937 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.171e-05/0.5418, allocations: 184.2 kB / 0.6939 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.542, allocations: 180.3 kB / 0.694 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.93e-05/0.5421, allocations: 180.2 kB / 0.6942 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000122/0.5422, allocations: 176.3 kB / 0.6944 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.544, allocations: 1.207 MB / 0.6956 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/0.5458, allocations: 0.8701 MB / 0.6964 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006172/0.5464, allocations: 184.2 kB / 0.6966 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.5472, allocations: 101 kB / 0.6967 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.5474, allocations: 184.3 kB / 0.6969 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.5474, allocations: 112.8 kB / 0.697 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01306/0.5605, allocations: 7.138 MB / 0.7039 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5605, allocations: 0 / 0.7039 GB, free: 13.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005068/0.5656, allocations: 1.149 MB / 0.7051 GB, free: 12.52 MB / 0.545 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.002142/0.5677, allocations: 1.744 MB / 0.7068 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.5712, allocations: 1.807 MB / 0.7085 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5712, allocations: 0 / 0.7085 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.5712, allocations: 1.688 kB / 0.7085 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/0.5842, allocations: 3.447 MB / 0.7119 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5797/1.164, allocations: 62.44 MB / 0.7729 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/1.169, allocations: 4.825 MB / 0.7776 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005026/1.174, allocations: 2.101 MB / 0.7796 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003799/1.178, allocations: 4.057 MB / 0.7836 GB, free: 98.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.262e-06/1.178, allocations: 0 / 0.7836 GB, free: 98.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2273/1.405, allocations: 162.8 MB / 0.9426 GB, free: 1.309 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.25/41.65, allocations: 11.94 kB / 0.9426 GB, free: 1.297 MB / 0.6232 GB " [Timeout remaining time 618] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 46.21822117106058]