Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001727/0.001727, 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.002171/0.002171, 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.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 59.91 kB / 0.4885 GB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1345, allocations: 65.42 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01273/0.1472, allocations: 10.42 MB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007639/0.1549, allocations: 3.079 MB / 0.5656 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.157, allocations: 79.62 kB / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.163, allocations: 2.706 MB / 0.5683 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.1666, allocations: 1.066 MB / 0.5694 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1678, allocations: 263.6 kB / 0.5696 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003512/0.1713, allocations: 1.517 MB / 0.5711 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.1746, allocations: 2.063 MB / 0.5731 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.1767, allocations: 0.9265 MB / 0.574 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/0.1818, allocations: 3.39 MB / 0.5773 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008298/0.1827, allocations: 188 kB / 0.5775 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1838, allocations: 275.8 kB / 0.5778 GB, free: 88 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00328/0.1871, allocations: 3.008 MB / 0.5807 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005087/0.1922, allocations: 3.341 MB / 0.584 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5673/0.7595, allocations: 9.872 MB / 0.5936 GB, free: 16.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.7595, allocations: 0.75 kB / 0.5936 GB, free: 16.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7595, allocations: 0.5312 kB / 0.5936 GB, free: 16.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003683/0.7599, allocations: 0 / 0.5936 GB, free: 16.13 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.01917/0.7791, allocations: 9.116 MB / 0.6025 GB, free: 11.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.7791, allocations: 9.75 kB / 0.6025 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002429/0.7794, allocations: 76.38 kB / 0.6026 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001778/0.7811, allocations: 0.6172 MB / 0.6032 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.784, allocations: 1.024 MB / 0.6042 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009423/0.7934, allocations: 3.824 MB / 0.6079 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.7935, allocations: 135.5 kB / 0.6081 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.794, allocations: 166.8 kB / 0.6082 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.806, allocations: 6.609 MB / 0.6147 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/0.806, allocations: 5.531 kB / 0.6147 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.8062, allocations: 73.08 kB / 0.6148 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002129/0.8083, allocations: 1.56 MB / 0.6163 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00894/0.8173, allocations: 4.127 MB / 0.6203 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03371/0.851, allocations: 20.31 MB / 0.6401 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8527, allocations: 341.2 kB / 0.6405 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.8529, allocations: 60.83 kB / 0.6405 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/0.8594, allocations: 3.272 MB / 0.6437 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/0.8595, allocations: 112.7 kB / 0.6438 GB, free: 3.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.8595, allocations: 0 / 0.6438 GB, free: 3.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001867/0.8613, allocations: 0.8863 MB / 0.6447 GB, free: 3.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.8614, allocations: 130.7 kB / 0.6448 GB, free: 2.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02193/0.8833, allocations: 10.55 MB / 0.6551 GB, free: 8.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.8834, allocations: 29.7 kB / 0.6552 GB, free: 8.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008061/0.8914, allocations: 5.956 MB / 0.661 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.8916, allocations: 91.91 kB / 0.6611 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.8927, allocations: 0.8261 MB / 0.6619 GB, free: 1.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8929, allocations: 305.1 kB / 0.6622 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.894, allocations: 0.7645 MB / 0.6629 GB, free: 420 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/0.8981, allocations: 3.997 MB / 0.6668 GB, free: 10.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006777/0.9048, allocations: 5.196 MB / 0.6719 GB, free: 4.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.905, allocations: 41.34 kB / 0.6719 GB, free: 4.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01078/0.9157, allocations: 4.966 MB / 0.6768 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.9158, allocations: 58.03 kB / 0.6768 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.916, allocations: 118.2 kB / 0.6769 GB, free: 15.58 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.9161, allocations: 152 kB / 0.6771 GB, free: 15.43 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.9188, allocations: 0.9902 MB / 0.678 GB, free: 14.44 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.919, allocations: 227.1 kB / 0.6783 GB, free: 14.22 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/0.9237, allocations: 0.6192 MB / 0.6789 GB, free: 13.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/0.9241, allocations: 284 kB / 0.6791 GB, free: 13.32 MB / 0.4982 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.005528/0.9297, allocations: 3.409 MB / 0.6825 GB, free: 9.906 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/0.9317, allocations: 0.956 MB / 0.6834 GB, free: 8.938 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.9341, allocations: 1.019 MB / 0.6844 GB, free: 7.91 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/0.9342, allocations: 180.2 kB / 0.6846 GB, free: 7.727 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.163e-05/0.9343, allocations: 188.2 kB / 0.6847 GB, free: 7.535 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/0.9343, allocations: 176.3 kB / 0.6849 GB, free: 7.355 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.9444, allocations: 5.134 MB / 0.6899 GB, free: 2.152 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.243e-05/0.9444, allocations: 106.3 kB / 0.69 GB, free: 2.043 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.9445, allocations: 101 kB / 0.6901 GB, free: 1.938 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.632e-05/0.9446, allocations: 180.2 kB / 0.6903 GB, free: 1.754 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.9447, allocations: 184.3 kB / 0.6905 GB, free: 1.566 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.9447, allocations: 184.2 kB / 0.6907 GB, free: 1.379 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.272e-05/0.9448, allocations: 184 kB / 0.6908 GB, free: 1.195 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.947, allocations: 1.2 MB / 0.692 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/0.9492, allocations: 0.9519 MB / 0.6929 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/0.9505, allocations: 180.3 kB / 0.6931 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.9519, allocations: 108.9 kB / 0.6932 GB, free: 14.69 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.952, allocations: 183.2 kB / 0.6934 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.952, allocations: 104.9 kB / 0.6935 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01491/0.9669, allocations: 7.144 MB / 0.7005 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9669, allocations: 4 kB / 0.7005 GB, free: 7.301 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006151/0.9731, allocations: 1.141 MB / 0.7016 GB, free: 6.156 MB / 0.5138 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.002835/0.9759, allocations: 1.744 MB / 0.7033 GB, free: 4.375 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.00359/0.9795, allocations: 1.799 MB / 0.705 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9795, allocations: 0 / 0.705 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.9795, allocations: 5.688 kB / 0.705 GB, free: 2.598 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/0.9964, allocations: 3.451 MB / 0.7084 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/1.125, allocations: 62.46 MB / 0.7694 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009456/1.135, allocations: 5.273 MB / 0.7746 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006932/1.142, allocations: 2.098 MB / 0.7766 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006296/1.148, allocations: 4.057 MB / 0.7806 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of SimCode: time 1.763e-06/1.148, allocations: 0 / 0.7806 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5334/1.682, allocations: 154.9 MB / 0.9319 GB, free: 174 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.83/45.51, allocations: 0 / 0.9319 GB, free: 174 MB / 0.6544 GB " [Timeout remaining time 614] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 50.368820883042645]