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.001427/0.001427, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001541/0.001541, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2904/0.2904, allocations: 46.89 MB / 357.4 MB, free: 10.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.86 kB / 0.4912 GB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1455, allocations: 66 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01293/0.1584, allocations: 10.41 MB / 0.5658 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008633/0.167, allocations: 3.083 MB / 0.5689 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.1693, allocations: 63.81 kB / 0.5689 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005794/0.1751, allocations: 2.706 MB / 0.5716 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.1785, allocations: 1.066 MB / 0.5726 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.1795, allocations: 267.5 kB / 0.5729 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.1827, allocations: 1.517 MB / 0.5743 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.186, allocations: 2.059 MB / 0.5764 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.1877, allocations: 0.9109 MB / 0.5772 GB, free: 40 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007023/0.1947, allocations: 3.39 MB / 0.5806 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.196, allocations: 192 kB / 0.5807 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.1977, allocations: 279.8 kB / 0.581 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004624/0.2024, allocations: 3.016 MB / 0.5839 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006195/0.2086, allocations: 3.333 MB / 0.5872 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3626/0.5711, allocations: 9.87 MB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5711, allocations: 3.312 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5711, allocations: 1.375 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004889/0.5716, allocations: 0 / 0.5968 GB, free: 14.36 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.02284/0.5945, allocations: 9.11 MB / 0.6057 GB, free: 9.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.5945, allocations: 9.531 kB / 0.6058 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002301/0.5968, allocations: 0.6178 MB / 0.6064 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.5999, allocations: 1.028 MB / 0.6074 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.611, allocations: 3.822 MB / 0.6111 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6112, allocations: 133.2 kB / 0.6112 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/0.6118, allocations: 167.6 kB / 0.6114 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.6249, allocations: 6.601 MB / 0.6178 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.629e-05/0.6249, allocations: 9.406 kB / 0.6178 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.6253, allocations: 79.16 kB / 0.6179 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.6272, allocations: 1.561 MB / 0.6194 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008847/0.636, allocations: 4.129 MB / 0.6235 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/0.6771, allocations: 20.31 MB / 0.6433 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.6789, allocations: 337.3 kB / 0.6436 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.679, allocations: 68.75 kB / 0.6437 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008274/0.6873, allocations: 3.272 MB / 0.6469 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.6874, allocations: 108.4 kB / 0.647 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.865e-06/0.6874, allocations: 0 / 0.647 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.002491/0.6899, allocations: 0.882 MB / 0.6478 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.69, allocations: 126.7 kB / 0.648 GB, free: 15.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02402/0.714, allocations: 10.56 MB / 0.6583 GB, free: 5.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.714, allocations: 25.7 kB / 0.6583 GB, free: 5.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007686/0.7217, allocations: 5.958 MB / 0.6641 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.7219, allocations: 95.89 kB / 0.6642 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.7231, allocations: 0.8222 MB / 0.665 GB, free: 14.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7233, allocations: 302.7 kB / 0.6653 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.7245, allocations: 0.7616 MB / 0.666 GB, free: 13.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/0.7287, allocations: 4.001 MB / 0.67 GB, free: 7.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006336/0.735, allocations: 5.201 MB / 0.675 GB, free: 1.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.7351, allocations: 35.94 kB / 0.6751 GB, free: 1.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01166/0.7468, allocations: 4.966 MB / 0.6799 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.7469, allocations: 56 kB / 0.68 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/0.7471, allocations: 116 kB / 0.6801 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.7472, allocations: 156 kB / 0.6802 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.7501, allocations: 0.9864 MB / 0.6812 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002019/0.7503, allocations: 229.1 kB / 0.6814 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/0.7558, allocations: 0.6124 MB / 0.682 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/0.7565, allocations: 292 kB / 0.6823 GB, free: 10.08 MB / 0.4981 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.007192/0.7637, allocations: 3.413 MB / 0.6856 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/0.7661, allocations: 0.9483 MB / 0.6865 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.7693, allocations: 1.027 MB / 0.6875 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.049e-05/0.7694, allocations: 176.3 kB / 0.6877 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.896e-05/0.7694, allocations: 180.3 kB / 0.6879 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/0.7695, allocations: 184.2 kB / 0.6881 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.784, allocations: 5.135 MB / 0.6931 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/0.7841, allocations: 107.3 kB / 0.6932 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.7841, allocations: 105 kB / 0.6933 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.7842, allocations: 184.3 kB / 0.6935 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.7843, allocations: 184.2 kB / 0.6936 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.148e-05/0.7844, allocations: 176.3 kB / 0.6938 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.838e-05/0.7845, allocations: 184.2 kB / 0.694 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.7871, allocations: 1.203 MB / 0.6952 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/0.7906, allocations: 0.947 MB / 0.6961 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/0.7926, allocations: 180.3 kB / 0.6962 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/0.795, allocations: 108.9 kB / 0.6964 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.7951, allocations: 176.3 kB / 0.6965 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.7951, allocations: 108.2 kB / 0.6966 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01675/0.8119, allocations: 7.142 MB / 0.7036 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8119, allocations: 0 / 0.7036 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006686/0.8186, allocations: 1.143 MB / 0.7047 GB, free: 2.914 MB / 0.5137 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.002995/0.8215, allocations: 1.744 MB / 0.7064 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003756/0.8253, allocations: 1.804 MB / 0.7082 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8253, allocations: 0 / 0.7082 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.8253, allocations: 0 / 0.7082 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/0.8421, allocations: 3.452 MB / 0.7115 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1484/0.9905, allocations: 62.45 MB / 0.7725 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/1.005, allocations: 5.277 MB / 0.7777 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008323/1.013, allocations: 2.102 MB / 0.7797 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007912/1.021, allocations: 4.058 MB / 0.7837 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.844e-06/1.021, allocations: 0 / 0.7837 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5763/1.597, allocations: 154.8 MB / 0.9349 GB, free: 167.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.26/40.86, allocations: 7.391 kB / 0.9349 GB, free: 167.9 MB / 0.6544 GB " [Timeout remaining time 619] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 44.90774684911594]