Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 230.6 MB / 254.8 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 46.93 MB / 357.8 MB, free: 10.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 67.91 kB / 0.4916 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 65.99 MB / 0.5561 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01388/0.1555, allocations: 10.41 MB / 0.5662 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008401/0.1639, allocations: 3.079 MB / 0.5692 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.1659, allocations: 79.69 kB / 0.5693 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005764/0.1717, allocations: 2.714 MB / 0.572 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.1751, allocations: 1.058 MB / 0.573 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/0.176, allocations: 267.5 kB / 0.5732 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.1789, allocations: 1.513 MB / 0.5747 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.1823, allocations: 2.059 MB / 0.5767 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1842, allocations: 0.9226 MB / 0.5776 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005123/0.1893, allocations: 3.398 MB / 0.5809 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007835/0.1901, allocations: 184 kB / 0.5811 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1912, allocations: 283.8 kB / 0.5814 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003201/0.1944, allocations: 3.004 MB / 0.5843 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004353/0.1988, allocations: 3.337 MB / 0.5876 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3157/0.5145, allocations: 9.874 MB / 0.5972 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.5145, allocations: 0 / 0.5972 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5145, allocations: 1.281 kB / 0.5972 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005599/0.5151, allocations: 0 / 0.5972 GB, free: 14.32 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.02701/0.5421, allocations: 9.112 MB / 0.6061 GB, free: 9.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.5422, allocations: 9.25 kB / 0.6061 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002587/0.5424, allocations: 76.38 kB / 0.6062 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002061/0.5445, allocations: 0.6207 MB / 0.6068 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.5474, allocations: 1.025 MB / 0.6078 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00985/0.5572, allocations: 3.822 MB / 0.6116 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.5574, allocations: 136.6 kB / 0.6117 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.5578, allocations: 165.1 kB / 0.6118 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.5715, allocations: 6.603 MB / 0.6183 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.5715, allocations: 9.312 kB / 0.6183 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.5718, allocations: 77.78 kB / 0.6184 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001931/0.5737, allocations: 1.561 MB / 0.6199 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009095/0.5828, allocations: 4.132 MB / 0.6239 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04081/0.6236, allocations: 20.3 MB / 0.6438 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.6254, allocations: 346.2 kB / 0.6441 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.6255, allocations: 60.81 kB / 0.6441 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008192/0.6337, allocations: 3.278 MB / 0.6473 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/0.6338, allocations: 109.8 kB / 0.6475 GB, free: 296 kB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.6338, allocations: 0 / 0.6475 GB, free: 296 kB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.002624/0.6364, allocations: 0.8785 MB / 0.6483 GB, free: 15.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6365, allocations: 126.7 kB / 0.6484 GB, free: 15.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02742/0.6639, allocations: 10.56 MB / 0.6587 GB, free: 4.766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.664, allocations: 25.7 kB / 0.6588 GB, free: 4.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008311/0.6723, allocations: 5.954 MB / 0.6646 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.6725, allocations: 99.89 kB / 0.6647 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.6738, allocations: 0.8183 MB / 0.6655 GB, free: 13.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.674, allocations: 306.6 kB / 0.6658 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.6752, allocations: 0.764 MB / 0.6665 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004089/0.6793, allocations: 4.003 MB / 0.6704 GB, free: 7.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006532/0.6858, allocations: 5.198 MB / 0.6755 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.834e-05/0.6859, allocations: 36 kB / 0.6755 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0112/0.6971, allocations: 4.965 MB / 0.6804 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6972, allocations: 56 kB / 0.6804 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/0.6974, allocations: 120 kB / 0.6806 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.6976, allocations: 152 kB / 0.6807 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.7005, allocations: 0.9786 MB / 0.6817 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002169/0.7007, allocations: 229.2 kB / 0.6819 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/0.7059, allocations: 0.6162 MB / 0.6825 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007355/0.7066, allocations: 286.8 kB / 0.6827 GB, free: 9.832 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.007163/0.7138, allocations: 3.409 MB / 0.6861 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002662/0.7165, allocations: 0.9599 MB / 0.687 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.7195, allocations: 1.027 MB / 0.688 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.429e-05/0.7196, allocations: 176.3 kB / 0.6882 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001571/0.7197, allocations: 180.2 kB / 0.6884 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/0.7198, allocations: 187.3 kB / 0.6885 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.733, allocations: 5.127 MB / 0.6935 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.599e-05/0.7331, allocations: 117.6 kB / 0.6937 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.7331, allocations: 101 kB / 0.6937 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.244e-05/0.7332, allocations: 184.2 kB / 0.6939 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.7333, allocations: 176.3 kB / 0.6941 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.528e-05/0.7334, allocations: 188.2 kB / 0.6943 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.259e-05/0.7335, allocations: 181.7 kB / 0.6944 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.7357, allocations: 1.207 MB / 0.6956 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/0.738, allocations: 0.9453 MB / 0.6965 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/0.7393, allocations: 180.3 kB / 0.6967 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.7409, allocations: 104.9 kB / 0.6968 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.7409, allocations: 188.2 kB / 0.697 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.741, allocations: 104.9 kB / 0.6971 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01595/0.7569, allocations: 7.138 MB / 0.7041 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7569, allocations: 0 / 0.7041 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006054/0.763, allocations: 1.143 MB / 0.7052 GB, free: 2.66 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.002733/0.7657, allocations: 1.744 MB / 0.7069 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003593/0.7693, allocations: 1.804 MB / 0.7087 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7693, allocations: 0 / 0.7087 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.7693, allocations: 4 kB / 0.7087 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01711/0.7865, allocations: 3.45 MB / 0.712 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1368/0.9233, allocations: 62.46 MB / 0.773 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/0.9375, allocations: 5.281 MB / 0.7782 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00895/0.9465, allocations: 2.094 MB / 0.7802 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008075/0.9545, allocations: 4.06 MB / 0.7842 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.505e-06/0.9545, allocations: 0 / 0.7842 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5196/1.474, allocations: 154.9 MB / 0.9355 GB, free: 167.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.93/38.4, allocations: 14.11 kB / 0.9355 GB, free: 167.5 MB / 0.6544 GB " [Timeout remaining time 621] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 43.15856266202172]