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.001391/0.001391, allocations: 119.4 kB / 17.79 MB, free: 5.133 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.001595/0.001595, allocations: 216.2 kB / 20.75 MB, free: 2.18 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.233/0.233, allocations: 46.93 MB / 357.1 MB, free: 10.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.4909 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.138, allocations: 65.99 MB / 0.5554 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01319/0.1512, allocations: 10.41 MB / 0.5655 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.1592, allocations: 3.079 MB / 0.5685 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.1615, allocations: 79.62 kB / 0.5686 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.1677, allocations: 2.706 MB / 0.5713 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.171, allocations: 1.07 MB / 0.5723 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.1719, allocations: 259.5 kB / 0.5726 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.1747, allocations: 1.521 MB / 0.574 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.178, allocations: 2.059 MB / 0.576 GB, free: 500 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.1799, allocations: 0.9343 MB / 0.577 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/0.1849, allocations: 3.39 MB / 0.5803 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007547/0.1856, allocations: 188 kB / 0.5805 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1868, allocations: 279.8 kB / 0.5807 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003248/0.19, allocations: 3.004 MB / 0.5837 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004652/0.1947, allocations: 3.333 MB / 0.5869 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2893/0.4839, allocations: 9.88 MB / 0.5966 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.484, allocations: 0 / 0.5966 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.484, allocations: 0 / 0.5966 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004313/0.4844, allocations: 0 / 0.5966 GB, free: 14.27 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.02022/0.5046, allocations: 9.111 MB / 0.6055 GB, free: 9.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.5047, allocations: 12.91 kB / 0.6055 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001993/0.5067, allocations: 0.6186 MB / 0.6061 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.5092, allocations: 1.026 MB / 0.6071 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009117/0.5183, allocations: 3.824 MB / 0.6108 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5185, allocations: 131.6 kB / 0.6109 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.5189, allocations: 167.3 kB / 0.6111 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.5321, allocations: 6.604 MB / 0.6175 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.79e-05/0.5321, allocations: 8.688 kB / 0.6175 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005784/0.5327, allocations: 75.16 kB / 0.6176 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/0.5344, allocations: 1.558 MB / 0.6191 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.543, allocations: 4.135 MB / 0.6232 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/0.581, allocations: 20.3 MB / 0.643 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.5828, allocations: 343.2 kB / 0.6433 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.583, allocations: 64.75 kB / 0.6434 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00742/0.5904, allocations: 3.281 MB / 0.6466 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/0.5904, allocations: 105.8 kB / 0.6467 GB, free: 368 kB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.5905, allocations: 0 / 0.6467 GB, free: 368 kB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.002324/0.5928, allocations: 0.8828 MB / 0.6476 GB, free: 15.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.5929, allocations: 130.4 kB / 0.6477 GB, free: 15.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02786/0.6208, allocations: 10.55 MB / 0.658 GB, free: 4.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6208, allocations: 31.12 kB / 0.658 GB, free: 4.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008846/0.6297, allocations: 5.949 MB / 0.6638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.6299, allocations: 95.89 kB / 0.6639 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/0.6319, allocations: 0.8222 MB / 0.6647 GB, free: 13.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.632, allocations: 312.9 kB / 0.665 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.6336, allocations: 0.7577 MB / 0.6658 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.6384, allocations: 3.991 MB / 0.6697 GB, free: 7.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.6452, allocations: 5.205 MB / 0.6747 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.642e-05/0.6453, allocations: 32 kB / 0.6748 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01097/0.6562, allocations: 4.968 MB / 0.6796 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.6564, allocations: 57.97 kB / 0.6797 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/0.6565, allocations: 124 kB / 0.6798 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.6567, allocations: 148 kB / 0.6799 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.6595, allocations: 0.9863 MB / 0.6809 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002054/0.6597, allocations: 227.1 kB / 0.6811 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/0.6643, allocations: 0.6182 MB / 0.6817 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005995/0.6649, allocations: 284 kB / 0.682 GB, free: 9.891 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.006332/0.6713, allocations: 3.405 MB / 0.6853 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/0.6733, allocations: 0.956 MB / 0.6863 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.676, allocations: 1.024 MB / 0.6873 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.151e-05/0.6761, allocations: 176.3 kB / 0.6874 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/0.6762, allocations: 192.2 kB / 0.6876 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.799e-05/0.6763, allocations: 177.9 kB / 0.6878 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.6916, allocations: 5.134 MB / 0.6928 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.243e-05/0.6916, allocations: 105 kB / 0.6929 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.6917, allocations: 101.9 kB / 0.693 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.6918, allocations: 188.2 kB / 0.6932 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.6919, allocations: 180.3 kB / 0.6933 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-05/0.692, allocations: 184.2 kB / 0.6935 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001068/0.6921, allocations: 176.3 kB / 0.6937 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.6943, allocations: 1.205 MB / 0.6949 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/0.6972, allocations: 0.949 MB / 0.6958 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/0.699, allocations: 188.8 kB / 0.696 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/0.7012, allocations: 105 kB / 0.6961 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.7013, allocations: 180.2 kB / 0.6962 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.7014, allocations: 104.9 kB / 0.6963 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01882/0.7202, allocations: 7.142 MB / 0.7033 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7202, allocations: 0 / 0.7033 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006562/0.7267, allocations: 1.141 MB / 0.7044 GB, free: 2.723 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.002792/0.7295, allocations: 1.752 MB / 0.7061 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.7332, allocations: 1.804 MB / 0.7079 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7332, allocations: 0 / 0.7079 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.7332, allocations: 3.938 kB / 0.7079 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01739/0.7506, allocations: 3.447 MB / 0.7113 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1441/0.8947, allocations: 62.46 MB / 0.7723 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/0.9078, allocations: 5.278 MB / 0.7774 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008406/0.9162, allocations: 2.094 MB / 0.7795 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007816/0.924, allocations: 4.065 MB / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of SimCode: time 1.643e-06/0.924, allocations: 0 / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5315/1.456, allocations: 154.9 MB / 0.9347 GB, free: 167.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.12/38.57, allocations: 0.6562 kB / 0.9347 GB, free: 167.6 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 42.55027596396394]